Compare Two CSV Files
Match rows by a key column and find added, removed and changed records.
How to compare CSV files
- Paste or open the before and after files.
- Choose a key column on each side and the value columns to compare.
- Review differences and unresolved rows; download the full report.
What the comparison shows
- Matches records by exact key, regardless of row order.
- Shows duplicate keys separately instead of guessing.
- Exports complete JSON and CSV reports.
- Compares only the selected value columns and lists schema differences separately.
When this is useful
- Check changes between inventory exports.
- Compare reports with reordered columns.
- Audit changed prices in recurring supplier files.
How to read the results
Added means only in B; removed means only in A. A changed key appears as a removal and an addition.
One-sided columns are schema differences; excluded fields limit equality.
Reading the CSV record report
The CSV report uses fixed field names: status, key_before, key_after, row_before, row_after, before_present, after_present, changed_columns, before_values, after_values, reason. Source record numbers are 1-based and include the header record.
The statuses added, removed, changed, unchanged and unresolved are stable codes. changed_columns and the values fields contain JSON arrays; a missing side is JSON null. The JSON report also includes settings, column mappings and counts.
Privacy and limits
Files are parsed in your browser. Each may be 10 MiB raw and 5 million text units; together they may contain 2 million cells.
CSV comparison questions
Related tools
JSON to CSV Converter
Convert flat JSON records to delimited text with first-seen columns, original number spellings and explicit empty-value rules.
Open tool — JSON to CSV ConverterCSV Delimiter Converter
Convert CSV separators, preview real columns and spot import problems. Works locally with CSV, TSV and text; values remain unchanged.
Open tool — CSV Delimiter ConverterCSV Duplicate Finder & Remover
Find exact duplicate CSV rows or repeated IDs. Review conflicting values, keep original data and download retained, removed and unresolved records.
Open tool — CSV Duplicate Finder & RemoverCSV Merger
Combine rows from several CSV files by exact column name. Preview alignment and download CSV with a merge report.
Open tool — CSV MergerCSV to JSON Converter
Convert CSV text or UTF-8 files to JSON objects or arrays, keeping cells as strings without guessing data types.
Open tool — CSV to JSON ConverterCSV Splitter
Split a CSV by rows or exact file size. Keep headers and download each part.
Open tool — CSV Splitter