OpenSourceProjects logo
chartdb logo

chartdbDatabase diagrams editor that allows you to visualize and design your DB with a single query.

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

22,016 stars
1,368 forks
TypeScript
AGPL-3.0
chartdb screenshot

chartdb

ChartDB is a web-based database diagramming editor that allows developers to visualize and design database schemas instantly with a single query. No installation, no database password required, and fully open-source with an intuitive visual interface.

Key Features

  • Instant Schema Import: Run a single query to retrieve your database schema as JSON and instantly visualize your complete database structure for documentation or team discussions.
  • AI-Powered Database Migration: Generate DDL scripts tailored to your target database dialect, enabling seamless migration between different database systems like MySQL, PostgreSQL, SQLite, and more.
  • Interactive Schema Editing: Fine-tune your database design with an intuitive visual editor to make adjustments, add annotations, and better understand complex database structures.
  • Multi-Database Support: Works with PostgreSQL, MySQL, SQL Server, MariaDB, SQLite, CockroachDB, and ClickHouse.

Use Cases

  • Database Documentation: Create visual representations of database schemas for team knowledge sharing and project documentation.
  • Schema Migration: Plan and execute database migrations across different platforms with AI-generated migration scripts.
  • Database Design Planning: Design new database structures visually before implementation to catch issues early.
  • Learning and Analysis: Understand existing database architectures through interactive visual diagrams.

Who Is It For

ChartDB is ideal for database administrators, backend developers, data engineers, and teams who need to visualize, design, migrate, or document database schemas efficiently without complex setup or database access requirements.