SQLite Database Design Tools Compared in 2026
Four tools for a SQLite file compared: which one draws the schema, which one keeps the design, and what each costs.
On this page
Words in this article
Words in this article
- SQLite
- A database that lives in one file on your disk, with no server.
- Schema
- The structure of a database: its tables, columns and the links between them.
- ER diagram
- A drawing of the tables as boxes and their links as lines.
- Reverse-engineer
- Read an existing database and draw its tables as a diagram.
- Foreign key
- A column that points to a row in another table.
- Virtual foreign key
- A link that exists only in the DbSchema model, never in the database file.
- Model
- DbSchema's own copy of the design, saved in a .dbs file.
- Git
- The tool developers use to keep the history of their code files.
- Synchronization
- Comparing the model with the database and choosing which side to update.
The short answer
SQLite is a database that lives in a single file, with no server. A project often hands you such a file without any drawing of its schema. The schema is the structure of the database: its tables, columns and the links between them. Three tools fit three different jobs:
Design and keep the schema
DbSchema draws the database as a diagram and keeps the design in a separate file.
Browse and edit rows
DB Browser for SQLite gives you a free grid over the tables.
A portable free manager
Letos runs without installing and has a free diagram editor.
What DbSchema adds to a SQLite file
Why DbSchema
Four words explain this block. An ER diagram draws the tables as boxes and their links as lines. To reverse-engineer means to read an existing database and draw that diagram from it. The model is DbSchema's own copy of the design, saved in a .dbs file. Synchronization compares the model with the SQLite file. DbSchema comes in three editions. Community is free, Pro adds the saved model and synchronization, and Architect adds design before a database exists. Reverse-engineering and the diagram are free in Community.
The database as a diagram
DbSchema reads the tables, columns and links of the SQLite file and draws them as an ER diagram.
Links the file never declared
You add missing links as virtual foreign keys. Model → Find Virtual Foreign Keys suggests them from matching column names.
A design you can review
The model is a file you commit to Git beside your code. Each schema change is then reviewed like code.
Model and database in step
Schema synchronization lists each difference between the model and the SQLite file. You choose which side to update.
Then, in DbSchema:ER diagramVirtual foreign keysModel in GitSynchronization
The shortlist of SQLite design tools
Four tools come up for SQLite:
- DbSchema reads a SQLite file into an editable diagram and keeps the design in its model.
- DB Browser for SQLite shows the tables of a file in a grid, like a spreadsheet.
- Letos, formerly called SQLiteStudio, is a free desktop manager with a diagram editor.
- DBeaver is a client for many databases that also opens SQLite.
The four tools serve two jobs. The first job is browsing and fixing data in a file you already have. A grid is enough for that. The second job is designing the schema, keeping its history, and rolling changes out to the file. That job needs a model that exists apart from the SQLite file. You can open the model with no database, compare two versions of it, and send it to a colleague for review. This comparison is about the second job.
How each tool handles a SQLite schema
A foreign key is a column that points to a row in another table. SQLite does not check foreign keys by default. A connection is one program's open session with the database file. Each connection must switch the checks on itself[1]. It does so with a PRAGMA, SQLite's command for reading or changing a setting. Many SQLite files also never declare some of their links at all. We ran this on SQLite 3.54.0:
CREATE TABLE customers (id INTEGER PRIMARY KEY, name TEXT);
CREATE TABLE orders (id INTEGER PRIMARY KEY, customer_id INTEGER REFERENCES customers(id));
CREATE TABLE invoices (id INTEGER PRIMARY KEY, order_id INTEGER);
PRAGMA foreign_keys;
INSERT INTO orders VALUES (10, 99);
PRAGMA foreign_key_list(invoices);
Result · SQLite 3.54.0
| Statement | Result |
|---|---|
| PRAGMA foreign_keys | 0 (checks are off) |
| INSERT INTO orders VALUES (10, 99) | accepted, though customer 99 does not exist |
| PRAGMA foreign_key_list(invoices) | no rows: the file declares no link |
The invoices.order_id column clearly points to orders, but the file does not say so. A tool that only reads the file draws no line there.
In DbSchema you draw that missing link as a virtual foreign key. A virtual foreign key exists only in the model. DbSchema never writes it into the SQLite file[2]. The diagram shows it in another color. The Query Builder builds a query when you click tables and columns. The Data Explorer opens a row together with its linked rows. Both tools follow a virtual foreign key like a declared one, and both are in Pro.
While DbSchema is connected, each change you confirm with OK runs in the SQLite file at once. Offline, your changes stay in the model, and the file does not change[3]. When you connect again, synchronization lists each difference between the model and the SQLite file. You choose which side to update.
The other three tools edit the SQLite file itself and keep no separate model:
- DB Browser for SQLite creates, searches and edits SQLite files in a spreadsheet-like view. It also runs SQL and imports and exports CSV, the plain-text table format. It runs on Windows, macOS and Linux[4]. Its site names no diagram feature.
- Letos runs from an unpacked folder with nothing to install[5]. Its diagram editor draws a diagram from an existing database and can apply changes back to it[6].
- DBeaver opens ER diagrams read-only by default, so you can look but not change the tables. In Edit mode, DBeaver turns diagram changes into an SQL script that you review and run[7].
| Tool | Diagram | Model kept apart from the file | Compare model and file |
|---|---|---|---|
| DbSchema | Editable, with virtual foreign keys | Yes, in Git (Pro) | Yes, synchronization (Pro) |
| DB Browser for SQLite | No | No | No |
| Letos | Diagram editor | No | No |
| DBeaver | Read-only, Edit mode available | No | No |
We read each tool's own site on 15 November 2026.
What each tool costs
DbSchema Community is free with no time limit. It includes the SQL editor, where you type and run queries[8]. Pro is a perpetual licence: you pay once and keep using your version. Updates stop after the first year unless you renew them for 75.00 USD a year.
| Product | Price | What you get |
|---|---|---|
| DbSchema Community | Free | Connect, reverse-engineer, diagram, SQL editor |
| DbSchema Pro | 294.00 USD once | Saved model, synchronization, documentation, data tools |
| DB Browser for SQLite | Free, open source | Grid editing, SQL, CSV import and export |
| Letos | Free, GPL licence | Portable manager, diagram editor, scripting |
| DBeaver | Community free; PRO is a yearly subscription | Many databases in one client; PRO has a 14-day trial[9] |
GPL is a free-software licence: anyone may use and share the program. The DbSchema figures are the Business prices on the pricing page, the tab for companies, checked 15 November 2026. Architect costs 470.40 USD. It adds logical design, which means planning entities and their links before you pick a database.
Who each SQLite tool is for
You write the application that owns the SQLite file? Then DbSchema fits, because the model goes into Git with your code.
You only look at rows in a file another program produced? DB Browser for SQLite is enough. For rows spread across linked tables, DbSchema's Data Explorer helps.
You need a free tool you can run from a USB stick? Then Letos fits. You work with many database products besides SQLite? DbSchema and DBeaver both connect to many of them.
SQLite or MySQL behind the schema
The engine, meaning the database product that stores the data, shapes the design more than the tool does. SQLite is a library inside your program. It reads and writes one file directly, with no server process[10]. That removes the network trip on every query, which makes SQLite fast for local work. Old speed tests between SQLite and MySQL are kept only as history, because they ran on long-outdated versions[11].
| Workload | Engine that suits it | Why |
|---|---|---|
| Local reads in one program | SQLite | No server between the query and the file |
| Many clients writing at once | MySQL | It locks single rows, so writers rarely wait for each other |
| A shared database behind several web servers | MySQL | One server, many connections |
When a project outgrows SQLite, Model → Convert Model makes a new model for another database, such as MySQL or PostgreSQL. The original model stays as it is[12]. Keeping the design in a model makes this move possible.
Open your SQLite file in DbSchema
-
Start a new model Community
Choose File → New Model. Keep Connect to Database selected.
-
Pick SQLite and your file
Click SQLite, choose New Connection, and point the connection dialog at your
.dbor.sqlitefile. SQLite has no host, port or user to fill in. -
Reverse-engineer the tables
DbSchema opens the Reverse Engineer the Database dialog. Tick what to import and press Import. DbSchema draws the diagram. Connecting and importing only read the file.
-
Add the missing links
Choose Model → Find Virtual Foreign Keys, or drag a child column onto its parent column and tick Virtual in the dialog.
-
Save the model Pro
Save with File → Save Model to File and commit the
.dbsfile to Git.
Download DbSchema and open your own SQLite file. The Community Edition is enough to see the diagram; Pro keeps the model.
Frequently asked questions
Can DbSchema reverse-engineer a SQLite database?
Yes, in the free Community Edition. Saving the result as a .dbs model file, with its diagrams, virtual foreign keys and comments, needs Pro.
What is the best free SQLite database design tool?
DbSchema Community Edition draws the schema of a SQLite file for free. Letos is a free alternative with a diagram editor.
Why does DbSchema offer virtual foreign keys for SQLite?
Because many SQLite files leave their links undeclared. A virtual foreign key draws such a link in the diagram without changing the file.
Sources
Model your SQLite database visually
DbSchema reverse-engineers a local SQLite file into an interactive ER diagram, adds the links SQLite leaves undeclared as virtual foreign keys, and keeps the model in a file you can put in Git. Diagrams and the SQL editor are in the free Community Edition.