Database Schema Toolkit
Read SQL DDL (PostgreSQL, MySQL, SQLite) into tables, keys and indexes, draw an ERD (SVG / Mermaid), diff two versions, and generate TypeScript types and mock rows — never connects to a database.
About this tool
Paste SQL DDL for PostgreSQL, MySQL or SQLite to read it into tables, columns, keys and indexes. Output a Mermaid entity-relationship diagram or TypeScript types, or compare two versions of a schema to see which changes could break existing code or data.
The SQL is parsed as text and never run, and the tool never connects to a database. Connection strings and secrets in a pasted dump are masked before anything is shown.