
Description
ChartDB is a database diagram editor that lets you visualize and design a database's schema. Its site says you can get a diagram from one query: you run a single query against your database and the editor draws the entity-relationship diagram, which you can then edit. The workflow is import, edit and export. You can export the schema as clean DDL scripts in the SQL dialect you choose, and keep a diagram in sync with a live database. The site also offers real-time team collaboration, where teammates can view and edit a diagram together, schema migration support, and embeddable diagrams. An AI agent can generate an editable ER diagram from a text prompt. ChartDB is offered as a cloud service that runs in the browser, which the site says needs no credit card to start and does not need access to the database for the cloud diagram. It is also available self-hosted, through the open-source code, which the site says gives full control of data and setup. The project is free and open source, released under the AGPL-3.0 license, and it runs on Node.js or Docker. It suits developers and data teams who want to understand or design a schema without drawing it by hand.…
Highlights
- Diagram from a single database query
- Edit, then export SQL DDL
- Real-time team collaboration
- Cloud or self-hosted, AGPL-3.0
Ratings & Reviews
No ratings yet
Be the first to rate ChartDB.
People also visit
ChartDB FAQ
What is ChartDB?
A database diagram editor that visualizes and designs a database schema, using a single query to pull in the structure.
Is it free?
Yes. The site describes ChartDB as free and open source, released under the AGPL-3.0 license, and offers a cloud version as well as self-hosting.
Does it need access to my database?
The site says the cloud diagram works without database access, and the diagram comes from one query you run.
What can I export?
Clean DDL scripts in your preferred SQL dialect, from the editor.
How do I run it myself?
The project runs on Node.js or Docker, and its source code is on GitHub at chartdb/chartdb.
What are the best ChartDB alternatives?
Popular alternatives to ChartDB include drawDB, Liam ERD and SQL Designer. See all ChartDB alternatives




