Paste your CREATE TABLE statements and the AI draws every table, column type, and foreign-key relationship — no database connection needed
No sign-up required • Free to try
Describe your entities in plain English — or paste your schema — and get tables with typed columns and labeled relationships, laid out automatically
Design PostgreSQL schemas showing tables, relationships, indexes, and constraints
Describe your data model and AI creates a professional database schema diagram with tables, columns, relationships, and constraints
Common questions about sql to er diagram converter
PostgreSQL, MySQL, SQL Server, Snowflake, BigQuery, and Redshift DDL all work — the AI reads the CREATE TABLE structure rather than executing it, so dialect quirks like SERIAL vs IDENTITY or NUMBER vs NUMERIC do not matter.
No. Everything works from pasted DDL or an attached .sql file, so there is nothing to install, no credentials to hand over, and it works for schemas you only have as migration files.
REFERENCES clauses become labeled relationship edges between tables, and primary keys, unique constraints, and NOT NULL markers are kept on the columns, so the diagram is faithful enough to use in a schema review.
Re-paste the changed DDL and ask the AI to update the existing diagram, or connect the Datadef MCP server so your coding agent updates the diagram directly from your repo when migrations land.
Signing up starts a 7-day free trial of every Pro feature. No card needed.