SQL to ORM Code Converter
Convert CREATE TABLE DDL into idiomatic ORM models for Prisma, Sequelize, TypeORM, Drizzle, SQLAlchemy, and Django — fully offline in your browser. Maps types, nullability, defaults, primary/foreign keys, unique & index constraints, and enums, with snake_case ↔ camelCase field mapping via @map / column-name decorators. Unmappable constructs are flagged, never silently dropped.
Convert CREATE TABLE DDL into idiomatic ORM models for Prisma, Sequelize, TypeORM, Drizzle, SQLAlchemy, and Django — fully offline in your browser. Maps types, nullability, defaults, primary/foreign keys, unique & index constraints, and enums, with snake_case ↔ camelCase field mapping via @map / column-name decorators. Unmappable constructs are flagged, never silently dropped. Everything runs locally in your browser — your data never leaves your device.
How to use
- Enter your input in the tool above.
- Adjust any options to your preference.
- Use the Copy or Download buttons to save the result.
- Everything happens locally — your data never leaves your browser.