ER Diagram Generator
Runs in your browser — nothing is uploaded
About this tool
Paste one or more CREATE TABLE statements. Detects FOREIGN KEY (col) REFERENCES table(col) and inline col REFERENCES table(col) forms. For a text-based relationship list instead of a visual diagram, see the Database Schema Visualizer.
Frequently asked questions
What is ER Diagram Generator?
Generate an ER diagram from a schema. It is one of the Database Tools tools on MyCodeTips.
How do I use ER Diagram Generator?
Open the tool, enter or paste your input, and the result appears right away. Use the Copy button to copy it.
Is ER Diagram Generator free to use?
Yes. It is free to use and does not need an account.
Is my data safe with ER Diagram Generator?
Yes. It runs entirely in your browser, so what you enter is never uploaded to our servers.
Can I share my result?
Yes. Use the share buttons below the tool to post a link or copy a link to the tool page.
- SQL Formatter & Beautifier
- SQL Query Analyzer
- SQL Compare Tool
- Database Schema Diagram
- MongoDB Query Builder
- PostgreSQL EXPLAIN Visualizer
- SQL to JSON Converter
- Send output to…
- Nothing to send yet.
- Received output from {tool}
- Undo
- Dismiss