SQL to ER Diagram
Home › Alternatives › vs ChartDB

SQL to ER Diagram vs ChartDB

Both are open-source database diagram tools. ChartDB imports a schema with a single query you run against your database, and adds an AI diagram generator; SQL to ER Diagram reads pasted schema text in many formats and keeps everything in your browser.

Open SQL to ER Diagram →
No signup · nothing uploaded · free and open source (MIT)
ER diagram drawn by SQL to ER Diagram from the Project management example schema: users, projects, tasks, task_assignees, labels, task_labels and task_comments (7 tables, 9 relationships)
Output of SQL to ER Diagram for the Project management example schema: users, projects, tasks, task_assignees, labels, task_labels and task_comments (7 tables, 9 relationships).

At a glance

What it is
SQL to ER Diagram is a free, open-source browser tool that turns a schema you already have into an interactive entity-relationship (ER) diagram.
Input
SQL DDL for PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, Snowflake and BigQuery, plus Prisma, DBML, Mermaid, PlantUML, SQLAlchemy and Sequelize schemas.
Output
An interactive ER diagram you can rearrange, then export as PNG, SVG, Mermaid, DBML or PlantUML, or share as a link.
Cost
Free. MIT-licensed open source. No account or signup.
Privacy
Runs entirely in your browser. The schema is never uploaded, and share links carry the diagram in the URL fragment, which is not sent to a server.
Limits
It never connects to your database itself: you paste schema text, or run one read-only catalog query in your own client and paste the result. There are no accounts, so there is no real-time multi-user editing; diagrams are kept in your browser, as a saved file, or as a share link. Layout stays smooth at around 300 tables.

What ChartDB is

ChartDB is a free and open-source database design editor. It is available as a cloud app in the browser and can also be self-hosted. For each supported database it provides a single query that fetches your entire schema. It advertises an AI diagram generator that turns a description into an editable ER diagram, and exports DDL in your preferred SQL dialect.

See ChartDB for its current features and pricing.

What SQL to ER Diagram is

When to choose which

Choose SQL to ER Diagram when

Choose ChartDB when

What SQL to ER Diagram does not do

FAQ

Are both tools open source?

SQL to ER Diagram is MIT-licensed and its source is on GitHub. ChartDB also describes itself as free and open source; check its repository for the current license.

Does SQL to ER Diagram support team collaboration?

Not in real time. There are no accounts or shared workspaces; you share a diagram by sending a link or a saved file. If your team needs to edit the same saved diagram together, a hosted tool with accounts is the better fit.

Which ER diagram tool does not upload my schema?

SQL to ER Diagram parses and draws the schema entirely in your browser. Nothing is uploaded, and share links carry the diagram in the URL fragment, which is not sent to a server.

Related

This comparison is written by the maintainers of SQL to ER Diagram. It describes other products only in general terms and lists no prices or plan limits, because those change. Check each product’s own site for its current features and pricing. Product names are trademarks of their respective owners.