chartdb

chartdb: Visualize and Edit Database Schemas

ChartDB is a web-based database diagram editor that turns schema data from a single query into an interactive diagram. Edit diagrams and generate migration DDL with AI, or use the editor without an account.

ActiveTypeScriptAGPL-3.0DatabaseWeb AppVisualization
Stars
23k
Forks
1.5k
Stars, last 30 days
+145
Last commit
today
Contributors
67

Our take

Activeregular commits and releases

Health score

48/100

How it is scored
Activity
55
Community
65
Issues
39
Pull requests
33

+145 stars in the last 30 days

  • Slower to merge pull requests than 99% of the projects we track

ChartDB is an actively maintained schema editor with broad database coverage, but AI-assisted exports require inference configuration and its issue queue can take time to clear.

Good fit if

  • You want to visualize or annotate schemas from one of the supported databases.
  • You prefer providing schema JSON rather than connecting the editor directly to a database.
  • You can run a Node.js app or Docker container, and want optional AI-assisted DDL generation.

Look elsewhere if

  • You need a tool for a database not listed as supported.
  • You require AI features without configuring an OpenAI key or a compatible custom inference service.
  • Your project cannot meet the obligations of the AGPL-3.0 license.
All health signals
Last commit2026-11-01 (today)
Commits, last 90 days22
Releases, last 12 months6 (latest v1.21.0, 2026-11-01)
Contributors67 (top contributor: 60% of commits)
Issues closed, last 90 days7 (typically closed in 186 days)
Pull requests merged, last 90 days22 (typically merged in 63 days)
Project age2 years

Checked on 2026-11-02 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

23,163

Forks

1,529

Change since Nov 23, 2026: +7 stars·+2 forks

Overview

ChartDB is a web-based database diagram editor for turning database schema data into a visual model. Its single-query workflow retrieves the schema as JSON, which you paste into the editor, so you can inspect and discuss a database without giving ChartDB a database password. It supports PostgreSQL, MySQL, SQL Server, MariaDB, SQLite, CockroachDB, and ClickHouse, among others.

The editor is aimed at developers and teams who need to understand, document, or adjust a schema visually. It can also use AI to generate DDL for a chosen database dialect, which can help with migration work. The app is available as a hosted service or can be run locally.

Key Features

  • Import schema details as JSON using a database-specific query.
  • Visualize and interactively edit database diagrams, including annotations.
  • Export DDL in a selected dialect with AI assistance.
  • Work with PostgreSQL, MySQL, SQL Server, MariaDB, SQLite, CockroachDB, and ClickHouse.
  • Use the hosted app or build and run the project locally with Node.js or Docker.
  • Configure AI features with an OpenAI API key or a custom inference endpoint and model.

Use Cases

  • Developers can map an existing schema before changing tables or relationships.
  • Teams can create a visual aid for database documentation and design discussions.
  • Engineers planning a database migration can use AI-generated DDL as a starting point for a target dialect.
  • Users working with supported databases can inspect schema structure without setting up a direct database connection to the editor.

What you need

Detected in the repository

  • Node.js (from package.json)
  • A Dockerfile, so it can run in a container
  • Automated checks on GitHub Actions

License in plain words

AGPL-3.0network copyleft

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the license notice
  • Share your changes: yes, the full source, also when people only use it over a network (e.g. as a hosted service)
  • Includes an explicit patent grant from the contributors:

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Run the development server with Node.js:

npm install
npm run dev

See the README for database-specific schema queries, Docker instructions, and AI configuration details.

Considerations

ChartDB is in public beta. Recent commits and releases indicate active development, with contributions from many contributors and no strong dependence on a single contributor. However, issue handling is comparatively slow, so teams should account for delays when relying on project support or fixes. AI export is optional, but it needs an OpenAI API key or a configured custom inference endpoint and model. The project uses the AGPL-3.0 license, which teams should review for their intended use.

Found this useful?

Share it with someone who would like chartdb.