Parse SQL DDL tables and automatically generate type-safe TypeScript interfaces, Prisma schema models, Drizzle ORM pgTable declarations, or TypeORM entity classes.
Runs entirely in your browser
If your database schema is the source of truth, keeping application types in sync with it by hand is tedious and drifts over time. This tool parses SQL CREATE TABLE statements and generates matching type-safe code: plain TypeScript interfaces, Prisma schema models, Drizzle ORM table declarations, or TypeORM entity classes.
Generating types straight from the DDL means your code’s shape matches the database exactly, catching mismatches at compile time rather than at runtime. Supporting several targets lets you fit whichever ORM or typing approach your project uses, without hand-translating column types.
It runs in your browser, so your schema is not uploaded. Use it when introducing types to an existing database, adopting an ORM, or keeping models aligned after a schema change.
TechToolsHQ is an independent, reader-supported tech platform. If this free tool saved you time, solved a problem, or helped your workflow, consider supporting our work. Your support helps us keep our utilities 100% free, private, and ad-free for everyone.