SQL to Prisma Schema Converter โ Generate Prisma Models
Convert SQL CREATE TABLE statements to Prisma schema models with proper types, relations, indexes, and default values. Supports MySQL and PostgreSQL.
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.
Rate this tool
4.1 / 5 ยท 232 ratings
Stay Updated
Get weekly dev tips and new tool announcements.
No spam. Unsubscribe anytime.
Enjoy these free tools?
โBuy Me a CoffeeHow 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