Skip to content
aicoolies logo
ChartDB logo

ChartDB

Instant database schema diagrams from a single query

ChartDB is an open-source database diagramming tool that converts SQL queries into instant visual entity-relationship diagrams. It supports PostgreSQL, MySQL, SQL Server, MariaDB, SQLite, CockroachDB, and ClickHouse, enabling database engineers to visualize schemas, plan migrations, and generate DDL scripts across different SQL dialects using AI assistance. Available as a free cloud app at chartdb.io or self-hosted via Docker deployment.

About ChartDB

ChartDB solves the critical problem of database documentation and visualization by enabling engineers to transform raw SQL schemas into intuitive visual diagrams instantly. Users can input a database connection string or JSON schema and receive a rendered entity-relationship diagram within seconds. The tool supports eight major database systems including PostgreSQL, MySQL, SQL Server, MariaDB, SQLite, CockroachDB, and ClickHouse, making it applicable across diverse enterprise infrastructure. The Smart Query feature automates the visualization pipeline, reducing documentation overhead for teams managing complex database architectures.

The platform integrates AI-driven DDL generation, allowing teams to automatically refactor schemas for database migrations. When moving from MySQL to PostgreSQL, for example, ChartDB intelligently converts dialect-specific syntax differences, eliminating manual translation errors. The interactive visual editor supports drag-and-drop table positioning, relationship management, and custom column annotations. Real-time collaboration features enable entire engineering teams to view, edit, and refine diagrams simultaneously across devices, transforming database design into a collaborative cross-functional activity.

Built under the GNU Affero General Public License, ChartDB provides both cloud-hosted and self-hosted deployment options. Self-hosting is accessible to any organization with Docker or Node.js infrastructure. The project has accumulated over twenty-one thousand GitHub stars and active community engagement, signaling production maturity and continued development. Teams requiring data sovereignty or air-gapped environments can deploy locally, while those prioritizing zero-setup convenience use the free cloud version without requiring account registration.

Pricing & Platform Specs

Pricing Summary

ChartDB is open-source under AGPL-3.0 for free self-hosting. Hosted cloud plans include a Free tier, Pro at $19/month for unlimited diagrams and higher limits, and Teams at $59/month for real-time collaboration and AI tools.

full pricing breakdown →

Supported Platforms

Cloud web app + self-hosted via Docker or Node.js

Explore categories, tags & use cases

Universal database tool

DBeaver is a free, open-source universal database GUI and SQL client supporting 100+ engines including PostgreSQL, MySQL, Oracle, SQL Server, SQLite, MongoDB, Cassandra, and Redis. Offers a consistent cross-platform interface for schema browsing, visual query building, SQL execution, data editing, ER diagrams, and data migration between heterogeneous databases, all in a single Java-based desktop app.

freemiumOpen Source

Enterprise RAG framework by Tencent

WeKnora is a Tencent-developed LLM-powered knowledge management and Q&A framework for enterprise document understanding and semantic retrieval. Supports 10+ document formats including PDF, Word, Excel, and images with seamless IM platform integration for WeCom, Feishu, Slack, and Telegram. Offers Quick Q&A mode using RAG pipelines and Intelligent Reasoning mode with ReACT agents for complex multi-step reasoning tasks across organizational knowledge bases.

freemiumOpen Source

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is ChartDB?

ChartDB is an open-source database diagramming tool that converts SQL queries into instant visual entity-relationship diagrams. It supports PostgreSQL, MySQL, SQL Server, MariaDB, SQLite, CockroachDB, and ClickHouse, enabling database engineers to visualize schemas, plan migrations, and generate DDL scripts across different SQL dialects using AI assistance. Available as a free cloud app at chartdb.io or self-hosted via Docker deployment.

Is ChartDB free?

Yes — ChartDB is open source and free to use. ChartDB is open-source under AGPL-3.0 for free self-hosting. Hosted cloud plans include a Free tier, Pro at $19/month for unlimited diagrams and higher limits, and Teams at $59/month for real-time collaboration and AI tools.

Is ChartDB open source?

Yes — ChartDB is open source.

Is ChartDB still maintained?

Yes — ChartDB is active. Its listing was last verified on August 26, 2026.

What are the best ChartDB alternatives?

The first editor-selected ChartDB alternatives are DBeaver, WeKnora.