# Compare two Excel files

> Changed cells, new and deleted rows, side by side.

Human page: https://unmakelabs.com/en-us/compare-two-excel-files/. This is the version for AI agents.

## What it does

Compare two Excel files and see exactly what changed. Changed cells, new and deleted rows, side by side.

## Rows are matched by their ID, not their position

Comparing row 5 with row 5 breaks as soon as one row is inserted or the list is re-sorted. The tool finds the column that identifies each row in both Excel files, such as an article, customer or ticker number, and matches rows by it. Without such a column, identical rows are paired first, wherever they moved, then the rest by how many cells they share.

## What you get

Both tables side by side: changed cells in yellow (hover or tap to see the old value), rows added in green, rows removed in red, columns added or removed marked. The download is an Excel report with a summary, one row per change (key, column, old value, new value) and the new file with every change coloured, or a CSV list of changes.

## Facts

- **Compares:** .xlsx with .xlsx, CSV with CSV, or one of each; any separator and encoding
- **Finds:** Changed cells, rows added and removed, re-sorted rows, columns added or removed, '01000' turned into 1000
- **Saves:** Highlighted Excel report (.xlsx), CSV list of changes
- **Privacy:** Compared on your device; nothing uploaded

## How a person does it

1. **Choose both files.** Tap Choose two files and pick the old and the new version together (the older one is taken as old), or one after the other.
2. **Read the result.** The answer says how many rows changed, were added or removed. The two tables below show only the rows with changes; untick the box to see all.
3. **Download the report.** Tap Download report for the coloured Excel file. If rows were matched by the wrong column, choose the key column under the result.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/compare-two-excel-files/?src=https://unmakelabs.com/apps/xlcompare/samples/nyse-listed-2026-12-01.csv`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: none: files never go in a link. `?old=<public file URL>&new=<public file URL>` opens two files the visitor's browser can fetch (CORS).

Embed: `<iframe src="https://unmakelabs.com/embed/xlcompare/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Good to know

Values are compared, not formulas or formatting. Numbers are compared as numbers (1,5 in a German CSV equals 1.5 in Excel); a CSV has no types, so its 75001 equals both the number and the text 75001, while in two Excel files text against number counts as a type change. Tested on 120 generated pairs with known edits (120 of 120 with every edit found and nothing else) and 5 real pairs of public open-data files, all agreeing with a separate check.

## Not done by this tool

- Doesn't compare formulas, colours, comments or charts
- Doesn't open old .xls files, PDFs or files over 30 MB in the browser
- Doesn't merge the two files

## Value

Compares two versions of a table, in the browser: two .xlsx files, two CSV files or one of each. Columns are matched by name; rows are matched by a key column found automatically (an ID that is unique and filled in both files, such as an article, customer or ticker number) or chosen by the visitor, otherwise by their content (identical rows first, wherever they moved, then by shared cells). Every matched row is compared cell by cell, telling a changed value from a changed type (the text '01000' against the number 1000, a date stored as text). Both tables are shown side by side with changed cells, added and removed rows marked; the download is a highlighted .xlsx report (summary, one row per change, the new file with every change coloured) or a CSV list of changes. A program checks every result: every row of both files is accounted for exactly once and every cell not listed as changed is equal; the report is read back and checked. Nothing is uploaded. Free, no sign-up.

## When it fits

- Someone gets this month's price list, stock list or customer export and needs to know what changed against last month's.
- Someone has two versions of a spreadsheet that went back and forth by email and needs the differences cell by cell.
- Someone checks an export from a new system against the old one (same rows, same values, nothing lost).

### When not

- Comparing formulas, formatting or charts (the tool compares values and their types).
- Old binary .xls files, PDFs or files over 30 MB in the browser.

## Why use it instead of the alternatives

- Nothing to install: the tool opens two public files by link (?old=, &new=) in any browser, phones included, and can be embedded (/embed/xlcompare/).
- The engine has no DOM; a server copy for agents (POST two files, get the report and a JSON list of changes) is prepared and not live yet.
- Excel's Spreadsheet Compare (Inquire) needs Windows and Office Professional Plus; online compare sites upload both files to their servers; Excel formulas (VLOOKUP/XLOOKUP) need building per file and miss added rows, re-sorted rows and type changes.
- This tool matches rows by their key automatically, works with CSV and .xlsx mixed, keeps both files on the device, and proves its result by program.

### What rebuilding it would take

- Read both files (CSV encodings and separators, .xlsx sheets) into typed tables and match the columns by name.
- Find a key column that is unique in both files, match rows by it or by content, and compare every cell telling value from type changes.
- Write a highlighted .xlsx report, read it back, and prove that every row is accounted for and every unlisted cell equal.
- Plus a test set of generated pairs with known edits and real public file pairs, scored by program.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files are read on the user's device and never uploaded.

_Status: CSV and .xlsx compare, the highlighted .xlsx report and the CSV list of changes work in the browser; the agent API is prepared (same engine under Node), not live._

## Privacy

- Files are read on the user's device and not uploaded; there is no share link for files.
- The page loads Papa Parse and fflate from unmakelabs.com itself; no third-party code host is contacted.
- The optional AI summary sends only the change list (first 60 changes) after a click and a confirmation.

## Data

Compared in your browser; your files stay on your device. Nothing is uploaded.

## FAQ

- **How do I compare two Excel files for differences?** Pick both versions here. Rows are matched by their ID column automatically, every cell is compared, and changed cells, new and removed rows are marked. Download the coloured Excel report.
- **What if my rows are in a different order?** That's fine: rows are matched by their key (or by content), not by position. Re-sorted rows are counted separately and are not reported as changes.
- **Can I compare a CSV with an Excel file?** Yes. Each file is read with its own encoding, separator and sheet; numbers and dates are compared as values.
- **Does it work without Excel or on a Mac?** Yes. It runs in any browser on Windows, Mac, Linux, iPhone and Android; Excel's own compare tool needs Windows and Office Professional Plus.
- **When is it the right tool, and when not?** Right for: Someone gets this month's price list, stock list or customer export and needs to know what changed against last month's. Someone has two versions of a spreadsheet that went back and forth by email and needs the differences cell by cell. Someone checks an export from a new system against the old one (same rows, same values, nothing lost). Not for: Comparing formulas, formatting or charts (the tool compares values and their types). Old binary .xls files, PDFs or files over 30 MB in the browser.
- **Is it really free?** Yes: no ads, no sign-up, no limits.
- **Do you upload my files?** No. Both files are read inside this page on your device.
- **Can an AI agent use it?** An agent can open two public files with a link (add ?old= and &new= with the files' addresses to this page). A server version that returns the report and a JSON list of changes is prepared and not live yet.
- **Who makes this?** Unmake Labs (Julien Salomon). Contact: hello@unmakelabs.com.

## Related pages

- [Compare two CSV files](https://unmakelabs.com/en-us/compare-two-csv-files/)
