ER Diagram Generator
Describe tables in a short text form, one per line, and get an entity-relationship diagram as you type. It also writes the CREATE TABLE statements.
Runs in your browser. Nothing is uploaded.
Loading the app…
Related apps
How to use it
- How do I describe a table?
- One table on each line: its name, a colon, then its columns separated by commas. Add pk for the primary key, a type such as number or date, and -> other_table.column for a link to another table.
- Can I get SQL from it?
- Yes. "Write SQL" turns your tables into CREATE TABLE statements with primary and foreign keys, which you can adjust for your database.
- I already have SQL. Can I draw that?
- Use the Database Schema Visualiser, which reads CREATE TABLE statements.
- Is what I paste uploaded?
- No. It is read in your browser and never leaves your device.