Diff & PII VaultPrimary-Key Diff0 bytes uploaded

Compare CSV Tables by Primary Key

Stop row insertions from shifting every line in your spreadsheet diff — match records by primary key column locally in browser memory.

100% Browser-Local — Verify 0 bytes uploaded in Network tabVerify 0 bytes sent in Network tabUpdated: 2026-11-24
  • 0 bytes uploaded
  • Primary-key cell comparison
  • Auto-detects CSV/TSV delimiters

Select CSV A & B

primary-key row alignment · auto delimiter · .diff download.csv · .tsv

Zero upload limits · Runs in browser RAM

Benchmark & Expected Output

Primary-key row & cell diff

Before (Input)
sku,name,price,stock
SKU-1,Parquet Pack,29,40
SKU-2,SQL Addon,19,15
SKU-3,Schema Kit,49,8
After (Output)
Primary-key row diff highlighting changed cells, added & removed rows
CSV · Format specs
PropertyCSV
File extension.csv
MIME typetext/csv
Structure typeTabular
EncodingUTF-8 Text
Nesting supportNo
LLM token efficiencyMedium
Schema / typedNo
Best forFlat spreadsheets, database imports, Excel interoperability, and quick row/column diffing across tabular exports.
How it works

How to use CSV Diff locally in your browser

Align two CSV/TSV exports by primary key column (e.g. sku, id) to highlight exact modified cells, added rows, and removals.

01

Load CSV A & CSV B

Paste or drop two CSV/TSV snapshots into panes A and B.

02

Set primary key column

Enter a column like sku or id (or let DataTo auto-align rows) and choose delimiter settings.

03

Review changed cells

Inspect added rows, removed rows, and exact cell-level updates or export .diff.

Next step

Continue your data pipeline

Related tools

Related data & AI tools

Format specs

Formats · Guides · Compare

FAQ

Frequently asked questions

Why use primary-key CSV diff instead of line diff?

If one row is inserted near the top of a CSV, plain line diffs mark the rest of the file changed; primary-key alignment pinpoints only the modified cells.

What happens if Primary key column is left blank?

DataTo compares rows intelligently by normalized row order or first identifier column.

Does it handle semicolons and TSV tabs?

Yes. Delimiters are auto-detected across comma, tab, semicolon, and pipe.