Code tool

Migration SQL Generator

Describe a table and columns to draft portable SQL for review.

In-browser processingNo account requiredPrivacy details ↗

Ready to generate a migration.

SQL is a draft. It is not connected to a database and does not validate your schema or dialect.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter a table name and columns.
  2. Choose an operation.
  3. Review and copy the SQL.

Everything is generated locally in this browser.

SQL is a draft. It is not connected to a database and does not validate your schema or dialect.

GOOD TO KNOW

Common questions

SQL is a draft. It is not connected to a database and does not validate your schema or dialect.

Everything is generated locally in this browser.