How to use
- Paste your CREATE TABLE statements (several at once).
- Check primary keys, foreign keys and the relationship lines.
- Download PNG or SVG for your design docs.
See your database design as a diagram. Paste CREATE TABLE statements; tables and relationship lines are laid out automatically.
🔒 Your text never goes to a server — diagrams are drawn on your device (in your browser) and saved only in this browser.
Each box is a table and each row a column. A PK holds a unique value per row; an FK points to another table's PK.
On the relationship line, the crow's foot (three prongs) means “many” and the double bar means “one” — for example, one user can have many orders.
Standard CREATE TABLE statements used by most databases, including quoted or bracketed names, schema-qualified names (public.users) and composite primary keys. Only the pasted text is read — nothing connects to a database.
No. It reads only the text you paste.
Lines need REFERENCES or FOREIGN KEY, and the referenced table must be pasted too.
Only keys inside CREATE TABLE are read for now.
No. Everything is drawn in your browser.