Runs in your browser. No file uploads for processing.
Compare Two CSV Files by Key Column
Compare two CSV files by ID or multiple key columns. See added and removed rows, changed cells, and reordered headers without uploading either file.
Loading tool...
How to compare two CSV files by ID
Open the before and after CSVs
Pick two local UTF-8 files or paste both exports. Choose the separator for each, then read their headers.
Choose how records match
Select one shared unique ID or combine two or more columns, such as SKU and warehouse. Use Headers only when you just need to check the file structure.
Review differences or download them
See rows added to or removed from the after file and see the previous and new value of each changed shared field. Column changes appear separately.
Use cases
Compare stock counts for the same item in different warehouses by combining SKU and warehouse code.
Check what changed in a new supplier export even if its rows or headers have been rearranged.
Limits and privacy
Each input must be UTF-8 with a unique, nonblank header per column. Up to 2 MB per file, 100 columns and 20,000 records including the header per input.
Matches and values are exact text: case, spaces, dates and leading zeros are not normalized. Do not use a field such as stock count as part of a key.
Only columns present in both files are compared for cell changes. Newly added or removed columns appear in the header summary.
All counts are exact. If the report exceeds 30,000 detail lines or its text-size limit, detail export is disabled; compare smaller subsets for a full export.
The tool processes inputs in your browser. Account features and usage analytics are separate.
Frequently asked questions
How do I compare two CSV files by ID instead of row order?
Open two files locally and select a shared ID or a combination like SKU and warehouse. Compare row additions, removals, before-and-after values and header changes without uploading the source files.
What should the inventory example show?
Select sku and warehouse as key columns. SKU 00123 in warehouse B changes stock from 8 to 12. SKU 00555 in A is removed, SKU 00777 in A is added, and the source column is new.
Can I compare CSV files if the rows are not in the same order?
Yes. Rows match by the values in the selected key columns, not by position. Shared columns are matched by their header names, so reordered columns do not create cell changes.
What if the same ID appears several times?
Select another shared column along with the ID, such as warehouse, to make each key combination unique. If a key is still repeated or blank, the tool reports the offending record instead of guessing.
Does it distinguish 00123 from 123?
Yes. Keys and cell values remain text. This preserves leading zeros and treats 00123 and 123 as different values.
Are my CSV files sent to a server?
No. Comparison runs in the browser. The tool reads your local files or pasted data and creates the report on the device.
Can I check headers without showing the data rows?
Yes. Choose Headers only to see added, removed and repositioned field names without comparing or showing row values. The inputs are still validated as delimited text.
Why might an exported report contain apostrophes?
The CSV export adds an apostrophe to formula-like cells as a precaution when opening in a spreadsheet. This changes those exported cells and is not a guarantee in all spreadsheet apps; the on-screen comparison shows the original values.
Related tools
CSV Column Extractor - Keep, remove, or reorder CSV columns in your browser. Preview the selected fields before downloading a new CSV.
CSV Lookup Join - Merge two CSV files by matching columns, add only the fields you need and see which rows did not match. Works in your browser without uploads.