Compare CSV Files

Your input stays in your browser and is never sent.

Compare two CSV files and pull out the differences. Match rows on a key column and see added rows, removed rows and changed cells colour-coded.

Files are compared on this device and never sent to a server.

What the CSV Compare Tool Does (Key Column Matching, Added and Removed Rows and Columns)

This tool lines up two CSV files and pulls out only what changed. Pick a key column such as a member ID or product code, and rows are paired by that value even when the order differs. Everything from reading to extraction happens inside your browser.

How matching two CSV files on a key column works
When you pick a key column, rows with the same value in that column are paired before their contents are compared. Files exported in a different sort order, or with rows inserted in the middle, will not report every row as changed. You can pick several keys, so tables where a branch code and an employee number together identify one record also work. Without a key, rows are compared by position from the top.
Telling added rows, removed rows and changed cells apart
Rows found only in the new file are marked "Added", rows found only in the old file "Removed", and paired rows whose contents differ "Changed", each in its own colour. For changed rows the tool shows exactly which cells changed, with the old and new values side by side. You can tell whether rows were added or values were rewritten without checking them one by one.
What happens when columns were added or removed
Columns are matched by header name, so reordered columns are still compared as the same column. A column present on only one side is flagged in its header as an added or removed column, and its cells are not counted as changes. Otherwise adding a single column would mark every row as changed. When the same header appears more than once, columns are paired in the order they appear.

Find the Differences Between Two CSV Files in 3 Steps

  1. Choose the two CSV files to compare. Files exported in Shift_JIS are read as they are
  2. Choose the key column to match rows on. If the row order never changes, you can skip this
  3. Click "Find differences", check the colour-coded result and save it as CSV

The CSV Files You Choose Are Never Sent Anywhere

Comparing CSV files often means handling customer lists or payroll data. This tool never sends the files you choose anywhere.

Why the comparison finishes inside your browser

Reading, matching and writing the result all run inside your browser. The file contents never go out over the network and nothing is left once you close the page. Nothing needs to be installed.

What to check when handling customer lists or payroll data

Many workplaces need approval before business data goes to an outside service. You can confirm that nothing is sent by keeping the network log open in your browser's developer tools while you use the tool, so you can check it yourself before asking for approval.

When Comparing CSV Files Is Useful (Member Lists, Product Masters, Accounting Exports)

Checking two tables against each other usually means writing spreadsheet formulas or scrolling until something looks wrong. Letting a tool extract the differences makes it much harder to miss one.

  • See which members joined or left since last month's listComparing last month's member list with this month's shows who left, who joined and whose address or phone number changed, all at once. Match on the member ID and a changed sort order does not affect the result.
  • See which products changed price in a product master updateMatch on the product code and compare the master before and after a price revision: the products that moved separate from the ones that did not. Discontinued and newly added products come out in the same pass, so the announcement can be written straight from the result.
  • Reconcile an accounting export against a bank CSVMatch on date and amount and any transaction that exists on only one side stays behind. Those are your candidates for a missing or duplicated entry.
  • How this differs from comparing with Excel formulasVLOOKUP and COUNTIF can do this too, but the formulas take time to build, inserted rows shift the references, and added or removed columns mean rewriting them. Picking a key column is faster when that is all you need; Excel is the better fit when you also need detailed calculations.

Comparing Excel Workbooks or Plain Text Instead

  • Excel CompareCompare xlsx workbooks directly, sheet by sheet, without exporting to CSV first.
  • Text Diff CheckerFor prose rather than tables, highlight what changed character by character.
  • CSV ViewerNot sure which column to use as the key? Look at the file as a table first, then come back.
  • CSV Encoding ConverterIf a CSV opens with garbled characters, convert its encoding first.

Frequently Asked Questions About the CSV Compare Tool

Can I compare two CSV files whose rows are in a different order?

Yes. Pick a key column such as a member ID or product code. Rows are matched on that value before being compared, so the order does not matter. Without a key column, rows are compared by position, and a different order will report every row as different.

What happens if one file has extra or missing columns?

Columns are matched by header name, so reordered columns are still recognised as the same column. A column present on only one side is flagged as added or removed, and its cells are not counted as changes.

Does it work when the same ID appears in several rows?

Yes. Rows sharing a key are matched in the order they appear, and any left over on either side are reported as added or removed.

Will Shift_JIS files come out garbled?

No. The encoding is detected when the file is read, and the saved diff is written in the same encoding as the old file, so it opens cleanly in Excel on Windows.

Can I compare CSV files that have no header row?

Yes. Clear "Treat the first row as headers" and the first line is compared as data. Columns are then matched by position rather than by name.

Are the CSV files I choose ever sent anywhere?

No. Reading, comparing and writing the result all happen inside your browser. Nothing leaves your machine, and nothing is kept once you close the page.