ER DIAGRAM MAKER · SQL TO SVG & PDF

ER diagram maker from SQL

Paste SQL CREATE TABLE statements into ChatGPT and get a clean entity relationship diagram back in seconds. Zovo ER Diagram draws every table, column name, data type, primary key, and foreign key line automatically, then gives you crisp SVG and PDF files.

Free to start in ChatGPT with zero extra account required. Need manual MCP setup details? See the MCP setup guide or ChatGPT setup guide.

Outputs:SQL CREATE TABLEVector SVGPrintable PDFForeign Key Lines

What you get

01 · Real SQL parser

Reads CREATE TABLE, primary keys, and REFERENCES

Paste PostgreSQL, MySQL, or SQLite DDL directly from your migrations folder. No proprietary diagramming syntax to learn or drag-and-drop boxes to align.

02 · Schema scale

Handles up to 50 tables and 120 foreign keys

Supports up to 60 columns per table and 1,000 columns total in one request. Ideal for onboarding new backend engineers, PR schema reviews, and database audits.

03 · Vector downloads

Exports clean SVG and PDF with one-hour expiry

Commit the SVG directly alongside your database migrations or attach the PDF to a technical spec. Temporary download links delete automatically after about one hour.

COPY-PASTE EXAMPLE PROMPT

Copy this prompt to draw an ER diagram from SQL in ChatGPT

Open Zovo ER Diagram in ChatGPT above and paste your SQL CREATE TABLE statements.

ER diagram: CREATE TABLE organizations (id uuid PRIMARY KEY, name text NOT NULL, plan text); CREATE TABLE users (id uuid PRIMARY KEY, org_id uuid REFERENCES organizations(id), email text UNIQUE NOT NULL); CREATE TABLE invoices (id uuid PRIMARY KEY, org_id uuid REFERENCES organizations(id), created_by uuid REFERENCES users(id), total_cents int NOT NULL, status text); CREATE TABLE invoice_items (id uuid PRIMARY KEY, invoice_id uuid REFERENCES invoices(id), description text, amount_cents int);

How it works in 3 quick steps

  1. Click Open in ChatGPT above to launch Zovo ER Diagram directly from the ChatGPT directory.
  2. Paste your SQL CREATE TABLE statements or ask ChatGPT to draft the DDL from your domain description.
  3. Inspect the rendered ER diagram in chat and download the SVG or PDF file.

Known limits and privacy

Common questions

Which SQL dialects work with Zovo ER Diagram?

Standard PostgreSQL, MySQL, MariaDB, SQLite, and SQL Server CREATE TABLE statements with inline or table-level PRIMARY KEY and FOREIGN KEY REFERENCES clauses all parse cleanly.

Can I generate an ER diagram from a Prisma schema or Django models?

Yes. Paste your Prisma schema or ORM models into ChatGPT first and ask it to emit SQL CREATE TABLE statements, then pass that SQL to Zovo ER Diagram.

Does it connect to my production database?

No. It works purely on the SQL schema text you paste in chat, so you never share database credentials or customer rows.

How long are the generated SVG and PDF files kept?

Download links stay active for one hour and are deleted automatically afterward.