100% in your browser · your files never leave your device

ER Diagram Generator — Paste SQL, Get a Crow's-Foot Diagram

Paste CREATE TABLE statements (or use the table editor) and get an entity-relationship diagram with foreign-key crow's-foot connectors. PNG/SVG export.

Loading tool…

More tools

All free, all private — everything runs in your browser.

How to use ER Diagram

  1. 1Paste your CREATE TABLE statements — inline REFERENCES or FOREIGN KEY clauses both work.
  2. 2Tables become entities; foreign keys become crow's-foot connectors with PK/FK columns highlighted.
  3. 3Prefer a form? Use the table editor to add tables and columns, then switch to the SQL view.
  4. 4Export PNG or SVG. Your schema is parsed locally and never uploaded.

ER Diagram FAQ

What SQL does it understand?
CREATE TABLE statements with column definitions, PRIMARY KEY (inline or as a clause), and foreign keys via inline `REFERENCES` or a `FOREIGN KEY … REFERENCES` clause. It is read-only — nothing is executed.
How are relationships detected?
From foreign keys: each REFERENCES clause becomes a crow's-foot connector from the child table to the parent, with PK/FK columns highlighted.
Does my schema get uploaded?
Never. Parsing and rendering happen in your browser; the page cannot make network requests by policy (connect-src 'self').