Data
Data

ER Diagram from SQL

Paste your table definitions and see how the tables link together. Nothing is run or uploaded.

Private by design

Your inputs stay on your device and are not sent to our servers. Optional usage analytics does not receive your files or tool inputs.

Preparing tool

How to use ER Diagram from SQL

  1. Paste CREATE TABLE statements, or open a .sql file.
  2. Check the diagram and any notes about missing tables.
  3. Download SVG or PNG, or copy the Mermaid text.
Read the detailed guide →

What are the limits of ER Diagram from SQL?

Reads standard CREATE TABLE and ALTER TABLE ... FOREIGN KEY statements (MySQL, PostgreSQL, SQLite, SQL Server style). Views, indexes and vendor extras are ignored. Handles up to 60 tables. Your SQL stays on your device and is never executed.

YOUR BROWSER, YOUR CHOICE