Prisma to ERD Converter
Convert schema.prisma into an interactive entity relationship diagram. Visualize Prisma models, fields, relations, enums, indexes, and mapped database names locally in your browser.
How to visualize a Prisma schema
- Paste your schema.prisma file into the editor.
- Review models, fields, keys, and relations on the generated ERD.
- Use diagnostics to correct incomplete relations and connector-specific schema issues.
Supported Prisma schema details
The converter preserves models, scalar fields, relations, composite keys, enums, views, composite types, indexes, @map, @@map, and schema mappings. It supports Prisma schemas for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB, and CockroachDB.
Need a diagram from DDL? Use the SQL to ERD editor or read the SQL syntax documentation.