ChartDB
Database tool · Free + paid
A browser-based database diagram editor: imports a schema through a SQL query, shows relationships, and helps export the structure in the required dialect.

What you can use for free
The open source component used locally or self-hosted for the stated workflow, within its license terms.
Paid features and costs
Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.
Access and limitations
Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.
Use cases
- Document an existing database structure
- Import metadata, check relationships, and export the diagram or DDL
Example workflow
A possible workflow; this is not a report of hands-on testing.
Document an existing database structure
Before you start
- Smart Query output from a test database system without rows of user data.
- A test project and completion criteria for the task: Document an existing database structure.
Steps
- Set up ChartDB to test: Smart Query output from a test database system without rows of user data.
- Import metadata, check relationships, and export the diagram or DDL.
- Integrate the checked version into your project; document its configuration, limitations, and recovery method.
Check your result
- The export is compared with the actual schema; AI dialect conversion requires a separate check.
- Check the result against a reference example; separately confirm the terms of any assets and external services used.
Choosing ChartDB
Document an existing database structure
Choose this when
- Document an existing database structure
- Import metadata, check relationships, and export the diagram or DDL
Requirements
- Smart Query output with schema JSON; AI features require a chosen provider or your own model endpoint.
Things to consider
- Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
- Terms of use: AGPL-3.0
- The README marks the project Public Beta. Check AI-generated DDL output before applying it to a database.
Frequently asked questions
What can you use for free in ChartDB?
The openly available portion, used locally or self-hosted for the stated use case within its license terms.
What additional costs might arise with ChartDB?
Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
What terms of use matter for ChartDB?
AGPL-3.0
How do you get started with ChartDB?
Set up ChartDB to test: Smart Query output from a test database system without rows of user data. Import metadata, check relationships, and export the diagram or DDL. Integrate the checked version into your project; document its configuration, limitations, and recovery method.
Do I need to give ChartDB the database password to build a diagram?
You run Smart Query in the database; it returns the schema description as JSON for import. The editor therefore does not need direct access using a database password. Self-hosted AI DDL export requires separately configuring OpenAI or your own inference endpoint and model; this is not mandatory for manually editing a diagram.
License
AGPL-3.0
AGPL 3.0 — copyleft with a network-service condition
Use, modification, and commercial use cases are permitted. GPL obligations apply to distribution. If you modify an AGPL-covered program and let users interact with it over a network, you must offer them the corresponding source code for that version. This applies to the covered program, not automatically to all your data or independent applications.
License termsTechnologies and topics
- ChartDB
- Database tool