Lukas Labs
VeilPress RowSlate ThreadAttic Sitefence Tools Guides Pricing
Install Free →

Offline Spreadsheet & Table Diff

How to Compare Two Excel or CSV Files by Primary Key (ID Column) Offline

Updated December 2026 · Disclosure: We build the offline diff tool and RowSlate extension described below.

Comparing two versions of a price list, payroll spreadsheet, inventory export, or ETL output is painful with standard tools. Excel's built-in comparison hides behind enterprise licensing, Python scripts take 15 minutes to re-verify every time column names shift, and cloud "online Excel diff" websites ask you to upload confidential financial or HR tables to someone else's server.

Why primary-key alignment changes everything

Instead of comparing line #42 on the left against line #42 on the right, primary-key diffing matches records by a unique identifier column (such as id, order_id, sku, email, or uuid):

  • Reordered rows produce zero noise: sorting a sheet alphabetically or inserting 10 rows at the top will not turn the entire diff red and green.
  • Cell-level deltas: modified rows highlight only the exact columns that changed (old → new), while cleanly separating +Added, -Removed, and ~Modified rows.
  • Cross-format support: compare an .xlsx file directly against a .csv or .parquet file without converting formats first.
  • Duplicate-key safety: deterministic duplicate disambiguation (key [dup #2]) ensures rows with repeated IDs are never silently overwritten.

Step-by-step: Run an offline primary-key diff in 15 seconds

  1. Open the free Lukas Labs Offline Excel / CSV / Parquet Visual Diff Tool (works offline with zero uploads).
  2. Drop your base file on the left and updated file on the right — or click Load Sample Diff (Parquet vs CSV) to see cross-format primary-key alignment in action immediately.
  3. Verify the auto-detected key column (or pick any column from the dropdown).
  4. Click Export HTML Audit Report (self-contained shareable report) or Export Highlighted Excel (.xlsx) to send color-coded changes to a teammate or auditor.

Need >5,000-row diffs or 1-click Git HEAD diff inside VS Code / Cursor?

For repositories containing versioned .xlsx, .csv, .parquet, or .sqlite fixtures, RowSlate embeds this exact primary-key diff engine into VS Code & Cursor Source Control. Free handles diffs up to 5,000 rows; RowSlate Pro ($29 one-time lifetime / $19 yr) removes the row cap and adds transactional SQLite migration .sql exports.

Compare spreadsheets locally without leaking a single byte

Open Offline Visual Diff Tool → Get RowSlate Pro ($29 Lifetime)

© 2026 Lukas Labs · Offline Diff Tool · RowSlate · All Guides · Privacy