SQL → ERD · runs in your browser

Turn SQL into an ER diagram.

Paste CREATE TABLE statements from SQLite, PostgreSQL, MySQL, or MSSQL. Erd Go maps PK, FK, IDX, and UQ constraints — arrange the diagram, then export it as PNG, SVG, or PDF.

  • SQLite
  • PostgreSQL
  • MySQL
  • MSSQL
  • runs locally
Editor walkthrough

See the SQL editor in action

Watch SQL edits update the diagram in real time, then arrange the tables and export the result.

  • SQL and the diagram stay in sync
  • Table positions stay on this device
  • Export as PNG, SVG, or PDF
Erd Go SQL to ERD converter demo showing database diagram generation
SQL → ERD workflow

Take a schema from draft to a shareable ERD

Generate the diagram, review its structure, test the schema with sample data, then export or share the result. Your SQL remains the source of truth.

  1. 01

    Generate the diagram

    Edit SQL and the diagram stays in sync with its tables, columns, keys, indexes, and declared relationships.

  2. 02

    Review the design

    Use the ERD score to find structural gaps. Review optional relationship suggestions only when you want them.

  3. 03

    Test the model

    Add sample rows in Data View, then use Query View to test joins, filters, sorting, and aggregates.

  4. 04

    Export or share

    Export as PNG, SVG, or PDF. Sign in when you want cloud saves and read-only share links.

Table builder Optional AI review Read-only sharing Browser-local processing

Start from more than SQL

Model a database, design classes, or map interactions between people and systems.

Local by defaultParsing and diagrams run in your browser.
Flexible outputExport PNG, SVG, or PDF.
Cloud when neededSign in to save files and create read-only share links.

Explore the ERD Go source.

The local-first SQL-to-ERD editor is available on GitHub under the MIT License. Read the code, run it locally, report issues, or contribute an improvement.

  • MIT licensed
  • Local-first
  • Built with React
github.com/tanlee102ErdGo

Build your ERD from SQL.

Open a blank editor or explore the sample schema. No account required.

Create a SQL ERD