Tool review

ChartDB: what it does and how to run it

paste a schema and get an entity-relationship diagram in the browser

Independent review. Some links are affiliate links; they never affect the verdict or the ranking. Full disclosure.

ChartDB turns a schema into a diagram. You run one query that returns the table definitions, paste the result into the browser, and it draws the entity-relationship model with relationships resolved. The value shows up on the second day of a new job, staring at eighty tables nobody documented.

Because it needs no credentials, it also works on a database you are only allowed to read, and the diagram can be exported for a design review. It is a single-purpose tool and does that one thing better than the diagram panes built into database clients.

What ChartDB actually does

This entry collects the essentials: what the project does, what licence it ships under, and where it fits next to the alternatives. Check the official site for the current feature list.

Core features

  • Generates an ER diagram from a single SQL query result
  • Works with PostgreSQL, MySQL, SQLite, SQL Server and others
  • Diagrams can be edited, arranged and exported
  • No database credentials needed — a query result is enough

Where it is strongest

  • no installation
  • works on inherited schemas

Who it is for

developers who need to understand an unfamiliar database quickly

It needs no connection string at all: the DDL text is the input, which makes it usable on a client's server where you have read-only access and no diagramming licence

How ChartDB compares

These are the entries closest to ChartDB on this site — same category, overlapping job. Licence and hosting model are the two columns worth reading first, because they decide your total cost more than the feature list does.

ToolLicenceCostBest for
ChartDB This pageAGPL-3.0Free to self-hostpaste a schema and get an entity-relationship diagram in the browser
ElasticsearchElastic/SSPLFree + paid tiersDistributed search and analytics engine
MariaDBGPL-2.0Free to self-hostA drop-in, community-driven MySQL replacement
MongoDBSSPLFree + paid tiersThe leading document database for modern apps

How to get ChartDB running

  1. Pick the hostA 2 GB VPS covers most of these apps for a small team. If you would rather not run an operating system, a managed app host gives you a one-click container with backups and TLS included.
  2. Provision the runtimeChartDB ships as a container image or a documented install script. Pin a release tag rather than tracking latest, so an upstream change never surprises you on a Friday.
  3. Attach persistent storagePoint the data volume at a path you back up. Most of these apps keep everything — users, settings, history — in one database plus an uploads folder.
  4. Put it behind a domain with TLSAdd an A record, then terminate TLS at your proxy or at the host. Set the public URL in the app's environment before first login, because several apps bake it into links.
  5. Secure the admin accountChange the default credentials, enable 2FA where offered, and close registration unless the app is meant to be public.
  6. Schedule the first backupA nightly snapshot that you have actually restored once is worth more than any feature on this page.

Licence and cost

AGPL-3.0. Network copyleft. Offering it as a hosted service counts as distribution, so your modifications must be published.

Self-hosting removes the subscription but not the work: patching, backups, monitoring and the odd 2am alert. Budget a few hours a month for a small deployment.

Questions people ask

Is ChartDB free to use?

Yes. ChartDB is released under AGPL-3.0, so you can install and run it without a subscription. Network copyleft. Offering it as a hosted service counts as distribution, so your modifications must be published. Hosting and maintenance still cost money — a small VPS or a managed app host is the usual answer.

Can I self-host ChartDB?

Yes — that is the point of this listing. You need a server with a supported runtime, persistent storage and a backup schedule. A managed app host removes most of the setup work if you would rather not maintain the operating system yourself.

What is a good alternative to ChartDB?

Elasticsearch is the closest option in the same category on this site — Distributed search and analytics engine. It is worth comparing licence terms before you pick.

Who is ChartDB aimed at?

developers who need to understand an unfamiliar database quickly ChartDB uses the AGPL-3.0 licence. Start with a single team and a single workflow rather than rolling it out to the whole company at once.

tf
techifyFlow editorial

We test and document open-source and AI tools for small teams. Every entry is reviewed against the project's own documentation and licence before it is listed. Read the method.