Free SQL→ER diagram tool, runs in the browser, nothing uploaded

Hacker News Top Tools

Summary

A free, open-source tool that converts SQL CREATE TABLE statements into interactive entity-relationship diagrams locally in the browser, supporting multiple SQL dialects.

No content available
Original Article
View Cached Full Text

Cached at: 06/14/26, 07:37 AM

# SQL to ER Diagram — Free Online ERD Generator from SQL Source: [https://sqltoerdiagram.com/](https://sqltoerdiagram.com/) ## 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 to ER Diagram ## 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\. 100% local — your schema never leaves your browser\. No accounts, no uploads\. SQL to ER Diagram is a free, open\-source tool that converts a SQL schema into an interactive entity\-relationship diagram \(ERD\) right in your browser\. Paste your`CREATE TABLE`statements and instantly visualize tables, columns, primary keys, foreign keys and relationships\. Works with PostgreSQL, MySQL, SQLite and SQL Server\. Drag tables, auto\-arrange the layout, add notes, and export to PNG or SVG\. 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 Diagram instantly renders an interactive entity\-relationship diagram\. Drag tables to arrange them, then export as PNG or SVG\. ### Which SQL dialects are supported? It parses standard`CREATE TABLE`and`ALTER TABLE`DDL and works with PostgreSQL, MySQL, SQLite and SQL Server syntax, including primary keys, foreign 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 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 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 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\.

Similar Articles

@VincentLogic: The most painful thing about taking over someone else's project: opening the database, hundreds of tables, no documentation, no comments, and table names are just pinyin abbreviations. ChartDB solves this problem. Run a single SQL command to export the entire database structure and automatically generate an ER diagram. Which tables are related, how foreign keys are connected, all clear at a glance. No need...

X AI KOLs Timeline

ChartDB is a free and open-source tool that allows you to export the entire database structure by running a single SQL command, automatically generating an ER diagram. It supports multiple databases and has built-in AI natural language query functionality to help developers quickly understand database table relationships.

SQLite Query Explainer

Simon Willison's Blog

A browser-based tool that runs SQL queries against SQLite and provides plain-English explanations of the query plan and bytecode output.

Show HN: Graphical SQL Builder and Debugger

Hacker News Top

SQL Joiner is a visual SQL query builder for MySQL that lets you build SELECT queries by dragging tables onto a canvas, with support for joins, subqueries, and importing existing SQL.

Show HN: Free Mermaid Diagram Editor

Hacker News Top

A free, no-signup Mermaid diagram editor with live preview, instant SVG/PNG export, and shareable links that run entirely in the browser. Optionally connects to GitHub to auto-generate architecture diagrams from source code.