> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chartdb.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Welcome to ChartDB

> A database visualization tool with support for multiple databases, schema creation, and export options.

<img className="block dark:hidden" src="https://images.chartdb.io/docs/hero-light.png" />

<img className="hidden dark:block" src="https://images.chartdb.io/docs/hero-dark.png" />

ChartDB is an open-source database visualization tool that helps you visualize your database schema and generate insightful diagrams.
Get from database to diagram as quick as 15 seconds.

<Note>
  Join our [Discord community](https://discord.gg/QeFwyWSKwC) for support and
  discussions.
</Note>

## Import

We support a wide range of database systems: PostgreSQL, MySQL, SQLite, SQL Server, MariaDB, ClickHouse, CockroachDB.

<CardGroup cols={3}>
  <Card title="PostgreSQL" href="/docs/import/postgresql" horizontal icon="database" />

  <Card title="MySQL" href="/docs/import/mysql" horizontal icon="database" />

  <Card title="SQLite" href="/docs/import/sqllite" horizontal icon="database" />

  <Card title="SQL Server" href="/docs/import/sql-server" horizontal icon="database" />

  <Card title="MariaDB" href="/docs/import/mariadb" horizontal icon="database" />

  <Card title="ClickHouse" href="/docs/import/clickhouse" horizontal icon="database" />

  <Card title="CockroachDB" href="/docs/import/cockroachdb" horizontal icon="database" />
</CardGroup>

## Diagram

Create clear and insightful diagrams from your database schema.

<CardGroup cols={2}>
  <Card title="Tables and Fields" icon="table" href="/docs/diagrams/tables-fields">
    Effortlessly add, manage, and visualize tables and fields in your database
    diagrams.
  </Card>

  <Card title="Relationships" icon="code-merge" href="/docs/diagrams/relationships">
    Visualize and create relationships between tables using foreign keys, making
    complex schemas understandable.
  </Card>

  <Card title="Dependencies" icon="code-compare" href="/docs/diagrams/dependencies">
    Understand the dependencies between Views and Tables, crucial for database
    maintenance and refactoring.
  </Card>

  <Card title="Layouts, Colors, and Filters" icon="palette" href="/docs/diagrams/layouts-colors-filters">
    Customize your diagrams with layouts, colors, and filters for enhanced
    clarity and visual organization.
  </Card>
</CardGroup>

## Export

Share your database diagrams in various formats.

<CardGroup cols={2}>
  <Card title="SQL" horizontal href="/docs/export/sql" icon="code" />

  <Card title="Image" horizontal href="/docs/export/image" icon="image" />

  <Card title="Diagram (JSON)" horizontal href="/docs/export/json" icon="file-export" />

  <Card title="DBML" horizontal href="/docs/export/dbml" icon="file-code" />
</CardGroup>
