SQL Schema Diff and Migration Draft

Paste the old and new schemas and select a dialect. Review the generated SQL; table and column drops are commented out, and other changes may still affect data.

Runs locally in your browser
This tool processes all data locally in your browser.
Schema snapshotsPaste old and new CREATE TABLE SQL.
Migration draftDestructive actions are commented for review.
Run the tool to display the locally processed result here.
Recent tools: