Back

SQL Schema converter

Developer tools

Loading

Loading tool

The tool is loaded only when you open it.

All processing for this tool happens in your browser. Your input is not sent to a server.

About this tool

Paste or open SQL containing CREATE TABLE statements, choose a target format, and generate editable database DDL, ORM Schema, or TypeScript types.

Common uses

  • Move table definitions between databases and ORMs
  • Generate TypeScript types from SQL table definitions

How to use it

  1. 1.Paste SQL table definitions or choose a .sql file
  2. 2.Choose MySQL, PostgreSQL, SQLite, Prisma, Drizzle, or TypeScript
  3. 3.Convert, then copy or download the generated output

Limits and notes

  • Supports common types, primary keys, unique constraints, defaults, and foreign keys; it never executes SQL or connects to a database.
  • Dialect-specific syntax, procedures, triggers, and advanced indexes should be reviewed manually.

Frequently asked questions

Is my SQL uploaded?

No. Parsing and generation happen in this browser, and the input is not sent to a server.

Can I convert multiple tables at once?

Yes. The tool reads multiple CREATE TABLE statements and generates them together.

Related tools