JSON Export
Export your schema as structured JSON for programmatic use — code generators, custom tools, or storing in version control.
Steps
- Click Export in the top-right of the ERD panel
- Select JSON
- Click Download or Copy to clipboard
JSON structure
The exported JSON contains:
tables— array of table definitionsenums— array of enum definitionsrelationships— array of foreign key relationships
Use cases
- Code generation — generate TypeScript types, ORM models, API schemas
- Documentation — store schema as structured data
- Custom tooling — build your own schema processors
- Version control — diff schema changes over time