CSV Diff
Diff two CSV documents row by row using a key column, and see exactly what changed: rows added, rows removed, column changes, and per-cell value changes with old and new text. Header changes and duplicate keys are reported as issues. Quote-aware parsing follows RFC 4180, and everything runs on-device with no upload.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
Options
Your result will appear here
Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.
How it works
How the two files are matched
Paste one CSV into the main box and the other into the Second CSV (B) field, then name the column that identifies a row, id by default. Rows pair up by that key value, so they may appear in any order, and cells are compared only for columns the two files share, with the key itself left out of the comparison.
When comparing two exports is worth it
It fits a price list, nightly export or database dump that changed between two runs: you want the records added, deleted or edited since the last version without scrolling thousands of lines in a spreadsheet.
Delimiters and what the report shows
The delimiter option takes a comma, semicolon, tab, pipe or auto-detect, which counts separators across the first five lines and picks the most frequent for each side independently. The output counts rows added, removed, changed and unchanged, and lists each changed cell with its old and new text alongside any header differences.
Parsing rules and duplicate keys
Parsing follows RFC 4180, so doubled quotes and newlines inside quoted fields survive and blank rows are ignored. Each file is capped at 20,000 rows. If a key repeats, the last occurrence is used and the duplicate is reported; a key column missing from either file stops the run and names the columns that do exist.
The comparison never leaves the page
Both documents are parsed and diffed in the browser only, so the data is never sent to a server and no copy is kept.
Questions
How are rows matched between the two files?
By the value of the key column you choose (default "id"). Every row is identified by that cell, so rows may be in any order and still match.
What if the two files have different columns?
Separate entries report columns only present in A or only in B, and each shared column is still compared cell by cell. The key column is excluded from value comparison.
Are duplicate keys reported?
Yes. If a key appears more than once in the same file, that is reported as a duplicate-key issue; the last occurrence is used for comparison.
How is the delimiter chosen?
Auto-detect counts comma, semicolon, tab and pipe characters in the first lines and picks the most frequent. You can also force one from the dropdown.
Related tools
See categoryCSV Profiler
Profile a CSV file: per-column type inference, missing values, unique counts, and numeric stats.
JSON Diff
Structural diff of two JSON documents, showing added, removed and changed values by path.
CSV to JSON
Parse CSV (RFC 4180) into a JSON array, with delimiter sniffing and type inference.
CSV Formula Injection Guard
Detect and neutralize spreadsheet formula injection in CSV cells.