# ChartDB

> Database diagrams editor that allows you to visualize and design your DB with a single query

Source: https://talira.ai/catalog/chartdb-fcjk6fze
Every listing: https://talira.ai/catalog.md

- Kind: Open core
- Types: Web app
- Categories: [developer tools / database / schema design](https://talira.ai/categories/developer-tools/database/schema-design), [design / diagramming](https://talira.ai/categories/design/diagramming)
- Platforms: web, docker[^4]
- Licence: AGPL-3.0-only[^4][^6]
- Pricing: Free tier, from $25/month[^5]
- Pricing notes: Free: 1 user, 1 database, self-hosted or cloud. ChartDB Cloud Pro US$25/month for one person (100 tables); Teams from US$59 (Basic, 3 users and 5 databases; Growth and Scale tiers); Custom plan through sales. Yearly billing is 'up to 40% off', but yearly prices aren't shown.
- Free tier: yes[^5]
- Self-hostable: yes[^4][^5]
- Cloud hosted: yes[^4][^5]
- SSO: yes[^5]
- SSO tax: SSO only in plans priced by sales (an enterprise plan)
- Backed by: [ChartDB](https://talira.ai/orgs/chartdb.md)

ChartDB is a web-based database diagram editor: you run one "smart query" against your database, paste the JSON it returns, and get an editable entity relationship diagram without giving ChartDB your database password. It supports [PostgreSQL](https://talira.ai/catalog/postgresql-cm55wcnd.md), [MySQL](https://talira.ai/catalog/mysql-dy4scprm.md), SQL Server, [MariaDB](https://talira.ai/catalog/mariadb-server-bxse0j6g.md), [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md) and [Cloudflare D1](https://talira.ai/catalog/cloudflare-d1-a3hjs6en.md), [CockroachDB](https://talira.ai/catalog/cockroachdb-vx5c3n3q.md) and [ClickHouse](https://talira.ai/catalog/clickhouse-x6tr2p66.md), exports SQL, DBML, JSON or an image, and can generate DDL for another dialect with AI, using an OpenAI key or your own OpenAI-compatible endpoint. The editor is open source under AGPL-3.0 and runs from one [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) image with no account. ChartDB Cloud adds paid Pro and Team plans with real-time collaboration, sync with a live database, version history, Snowflake and BigQuery, and SAML SSO on a custom plan.

## Links

- Website: https://chartdb.io/
- GitHub: https://github.com/chartdb/chartdb
- Docs: https://docs.chartdb.io/
- Pricing: https://chartdb.io/pricing

## Ways to install

### On your own server

- [Unraid Community Applications](https://talira.ai/catalog/unraid-community-applications-9jw5an1a.md): <https://ca.unraid.net/apps/chartdb-1yii7ga0amfe4u>[^1]
- [Proxmox VE Helper-Scripts](https://talira.ai/catalog/proxmox-ve-helper-scripts-3h36wtyj.md): <https://community-scripts.org/scripts/chartdb>[^2]

### Hosted for you

- [Railway](https://talira.ai/catalog/railway-mczwyt8g.md): <https://railway.com/deploy/chartdb>[^3]

## Problems it solves

- I joined a team with a 200-table Postgres database and nobody has an up-to-date ER diagram
- generate an entity relationship diagram from an existing database without handing over the password
- visualize my MySQL schema so I can explain it in a design review
- draw a database schema in the browser and export the CREATE TABLE SQL
- migrate a schema from MySQL to PostgreSQL and need the DDL rewritten for the new dialect
- self-hosted dbdiagram.io alternative that runs from a Docker image
- edit a database diagram as DBML and see the tables update
- keep our database documentation diagram in sync with the live schema automatically
- export an ER diagram as an image for our architecture docs
- collaborate on a database design with teammates in real time
- embed a live database diagram in our internal documentation
- a free ERD tool for SQL Server and SQLite that needs no install
- use a local LLM to convert our schema between SQL dialects instead of OpenAI
- see how views depend on tables in our database
- design a new database schema for a side project and get SQL I can run
- diagram our ClickHouse or CockroachDB tables

## Features

- import a schema by running one smart query and pasting its JSON result: no database credentials
- PostgreSQL, MySQL, SQL Server, MariaDB, SQLite, Cloudflare D1, CockroachDB and ClickHouse
- interactive editing of tables, fields, relationships, views and their dependencies, layouts, colors and filters
- export SQL, DBML, diagram JSON or an image
- AI export of DDL in another database dialect, with an OpenAI key or a custom OpenAI-compatible endpoint and model
- single Docker image (ghcr.io/chartdb/chartdb), no account required
- Fathom analytics that can be turned off with DISABLE_ANALYTICS
- ChartDB Cloud Pro: up to 100 tables, interactive DBML editor, schema export and sticky notes
- ChartDB Cloud Team: real-time collaboration, AI assistant, auto-sync with a live database, migrations, change log and versioning, Snowflake and BigQuery, MFA
- custom plan: SAML SSO, user activity log and granular permissions (RBAC)
- free online SQL tools: syntax checker, formatter, text-to-SQL, DBML to SQL and dialect converter

## Ways to run it

### ChartDB (self-hosted)

You run it, AGPL-3.0-only. Price: free.[^4][^5]

Not included:

- real-time collaboration, auto-sync with a live database, change log and versioning, and Snowflake and BigQuery, which the pricing page lists only on hosted plans[^5]

You arrange:

- a server with Docker, or Node.js to build it
- an OpenAI API key or an OpenAI-compatible endpoint for the AI features

Self-hosting docs: https://github.com/chartdb/chartdb/blob/main/README.md

### ChartDB Cloud

Hosted by ChartDB. Price: Free; Pro US$25/month for one person; Teams from US$59; Custom through sales.[^5]

Only in this edition:

- hosting by ChartDB
- real-time collaboration, auto-sync, versioning, Snowflake and BigQuery on Team
- SAML SSO, activity log and RBAC on Custom

Pricing: https://chartdb.io/pricing

## Capabilities

- Has single sign-on: Custom plan, priced by sales[^5]

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- has a company behind it

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [drawDB](https://talira.ai/catalog/drawdb-cat92qsp.md): Free, simple, and intuitive database schema editor and SQL generator
- [DBeaver](https://talira.ai/catalog/dbeaver-s1mkddc9.md): Universal database tool and SQL client

## Sources

[^1]: https://ca.unraid.net/api/apps/chartdb-1yii7ga0amfe4u (checked 20 Nov 2026)
[^2]: https://github.com/community-scripts/ProxmoxVE/blob/main/ct/chartdb.sh (checked 21 Nov 2026)
[^3]: https://railway.com/deploy/chartdb (checked 20 Nov 2026)
[^4]: https://github.com/chartdb/chartdb/blob/main/README.md (checked 20 Nov 2026)
[^5]: https://chartdb.io/pricing (checked 20 Nov 2026)
[^6]: https://github.com/chartdb/chartdb/blob/main/LICENSE (checked 20 Nov 2026)
