Skip to content
FossShelf
Home / Categories / For Data Engineers

ChartDB

Free open source database diagram editor and visualizer

Replaces Sqldbm, Redgate Data Modeler, Lucidchart

23.13K starsAGPL-3.0reviewed 21 Aug 2025last commit 1 Nov 2026
Screenshot of ChartDB

Who it's for

Backend teams documenting relational schemas

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.

Data teams explaining warehouse models

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

Database schema visualization

ChartDB focuses on diagrams derived from database structure, making ERDs easier to keep aligned with real schemas.

Editable diagram workspace

Teams can inspect and arrange schema relationships visually instead of reading only migration files or SQL dumps.

Export and sharing workflows

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

Languages
TypeScript, CSS, JavaScript, HTML, Dockerfile, Shell
Frameworks
React, React Flow
Databases
MariaDB, MySQL, PostgreSQL, SQLite
Tooling
—

FAQ

Is ChartDB open source?

Yes. ChartDB is open source under the AGPL-3.0 license.

Can ChartDB replace Lucidchart?

ChartDB can replace Lucidchart for database schema diagrams, but Lucidchart remains broader for general business diagrams.

Does ChartDB replace a database client?

No. ChartDB is for schema visualization and documentation, not full query editing or database administration.

Similar tools

More in Data Engineers