
ChartDB
Free open source database diagram editor and visualizer
Replaces Sqldbm, Redgate Data Modeler, Lucidchart

Who it's for
ChartDB helps developers understand table relationships during onboarding, refactors, and migration planning.
Skip if your database is tiny or your ORM already generates enough diagrams.
Visual schema maps help analysts discuss tables and joins without direct admin access.
Skip if you need BI dashboards rather than schema documentation.
The problem
Database diagrams go stale quickly when teams maintain them by hand in generic drawing tools. Schema changes land in migrations, but documentation lives elsewhere, so onboarding developers and analysts see diagrams that no longer match production. The problem is not drawing shapes; it is keeping schema understanding close to the actual database. Developers need diagrams that understand tables, columns, relationships, and exports without forcing every change through a manual design canvas.
How it works
ChartDB focuses on diagrams derived from database structure, making ERDs easier to keep aligned with real schemas.
Teams can inspect and arrange schema relationships visually instead of reading only migration files or SQL dumps.
ChartDB supports sharing schema diagrams with teammates who need to review data models without connecting directly to production.
Features
- Database schema visualization
- Editable diagram workspace
- Export and sharing workflows
Recommended for this setup
Strengths
- Database-aware alternative to generic diagramming: ChartDB is stronger than Lucidchart for ERDs because the workflow centers on schema structure instead of freeform drawing.
- Open source control for schema docs: The AGPL-3.0 codebase gives teams a self-hostable path for sensitive database structure documentation.
Trade-offs
- Not a full database IDE: ChartDB helps visualize and document schema, but it does not replace query workbenches, migration tools, or production database administration.
- Sensitive metadata needs careful handling: Schema names can reveal product and customer concepts, so teams should treat hosted or shared diagrams as sensitive assets.
Tech stack
FAQ
Yes. ChartDB is open source under the AGPL-3.0 license.
ChartDB can replace Lucidchart for database schema diagrams, but Lucidchart remains broader for general business diagrams.
No. ChartDB is for schema visualization and documentation, not full query editing or database administration.