MySQL schema compare

Upload two MySQL 8 CREATE TABLE SQL files, review column differences, and copy or download a source-to-target migration script. Swap the files to reverse the migration direction. Files stay in your browser.

Processed in your browser
Source · current structure

No file selected

Target · desired structure

No file selected

A QUICK START

How to use MySQL schema compare

  1. Choose source and target .sql files containing CREATE TABLE statements.
  2. Review the differences and swap direction when needed.
  3. Review, copy, or download the generated MySQL migration SQL.
GOOD TO KNOW

A few small questions.

Which file is the source?

The source is your current structure. The target is the structure you want. Swap them to reverse the SQL direction.

Are my SQL files uploaded?

No. Your browser reads and compares the selected files locally.

Does this execute SQL?

No. It only prepares a script for you to review and run yourself.

Another little helper?

All tools ↗