ProDevTools
General
Home
Data Visualization
Parquet VisualizerCSV VisualizerAvro ViewerORC ViewerJSONL ViewerExcel PreviewerSchema Inspector
Big Data Formats
Delta Lake ExplorerIceberg Metadata
Data Engineering
SQL Query ToolSQL Query VisualizerSpark Error DecoderKafka Message DecoderDBT Lineage ViewerCSV to JSON
Security & Auth
JWT DecoderJWT Expiry CheckerBase64 ToolHash GeneratorUUID GeneratorAPI Key GeneratorBcrypt GeneratorPassword Generator
JSON / SQL Tools
JSON FormatterJSON Diff CheckerJSON Path TesterJSON Schema GeneratorJSON Tree VisualizerJSON → TS / PythonSQL FormatterSQL Query ConverterER Diagram GeneratorAPI TesterCurl GeneratorTimestamp ConverterXML FormatterYAML ValidatorPOM Visualizer
Text & Encoding
Regex TesterRegex GeneratorRegex DecoderDiff CheckerURL Encoder/DecoderMarkdown PreviewerHTML PreviewerUnicode ConverterTimezone Converter
Cloud & DevOps
Cron GeneratorAWS ARN DecoderDocker Compose GeneratorTerraform FormatterKubernetes YAML Visualizer
Productivity
ENV GeneratorGitignore GeneratorMarkdown Table GeneratorREADME GeneratorCommit Message GeneratorChangelog GeneratorCode Snippet Manager
Design & Media
QR Code GeneratorBarcode GeneratorColor PickerSVG Optimizer
  1. /
  2. ER Diagram Generator
SQL SchemaPaste CREATE TABLE statements — processed locally
Paste your SQL schema above to generate a diagram
Or click Load Sample to see a demo

Visualize your database schema instantly

Turn raw CREATE TABLE statements into a clear, interactive entity-relationship diagram. See every table's columns, types, and keys at a glance, with foreign key relationships drawn as labelled connections — all rendered locally in your browser.

Frequently Asked Questions

What SQL do I need to provide?
Paste one or more CREATE TABLE statements, including PRIMARY KEY and FOREIGN KEY constraints. The tool parses column names, types, nullability, and relationships to lay out the diagram automatically.
How are relationships detected?
Foreign key constraints in your CREATE TABLE statements are parsed and drawn as connecting edges between tables, labelled with the source and target column names.
Which SQL dialect is supported?
Standard ANSI SQL DDL is supported, including common MySQL and PostgreSQL conventions such as AUTO_INCREMENT, SERIAL, ENUM, and inline or trailing FOREIGN KEY definitions.
Is my schema sent to a server?
No. Parsing and diagram generation both run entirely in your browser — your SQL never leaves your machine.

Related Tools

Schema InspectorInspect column types before querying.SQL Query VisualizerVisualize SQL transformations and data lineage.DBT Lineage ViewerVisualize dbt model dependencies from manifest.json.