About the ER Diagram from SQL
Paste CREATE TABLE statements and see an entity-relationship diagram with columns, primary keys and foreign-key links, plus a Mermaid version you can paste into docs.
This tool runs entirely in your browser. Nothing you type is uploaded.
How to use it
- 1Type or paste your input in the box (or open a file where offered).
- 2The result updates instantly — adjust the options to fine-tune it.
- 3Use Copy or Download to take the result with you.
- 4Everything runs in your browser, so you can use it on private data.
Frequently asked questions
Is the ER Diagram from SQL free?
Yes. The ER Diagram from SQL is completely free with no sign-up and no usage limits for normal use. It is provided by Quick2Host as a free resource for developers and site owners.
Is my data uploaded anywhere?
No. The ER Diagram from SQL runs entirely in your web browser. Nothing you type, paste or open is sent to our servers.
What does the ER Diagram from SQL do?
Draw tables and relationships from CREATE TABLE statements. Paste CREATE TABLE statements and see an entity-relationship diagram with columns, primary keys and foreign-key links, plus a Mermaid version you can paste into docs.
How do I import a CSV file into MySQL?
Use the CSV to SQL tool to generate CREATE TABLE and INSERT statements, or for very large files use LOAD DATA INFILE with the same column list.
Turn CSV and JSON into SQL, view large CSV files, build connection strings and tune MySQL and PostgreSQL — all offline in your browser. See all 13 data & databases tools →