Pro
sqlIn-Browser

SQL to Prisma & Drizzle

Convert database CREATE TABLE DDL statements into Prisma schema models and TypeScript Drizzle ORM tables.

SQL CREATE TABLE StatementsSQL
16 lines • 372 chars
Prisma Schema (schema.prisma)PRISMAPrisma Models Generated
27 lines
Maps @id, @default(autoincrement()), data types & relations

Are you a happy user?

Forge DevTools is free, private, and runs 100% in your browser.

Want more features?Upgrade to Pro
Buy us Coffee
Sharing is caring
Come back!
Link to this tool
Send Feedback

Key Capabilities & Features

Generates Prisma model blocks with @id, @default(), @unique, and relations.
Generates Drizzle ORM pgTable() and mysqlTable() TypeScript definitions.
Translates foreign key constraints into native ORM relations.
100% client-side parser.

How to Use This Tool in 3 Steps

1

Provide Input

Paste your raw code or data, choose options, or load a pre-configured sample.

2

Instant Client-Side Processing

The parser compiles your data instantly inside your browser without any network round-trip.

3

Copy or Export

Copy the result directly with one click or export to a local downloadable file.

Frequently Asked Questions

Yes. Paste a multi-table SQL DDL migration script and it will emit complete schema blocks for all tables.