Compare two CSV files

Match rows by ID and see what’s missing or different.

File A

Drop a CSV or TSV here · up to 1 GiB

File B

Drop a CSV or TSV here · up to 1 GiB

Choose two files to begin.

How to compare two CSV files by ID

  1. Choose a CSV or TSV for each side and check the detected delimiter in Preview & input settings.
  2. Select the fields that identify one record in each file. For order items, add the line number to the order number.
  3. Review Only in A, Only in B and Changed, then download the report. Source record numbers include the header and count quoted multiline records once.

Detailed guide: Compare two CSV files by ID without treating reordered rows as changes

Practical example

Compare an order export with a payments export. Pair Order ID with Reference, and Amount with Gross. The sample has one record on each side with no match and one amount change for the same ID.

What happens to your files?

Files are read in a browser worker. Comparison keys and selected values stay on your device. The tool handles up to 1 GiB and 1,250,000 records per file, with separate limits for indexed values and exports. Large selected columns can reach the memory budget before either file reaches its size limit.

Frequently asked questions

Will a different row order create differences?

Rows match on the chosen keys. Sorting either source does not change the matches.

What if a key appears twice?

All records with that key on both sides need review. If each order has a line number, add it as a second key.

Are 00123 and 123 the same key?

They are separate keys. The tool compares raw text, including leading zeros, case and spaces.

Can I check one file before comparing?

Use CSV Converter to inspect a single file or prepare a UTF-8 copy.