ChartDB

ChartDB is an open-source database diagram editor.

  • Other
  • Productivity
  • Tools & Utilities
ChartDB is an open-source database diagram editor. It visualizes and designs database schemas from a single query, making structure review and documentation easier for developers, database administrators, and self-hosters. Run it alongside your database to inspect existing structures, plan changes, or share clear diagrams from your own infrastructure.

Platform availability

Available on 1 of 9 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

62/100 Good

Maintained
54last commit 185 days ago
Popular
8722,987 GitHub stars
Easy to install
351 install platform, install notes, Docker image
Light to run
701 GB minimum RAM
Security check
70no serious findings, 11 minor, CI, tests

Availability: platform listings confirmed today, links checked 15 days ago

GitHub stars
22,987
Open issues
172
Last commit
2026-04-11
Latest release
v1.20.1
License
AGPL-3.0
Activity
stale

Checked 6 days ago - source: GitHub (chartdb/chartdb)

Resources & Compatibility

Minimum requirements: 1 GB RAM, 1 CPU core(s), 2 GB disk.

Checked 14 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Set local AI endpoint before start If you use ChartDB with a local AI model from vLLM (a small server that runs OpenAI-style models on your machine), set VITE_OPENAI_API_ENDPOINT to its address, such as http://localhost:8000/v1, and VITE_LLM_MODEL_NAME to the model name before starting. Without these, AI-powered database help may not connect or may use the wrong model. source
  • No installation required No installation is needed, and no database password is required to connect. source

Fetched 7 days ago - each note links to its source

Alternatives (4)

  • DBDiagram.io - Quick and simple free tool to help you draw your database relationship diagrams and flow quickly using simple DSL language.
  • Mermaid - Ever wanted to simplify documentation and avoid heavy tools like Visio when explaining your code?
  • MySQL Workbench - MySQL Workbench is a unified visual tool for database architects, developers, and database administrators to design, develop, and manage My…
  • Visual Paradigm - Visual Paradigm for UML (VP-UML) is a UML design tool and UML CASE tool designed to aid software development.

Checked 11 days ago - source: AlternativeTo

Common questions

Which Docker port should I expose for self-hosted ChartDB?

Map the container port 80 to a host port such as 8080, then use that host port to reach the app.

Where are diagrams stored in the self-hosted version?

The self-hosted version stores diagrams only in your browser's local storage. They can disappear if that browser data is lost, so manual exports are needed for backup.

How do I connect ChartDB to a local OpenAI-compatible model for AI features?

Set VITE_OPENAI_API_ENDPOINT to your local vLLM address and VITE_LLM_MODEL_NAME to the model name before starting the app. Without these settings, AI-powered database help may not connect or may use the wrong model.

Does ChartDB require the database password to create a schema diagram?

No, ChartDB imports the schema with a single query and does not require the database password.

Can self-hosted ChartDB be deployed with email-domain access control?

A deployment guide describes deploying ChartDB on Cloudflare Pages with access restricted to an organization email domain.

Answers sourced from docs.chartdb.io, github.com, github.com, github.com

Community

Collected 14 days ago - public community threads