ChartDB

ChartDB

Web-based database schema diagram editor from a single query

21.3kstars
1.3kforks
Last commit: 22d ago
Repo age: 2y old
ChartDB screenshot

ChartDB is an open-source, web-based database diagramming editor for visualizing and designing relational database schemas. It generates diagrams from a single “smart query” result, letting you model and review schemas without granting ChartDB direct database access.

Key Features

  • One-query schema import that converts your database schema into a diagram
  • Interactive ERD editor to adjust tables, relationships, and annotations
  • Export diagrams as images and export schema as SQL/DDL scripts
  • AI-assisted DDL generation to help convert between SQL dialects (optional)
  • Supports multiple databases including PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, and others
  • Runs in the browser and can be deployed via Docker

Use Cases

  • Quickly document an existing database schema for teams and stakeholders
  • Design or refactor schemas visually before applying migrations
  • Generate DDL for cross-database migration planning and review

Limitations and Considerations

  • AI export features require configuring an external LLM endpoint (for example via an API key or custom inference server)
  • Schema import relies on database-specific “smart query” output, so results may vary across supported engines

ChartDB is a practical tool for fast schema visualization and collaborative database design workflows. It is well-suited for teams that want ER diagrams and exportable DDL without providing direct database credentials to the diagramming tool.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Excalidraw

Excalidraw

Collaborative virtual whiteboard for hand-drawn style diagrams

117.5k
12.7k
Last commit: 1d ago

Excalidraw is an open-source collaborative whiteboard for sketching hand-drawn style diagrams, wireframes, and flowcharts with real-time sharing.

Alternative to:
Excalidraw+
Excalidraw+
+15
Penpot

Penpot

Open-source design and prototyping tool for design–dev collaboration

44.4k
2.5k
Last commit: 9h ago

Penpot is an open-source UI design and prototyping platform with real-time collaboration, design systems support, and developer-friendly inspect mode with CSS/SVG/HTML ou...

Alternative to:
Figma
Figma
+6
Logseq

Logseq

Privacy-first knowledge management and collaboration platform

41.2k
2.5k
Last commit: 22h ago

Logseq is a privacy-first, open-source knowledge management app for networked notes, tasks, and collaboration using local Markdown or Org-mode graphs.

Alternative to:
Roam Research
Roam Research
+19
diagrams.net (draw.io)

diagrams.net (draw.io)

Web-based diagramming and whiteboarding application

3.7k
665
Last commit: 3d ago

Browser and desktop diagram editor for flowcharts, UML, wireframes and network diagrams with cloud storage integrations and offline apps.

Alternative to:
Microsoft Visio
Microsoft Visio
+16
WBO

WBO

Real-time collaborative online whiteboard

2.6k
480
Last commit: 4mo ago

WBO is a lightweight, real-time collaborative whiteboard where multiple users can draw simultaneously, with persistent boards and optional JWT-based access control.

Alternative to:
Microsoft Whiteboard
Microsoft Whiteboard
+8
PlanarAlly

PlanarAlly

Open-source virtual tabletop for battlemaps and dynamic lighting

503
83
Last commit: 3d ago

Web-based virtual tabletop for TTRPGs offering infinite canvas, layers, dynamic lighting, player vision, initiative tracking, offline support and self-hosting.

Alternative to:
Foundry Virtual Tabletop
Foundry Virtual Tabletop
+2