CSV Diff — Compare Two Files by Key
Compares two files on a key column and reports added, removed and changed values.
Loading the tool…
How to use this tool
- Paste the earlier version on the left and the later one on the right.
- Name the column that identifies a row in both files.
- Compare, then read the change column to see what was added, removed or altered.
What csv diff does
A plain text diff of two extracts is nearly useless, because a single reordered row makes every line after it look changed. Comparing by key instead of by position gives an answer that means something: this identifier is new, this one has gone, and on this one the status column changed from active to closed.
Only columns present in both files are compared, and the result names the column and shows both values side by side, so a change is legible without going back to the sources. Rows are matched on the key column you nominate, so the comparison is only as reliable as that key — if it is not unique, the first matching row wins and the rest are not compared.