SQL to Prisma Schema Converter — Generate Prisma Models – Free Online Tool
Convert SQL CREATE TABLE statements to Prisma schema models with proper types, relations, indexes, and default values. Supports MySQL and PostgreSQL. Free, no signup required.
What is SQL to Prisma?
SQL to Prisma converts existing SQL database schemas into Prisma schema format, making it easy to adopt Prisma ORM in TypeScript/Node.js projects.
💬 User Feedback
How to Use
- Paste SQL CREATE TABLE statements
- Select SQL dialect (MySQL/PostgreSQL)
- Review generated Prisma schema
- Copy the schema
Use Cases
- Migrating to Prisma ORM
- Reverse-engineering databases
- Learning Prisma schema syntax
- Database documentation