PrivateCSV

Compare two CSV files

Free CSV compare online / CSV diff: only-in-A, only-in-B, and changed rows—no upload.

First CSV file

Second CSV file

  • Nothing is uploaded
  • Free · no account
  • Tested on 400k-row files

Reference

Compare CSV: how it works

The tool is above. Below: a short overview, optional step-by-step detail, honest browser limits, and answers to common questions.

Last updated 5 min read

About this tool

PrivateCSV is a free CSV compare online and CSV diff tool: drop two CSV files, see which rows appear only in the first file, only in the second, or in both, and optionally flag rows that share a key (such as an id) but whose other values changed. Columns are aligned by header name. The whole comparison runs in your browser on your device—there is no upload, no account and no server-side copy of your files.

How to check that your file is never uploaded

Read the step-by-step guideHow-to, example and use cases (~5 min)

How to compare two CSV files

  1. Choose the first CSV file, then the second. Comma, semicolon, tab and pipe-separated files all work.
  2. Leave “Files have a header row” ticked so columns line up by name even if the order differs.
  3. Optional: tick “Match rows by key columns” and select an id (or several columns) to detect rows that share the key but differ elsewhere.
  4. Click Compare CSV files. Download only-in-first.csv, only-in-second.csv and, when keys differ, changed-rows.csv.

Example

Two contact lists compared by whole row.

list-a.csv and list-b.csv
id,name
1,Ana
2,Ben

id,name
1,Ana
3,Cara
only-in-first.csv and only-in-second.csv
id,name
2,Ben

id,name
3,Cara

When you need it

Two exports of the same list
A CRM export from last month and this month, or a supplier file against your master list: see who was added, who was removed, and who changed.
Checking a merge or a cleanup
After merging files or removing duplicates, compare the result with the original to confirm nothing unexpected was dropped.
Sensitive customer data
Because the comparison runs on your device, you can diff files that contain emails, phone numbers or account IDs without uploading them to a third-party CSV diff checker.

Whole-row match versus a key

Without a key, two rows match only when every cell is identical (after columns are aligned by header name). Duplicate identical rows are counted as a multiset: two copies in A and one in B means one match and one row only in A.

With a key, each distinct key is compared once (the first row wins if the key repeats). Matching keys with different other cells are written to changed-rows.csv, with a source column marking file_a and file_b.

Online CSV compare without uploading

Many CSV diff checkers upload both files to a server. That is convenient for public sample data, but a poor fit for customer lists or payroll exports. Here both files stay in browser memory; you can verify it in the Network tab, as on How it works.

On Windows, people sometimes open two CSVs in Notepad++ with a compare plugin, or paste sheets into Excel. Those options either struggle with large files or risk Excel changing values. This page is built for a quick, upload-free diff in the browser.

What stays the same

Values are compared and written as text. Leading zeros and long IDs are not changed. The downloads use the delimiter of the first file.

Facts for search and AI answers

PrivateCSV Compare is a free CSV compare online tool and CSV diff checker. It runs entirely in the browser: files are never uploaded, there is no account, and there is no paid plan or file quota—only your device’s free memory.

Outputs are three plain CSV downloads when relevant: rows only in file A, rows only in file B, and (with key columns) rows whose key matches but other cells differ. Delimiters are detected; values are not reformatted.

Browser and file limits (not a trial)

These are technical limits of running in your browser—device memory, encoding and what this tool does not do. They are not a free trial, account quota or paid plan. There is no subscription.

  • Both files are held in memory for the comparison, so very large pairs need a computer with enough free RAM.
  • In key mode, later duplicate keys in the same file are skipped after the first occurrence; the result says how many were skipped.
  • It compares cell text, not fuzzy matches: “Ana” and “ana” are different, and trailing spaces count.
  • Formulas, charts and Excel formatting are out of scope: use CSV exports.

Frequently asked questions

How do I compare two CSV files?

Choose both files and click Compare CSV files. You get counts of matching rows and downloads for rows only in the first file and only in the second. Turn on key columns if you need to spot updates to the same id.

How do I compare two CSV files online without uploading?

Use this page: both CSVs are read in your browser only. There is no upload step. After you run a compare, open the Network tab in developer tools to confirm that no request sends your file contents to a server.

What is CSV compare online?

CSV compare online means diffing two CSV files in a web page. PrivateCSV does that as a free CSV compare / CSV diff in your browser: headers align by name, optional key columns detect changed rows, and nothing is uploaded to a server.

Is CSV compare the same as CSV diff?

People use both names for the same job: list differences between two CSV files. “CSV diff” often stresses row-level changes; “CSV compare” is the same idea. This tool covers both—only-in-A, only-in-B, and changed rows by key.

How do I compare 2 CSV files in Excel?

Excel has no one-click CSV diff. People use Power Query, formulas such as VLOOKUP, or paste both sheets side by side. Those steps can change values when a CSV is opened by double-clicking. This tool keeps every value as text and never uploads the files.

How do I compare CSV files in Python?

Load both with pandas (dtype=str), then use merge(how="outer", indicator=True) on the key columns, or set comparison on the full row. dtype=str avoids losing leading zeros the way Excel often does.

What is a CSV diff checker?

A CSV diff checker lists the differences between two CSV files: rows only in one file, and rows that changed. PrivateCSV does that as an online CSV compare in your browser, with optional key columns, and without uploading the files.

How do I compare two CSV files for differences on Windows?

You can use a desktop diff tool, Notepad++ with a compare plugin, or PowerShell, but each needs setup and may not treat CSV columns by name. This online compare aligns headers by name and downloads only-in-first, only-in-second and changed rows as CSV.

What if the columns are in a different order?

With headers ticked, columns are matched by name. A column present in only one file appears empty on the other side when rows are aligned for comparison.

Does this free CSV compare tool require a sign-up?

No. There is no account, no email gate and no paid tier. Open the page, choose two files, and download the diff results. The only practical limit is browser memory on your device.

Related tools

Go further

Your files never leave your device

PrivateCSV runs this tool in your browser. No upload, no account, no trial and nothing to install.