local/tools
data / Native app / v1.0.5

Excel Diff

Compare two Excel or CSV files cell by cell: values, formulas, formats, inserted rows and columns, sheets and named ranges.

Install

  • install
    irm https://raw.githubusercontent.com/chayprabs/localtools/main/excel-diff/install.ps1 | iex
  • update
    localtools-excel-diff update
  • remove
    localtools-excel-diff uninstall

Opens at http://127.0.0.1:47109 in your browser. Run localtools-excel-diff --help for the command line. Set LOCALTOOLS_NO_OPEN=1 to install without opening it.

Direct download

PlatformFileSize
Linux ARM64excel-diff-1.0.5-linux-arm64.zip4.3 MB
Linux x64excel-diff-1.0.5-linux-x64.zip4.7 MB
macOS Apple Siliconexcel-diff-1.0.5-macos-arm64.zip4.4 MB
macOS Intelexcel-diff-1.0.5-macos-x64.zip4.8 MB
Windows x64excel-diff-1.0.5-windows-x64.zip4.8 MB

SHA-256 checksums are in the release notes; the install scripts verify them for you.

See it

How to use

  1. Run localtools-excel-diff (or open Excel Diff from your app menu); it opens in your browser.
  2. Drop the original workbook as A and the changed one as B (.xlsx, .xlsm or .csv).
  3. Optionally ignore whitespace, case, number formats or formulas, or give key columns (e.g. A) to match rows by ID, then press Compare.
  4. Pick a sheet and step through the highlighted changes with Previous/Next change; click a cell to see old and new value, formula and format.
  5. Download the report as JSON or CSV, or an annotated copy of B with changed cells highlighted. From scripts: localtools-excel-diff old.xlsx new.xlsx --json (exit code 1 when different).

FAQ

Does inserting a row make every cell below it look changed?

No. Rows and columns are aligned first (Myers diff over row hashes, like git diff), so an inserted or deleted row or column is reported once and the cells below are compared with their real counterparts.

Are numbers rounded?

Values are shown and exported exactly as stored in the file, so 12345678901234567890 stays intact. Equality uses the stored double, like Excel, so 0.1 and 0.10000000000000001 count as equal.

My rows were re-sorted. Can it still match them?

Yes: enter one or more key columns (for example A or A,C). Rows are then matched by those values, like a database diff, and only real changes are reported.

What else is compared besides cell values?

Formula text, number formats, optionally cell styles, sheets added/removed/renamed (renames are detected by content), defined names, merged ranges, data validations and comments.

Can it compare a CSV with a workbook, or .ods files?

CSV against CSV or against a workbook works (numbers compare by value). OpenDocument .ods and legacy .xls are not supported; save them as .xlsx first.