DbSchema draws the tables of a database and the relationships between them as an interactive ER diagram. Connect to a database you already run and DbSchema reverse-engineers it into a diagram, or start on an empty canvas and design the schema first.
Runs on Windows, macOS and Linux, over 100 SQL and NoSQL databases. The free Community edition draws diagrams with no table limit and no expiry.
Point DbSchema at a live database and it reads the catalog, then draws the tables and the foreign key lines automatically. An inherited schema becomes readable before you write a query against it. Available in the free Community edition.
Right-click the canvas, choose New Table, and build the schema from nothing. Drag from a column in the child table to the parent column and DbSchema draws the foreign key. Designing without a connection open and saving the result to a file are DbSchema Pro.
Free diagram tools usually cap the number of tables, expire, or draw a picture that has no connection to a database. The DbSchema Community edition reads a live schema, draws it, and keeps working at no cost. The table below shows which side of the line each capability sits on before you install anything.
| Capability | Community | Pro | Architect |
|---|---|---|---|
| All supported databases | Yes | Yes | Yes |
| Connect and reverse engineer | Yes | Yes | Yes |
| Interactive ER diagrams | Yes | Yes | Yes |
| Create tables and columns | Yes | Yes | Yes |
| SQL editor | Yes | Yes | Yes |
| HTML5, PDF and Markdown documentation | No | Yes | Yes |
| Visual query builder | No | Yes | Yes |
| Design offline and save to file | No | Yes | Yes |
| Schema synchronization | No | Yes | Yes |
| Relational data browse | No | Yes | Yes |
| Data generator and data importer | No | Yes | Yes |
| Logical and conceptual design | No | No | Yes |
The Pro features run for 15 days on the same installation, so the boundary costs nothing to try. Read the longer answer in what a free database design tool can actually do.
DbSchema reads over 100 SQL and NoSQL engines through their JDBC drivers, which it downloads on the first connection. For a document store such as MongoDB, DbSchema infers the structure from a sample of documents and draws collections and their fields the same way it draws tables.
The universal installer supports both Community and Pro Editions.