SQL to ER Diagram — Free Online ERD Generator from SQL (no signup)
" />
SQL to ER Diagram — free online ERD generator: convert a SQL schema (CREATE TABLE statements) into an interactive entity-relationship diagram in your browser. Turn SQL into a diagram instantly, no signup.
SQL schema
SQL
Paste SQL, see the schema.
Drop your CREATE TABLE statements on the left. Drag tables, scroll to zoom, double-click to rename, export when done.
Load example schema
100% local — your schema never leaves your browser. No accounts, no uploads.
Note
Group
100%
SQL to ER Diagram — free online ERD generator
SQL to ER Diagram is a free, open-source tool that converts a SQL schema into an<br>interactive entity-relationship diagram (ERD) right in your browser. Paste your<br>CREATE TABLE statements and instantly visualize tables, columns, primary<br>keys, foreign keys and relationships. Works with PostgreSQL, MySQL, SQLite and SQL<br>Server. Drag tables, auto-arrange the layout, add notes, and export to PNG or SVG.<br>Nothing is uploaded — your schema stays on your machine.
Frequently asked questions
How do I create an ER diagram from SQL?
Paste your SQL CREATE TABLE statements into the editor and SQL to ER<br>Diagram instantly renders an interactive entity-relationship diagram. Drag tables to<br>arrange them, then export as PNG or SVG.
Which SQL dialects are supported?
It parses standard CREATE TABLE and ALTER TABLE DDL and works<br>with PostgreSQL, MySQL, SQLite and SQL Server syntax, including primary keys, foreign<br>keys, unique and not-null constraints.
Is it free?
Yes. SQL to ER Diagram is completely free and open source, with no account or sign-up<br>required.
Is my data private? Does my SQL get uploaded?
Everything runs locally in your browser. Your SQL schema is never uploaded to or stored<br>on any server.
Can I export the diagram?
Yes. You can export a high-resolution PNG or a vector SVG, save the full project as a<br>file, or copy a shareable link that encodes the diagram in the URL.
Do I need to install anything?
No installation needed. It runs entirely in your web browser on both desktop and mobile.