Compare Two CSV Files by Key Column (100% Browser-Local)

Audit row and cell changes between File A (old) and File B (new) strictly in browser RAM. CSV/TXT only; 0 bytes uploaded.

Desktop diff limit: 50 MB / 250k rows per file

Dual CSV Dropzone & Key-Column Diff Summary

File A (Baseline / Old)

CSV-only (.xlsx/.xls/.pdf rejected pre-flight).

File B (Comparison / New)

CSV-only (.xlsx/.xls/.pdf rejected pre-flight).

Supports comma (,), semicolon (;), tab, pipe (|), UTF-8 & Windows-1252.

How Key-Column CSV Diff Works

Primary Key Matching vs Line-by-Line Diff

Plain text diffs break when rows are reordered between exports. Key-column CSV diff indexes records by full-precision string primary keys (ID, SKU, NIK) to classify rows cleanly into UNCHANGED, MODIFIED, ADDED, and REMOVED.

Deterministic Duplicate & Empty Key Handling

When exports contain duplicate identifiers or blank key cells, deterministic key tagging (#1, #2, and (EMPTY)#1) plus duplicate warnings prevent rows from silently overwriting each other.

Safe Diff Report Export (.xlsx & UTF-8 BOM .csv)

Download audit reports containing _DIFF_STATUS and _CHANGED_FIELDS with primary key columns and long IDs locked strictly as XML String cells so spreadsheets never truncate them.

CSV Comparison FAQ

Can I compare two binary .xlsx files directly in CSV Diff?

No. CSV Diff intentionally accepts plain-text .csv or .txt files only so comparison stays 100% client-side in browser RAM. Export your Excel sheets via Save As -> CSV UTF-8 first.

What happens if File A and File B use different header names for the primary key?

When no identical header name exists across File A and File B, CSV Diff switches cleanly to manual Key Column A and Key Column B selectors so you can still pair and compare records.

Does CSV Diff upload my files to a server?

No. SheetRescue uses a static Cloudflare Pages architecture with zero upload APIs and runs file parsing and diffing solely inside client-side Web Workers in browser RAM.