🔍 Cell-Level Comparator

CSV Diff Checker

Paste two versions of a CSV to compare them side by side. Instantly detect modified cells, track added or deleted rows, and generate audit changelogs.

Comparing .xlsx workbooks? Use Excel Compare, which opens the files directly.

0 Modified0 Added0 Removed

What is a CSV diff checker?

A CSV diff tool is an analytical utility that compares two spreadsheet versions to locate discrepancies, modified values, newly created entries, and deleted records. Unlike code diff utilities (such as git diff) that treat lines as plain text, a spreadsheet diff tool compares structured rows and cell values, allowing precise cell-level auditing across columns.

How to compare two CSV files

  1. Input both file versions: Paste or load the original baseline dataset into File A and the revised version into File B.
  2. Define primary key (recommended): Enter the name of your unique identifier column (such as id, sku, or email) to track records across position shifts.
  3. Analyze visual highlights: Review the highlighted grid where modified cells appear in yellow, added rows in green, and removed rows in red.
  4. Export audit report: Download a structured difference report summarizing all detected alterations.

Diff matching methods explained

MethodHow It MatchesBest Used When
Primary Key MatchingAligns rows by unique ID (e.g. SKU)Rows have been re-sorted, inserted, or reordered
Positional Line MatchingCompares row N against row NSequential logs, timeseries, or un-keyed data

Need to merge multiple files before comparing? Check out our CSV Merge & Combiner, or sanitize formatting anomalies with our CSV Cleaner & Formatter.

Frequently asked questions

How does key-based CSV comparison work?

When you select a primary key column (such as "id", "email", or "sku"), the diff engine matches records by that unique identifier rather than assuming row line numbers have not changed. This allows it to accurately identify when a specific product price or customer record was edited even if rows were reordered or inserted.

What visual indicators represent differences?

Modified cells are highlighted in warm amber/yellow showing old vs new values, newly inserted records are highlighted in emerald green, and deleted records are highlighted in soft red.

Can I compare files with different column orders?

Yes. The comparison maps data by column header names rather than column positions, allowing accurate diffing even if someone moved or inserted new columns.

Is my proprietary spreadsheet uploaded to an external server?

No. The entire diff computation and rendering execute locally inside your web browser. No confidential commercial or personal files are transmitted.

Can I export the difference report as a CSV file?

Yes. You can download an audit changelog CSV summarizing every modified cell, added row, and deleted record with before-and-after values.