Skip to content
migration.tools
Two CSV files to Differences

CSV compare tool

A migration isn't finished until you have proved the data arrived intact. Export the same table from the old and new systems, give the tool the key column, and it reports every row that is missing, extra or different — and exactly which fields changed.

Options
The column that identifies a row. Separate a composite key with commas.

Source (before)

Target (after)

Differences

Fill in both panels to see the result.

Processed on this device. Nothing you paste or drop is uploaded.

How to use it

  1. 1Put the old system's export on the left and the new system's on the right.
  2. 2Name the key column — an ID or email that identifies each row.
  3. 3Run the comparison and download the differences as CSV.

Reading the report

Rows are matched by key, not by position, so the two files can be in different orders. Each difference is labelled: missing in target (dropped by the migration), only in target (created by it), or changed, with every changed field listed as old → new.

Only columns present in both files are compared, so a column the new system added, such as migrated_at, doesn't flag every row. Columns that exist only in the source are listed in the notes, because a column that silently didn't migrate is a finding in itself.

If the key isn't unique in either file, the tool tells you how many repeats it found — a sign you need a composite key, or that the data has duplicates worth cleaning first.

Questions

How do I compare database tables?

Export each table to CSV with the same column list and a stable ORDER BY, then compare the files here. For large tables, compare a sample by key range, or compare per-table checksums first and diff only the tables that disagree.

Does row order matter?

No. Rows are matched by the key column, so differently sorted exports compare correctly.

Guides that use this tool