Home / Tools / Compare two CSV files
CSV WORKSPACE

Compare two CSV filesFREE · LOCAL

Find added, removed and changed records using a unique key column.

Files and input stay in your browser. Input up to 5MB. Tables: 20,000 data rows · 200 columns. Output up to 20MB.

01Input and options

02Review the result

The table preview shows the first 50 data rows. Copy and download include the full text result; split ZIP contains all parts while copy shows only the first part. CSV / TSV downloads use UTF-8 BOM. Formula-like values may receive a protective apostrophe. Review leading zeros, dates and blanks when reopening in a spreadsheet.

Enter data or load an example to begin.

How to use Compare two CSV files

  1. Load the example to check the expected input shape, or select your file. Keep a separate copy of the original.
  2. Review the options and rules below. Run the tool, then compare representative values, row counts and headers.
  3. Copy the output or download a new file. Input changes clear the previous result so you cannot download stale output.

Rules and limitations

Both tables need identical headers and column order. Key values must be nonempty and unique in each table. A changed row can produce several changed-cell records. Whitespace comparison is optional. Reports are limited to 20,000 rows and 20MB.

Worked example

Use the English example button above. Identifiers such as 0012 are strings; they should not silently become 12. For conversion, compare record counts before and after. For cleaning, filtering, comparison and lookup, check the operation-specific summary.

The examples have three rows each. By key column 1: 0048 is added, 0036 is removed, 0012 changes team from Sales to Planning, and 0024 is unchanged. The report has three records.

Troubleshooting

If columns shift, check the delimiter and quote fields containing delimiters or newlines. If characters look wrong, select the encoding before loading the original file again. CSV has no stored cell types; spreadsheet software may infer numbers and dates when opening it.

Does my file leave my device?

The tool processes selected files and pasted input in browser memory. It does not upload the file or its name. Hosting providers may process page-request metadata such as IP address and requested URL. See the privacy notice.

Read the usage reference · Choose another tool