CSV Compare
← SkillSafe

Compare two CSV files and see what changed

Drop the old and the new version. Added, removed and changed rows appear at once, with every changed value marked.

Drop both CSV files here

Pick both at once, or one and then the other. Comma, semicolon or tab separated.

No files handy? Try one:

How it works

  1. Drop the two versions. Choose both files at once, or one and then the other. The older file (by date saved) is treated as the old version; press Swap old and new if it guessed wrong. You can also paste the data.
  2. Rows are matched. The page looks for a column that identifies every row in both files, such as an ID, SKU or email, and falls back to a pair of columns or to row position. Change it under Match rows by.
  3. Read the result. Counts of added, removed, changed and unchanged rows, columns that came or went, and a by-column list such as “price: 5 rows: all up, +6.7% to +10.0%”. The table marks each changed value with its old value.
  4. Take it with you. Download the differences as CSV (one line per added, removed or changed row), the changed values as CSV (one line per value), a Markdown report or JSON, or copy a summary.

Questions

How does it decide which rows are the same row?
It looks for a column that is filled in and different on every row of both files, such as an ID, SKU or email, and prefers one whose name looks like an identifier. If no single column works it tries pairs of columns, such as first and last name. If nothing identifies the rows it matches them by position. You can change the choice under Match rows by.
Is anything uploaded?
No. Both files are read and compared inside your browser tab. Only the optional AI explanation sends anything: a summary of the differences and up to 40 example changes, and only when you press its button.
Why does every row show as changed?
Usually because one column changed format everywhere, such as dates written 3/14/2024 in one file and 2024-03-14 in the other. The page labels those as the same date in a new format. Untick a column under More options to leave it out, or look at the by-column list to see which column is responsible.
Can it compare Excel files?
Save each sheet as CSV first: in Excel or Numbers choose File, Save As or Export, CSV; in Google Sheets choose File, Download, Comma-separated values. Then drop the two .csv files.
How big can the files be?
Tens of thousands of rows compare in a moment on a laptop. The table on the page shows the first 300 differences; the downloads always have all of them.