ERD Generator
Generate entity relationship diagrams from SQL CREATE TABLE statements or JSON schema definitions. Visualize your database structure with tables, columns, and relationships.
Something went wrong
More options
How to use ERD Generator
- Paste your SQL CREATE TABLE statements or JSON schema.
- Click Generate to create the diagram.
- Explore the interactive diagram with tables and relationships.
- Export the diagram as an image.
What is ERD Generator?
An ERD (Entity Relationship Diagram) generator creates visual representations of your database schema from SQL statements or JSON definitions. It shows tables as boxes with columns, primary keys, foreign keys, and relationships between tables.
This tool parses your SQL DDL statements and renders an interactive diagram you can explore, zoom, and export. It's perfect for documenting existing databases or designing new schemas.
FAQ
- What input formats are supported?
- SQL CREATE TABLE statements (MySQL, PostgreSQL, SQLite) and JSON schema definitions are supported.
- Can I edit the diagram?
- The generated diagram is interactive — you can rearrange tables and zoom, but direct editing of the schema requires updating the input.
Related tools
People also use
- Database Migration Generator🗃️ Database Tools
Free online database migration generator. Generate migration scripts from schema diffs. Compare two SQL schemas and get ALTER TABLE statements.
- Regex Visualizer🧩 Regex Tools
Free online regex visualizer. Create visual diagrams and flowcharts of regular expression patterns. Understand complex regex at a glance.