CSV Compare Tool
Find what changed between two CSV files. Rows are matched by a key column or by position, and every added row, removed row and changed cell is listed. Both files stay in your browser.
File A (original)
File B (updated)
How to Compare Two CSV Files and Find Every Difference
Why a plain text diff is not enough for CSV
A text diff compares lines. That works until someone re-sorts the file, adds a column or re-exports it with different quoting, and then nearly every line looks changed even though the data is the same. A CSV comparison works on rows and cells instead. It lines up each row with its counterpart, then compares the values column by column.
Quick 3-step comparison
- STEP 1Add both files: File A is the original and File B is the updated version. Delimiters are detected automatically.
- STEP 2Choose how rows match: Tick a key column such as an ID. If you do not, row 1 is compared with row 1, row 2 with row 2, and so on.
- STEP 3Review and export: Browse changed cells, added rows and removed rows, then download the differences as CSV files.
Key column or row position?
Use a key column whenever your data has a unique identifier. A customer who moved from row 40 to row 12 is then still compared with their own earlier record, and you see the actual change instead of two unrelated rows. Compare by position only when both files are in the same order and nothing was inserted or deleted, such as two exports of an ordered log.
If your key has duplicates, the tool compares the first row for each key and tells you how many repeats were ignored. Fix the duplicates first with theduplicate rows guide if you need every row compared.
What counts as a difference
Cells are compared as exact text, so 1.0 and1, or 00123 and 123, are different. That keeps leading zeros and formatting changes visible. Turn on the trim and ignore-case options to forgive stray spaces and capitalization. Columns are matched by header name, so a different column order is not reported as a change, while columns that exist in only one file are listed separately.
Both files are read and compared in your browser with JavaScript, and their contents are not sent to a server.
CSV Compare FAQ
How matching works, what counts as a difference, and how your files are handled.
How do I compare two CSV files?
Add the original file as File A and the updated file as File B. Tick the column that identifies each row, such as an ID or email, so rows are matched even if they were reordered. The tool then lists added rows, removed rows and every changed cell. If you tick no key column, rows are compared by position instead.
What is a key column and which one should I choose?
A key column holds a value that is unique for each row, like an order ID, SKU or email address. Matching by key means a row that moved to a different position is still compared with its own earlier version. Pick a column that is filled in for every row and has no duplicates. The tool suggests one automatically when it finds a good candidate.
Are my files uploaded to compare them?
No. Both files are read and compared by JavaScript in your browser, and their contents are not sent to our servers. You can confirm this in your browser's Network tab.
Does the comparison ignore column order and extra columns?
Columns are matched by header name, so the same columns in a different order still compare correctly. Columns that exist in only one file are listed separately and are not counted as cell changes. Header names are compared after trimming spaces, and you can also ignore letter case.
Why does a number like 1.0 show as different from 1?
Cells are compared as text, exactly as they appear in the file, so 1.0 and 1 are different values. This is deliberate: it keeps leading zeros, long IDs and formatting differences visible. Use the trim and ignore-case options to forgive spacing and capitalization differences.
How large can the files be?
The comparison runs in your browser's memory, so the limit depends on your device. Files with a few hundred thousand rows normally compare in seconds. Each file is limited to 100 MB; split larger files first.