# Spreadsheet comparison

> Compare two spreadsheets or CSV files and see changed cells, added and deleted rows and new columns, matched by an ID column. Free, private, no upload.

Canonical: https://cromagnon.app/tools/data-diff
Last updated: 2026-10-26

- Category: Analyze
- Formats: CSV · XLSX · XLS · ODS
- Use it: https://cromagnon.app/tools/data-diff (free, runs in the browser)

## What it does

Compare two versions of a table, such as last month's and this month's price list, an export before and after an import, or a file you sent and the one that came back, and see exactly what changed. Changed cells are shown with the old value crossed out and the new one next to it, new rows in green, deleted rows in red, and new or removed columns at the top. Rows are matched by an ID column (picked for you), so a sorted or re-ordered file doesn't make every row look changed. CSV, Excel and ODS files work, and you can paste cells straight from Excel or Google Sheets.

## How to use it

1. Drop the old version on the left and the new version on the right, or click Paste instead to paste cells. Try with two sample price lists to see how it works.
2. If a workbook has several sheets, pick the sheet to compare on each side.
3. Check Match rows by: the tool picks a column with a unique value in every row, such as an ID, SKU or email. Pick Row order if there is none.
4. Choose what counts as the same: extra spaces, capitals, and numbers written differently (1.50 and 1.5).
5. Read the counts, scroll the highlighted table, and download the differences or the full comparison as CSV.

Tip: Always match by an ID column when there is one. Without it, the tool has to guess which rows belong together, and a row whose ID and several other cells changed looks like one deleted row plus one new row.

## How rows and columns are matched

- **Columns by name**: With “First row has column names” ticked, columns are matched by header, so a column that moved from C to E is still compared with itself. Columns only in the new file are listed as added, those only in the old file as removed, and neither makes rows count as changed.
- **Rows by ID**: Each row in the old file is paired with the row in the new file that has the same ID, wherever it is. Rows whose ID appears only in the new file are added; IDs that disappeared are removed.
- **Rows by order**: Without an ID, rows are lined up the way a text diff lines up lines: identical rows are matched first, so inserting one row at the top doesn't shift the rest. A removed and an added row in the same place count as one changed row when at least half their cells agree.
- **Very big files**: Above about 2,000 × 2,000 rows without an ID, row 2 is compared with row 2 and so on. Pick an ID column to avoid this.

## What counts as a change

By default, spaces at the start or end of a cell and doubled spaces inside are ignored, because they are invisible in Excel and almost always accidental. Numbers are compared as numbers, so 1,000 and 1000, or 2.50 and 2.5, are the same. Tick Ignore capitals to treat “london” and “London” as the same too. Untick an option when the difference matters to you, for example when checking that codes were typed exactly.

Dates are compared as they appear in the file. A date exported as 2026-10-01 in one file and 01/10/2026 in the other counts as changed, so export both files the same way, or save both as XLSX from the same program.

## Example

The sample compares a January and a February price list of five products. Matched by SKU, the result shows two changed rows (the notebook price went from 2.50 to 2.75, and pencil stock from 800 to 640), one removed product (the eraser), one new product (glue stick) and a new Supplier column. The other two rows are unchanged and hidden while Only show differences is ticked.

## Where it helps

- **Price and stock lists**: See which prices a supplier changed before you import the new list.
- **Data imports and migrations**: Export a table before and after an import or a system change and confirm only the expected rows changed.
- **Reviewing someone's edits**: Compare the file you sent with the one returned when “track changes” wasn't on.
- **Reconciliation**: Compare a bank or CRM export with your own sheet to find missing or extra records.

## Tips

- **Swap the sides**: The ⇄ button swaps old and new, so added and removed rows swap places too.
- **Watch for repeated IDs**: If the ID column has repeats, only the first row of each is paired, and a note lists them. Pick a column that really is unique, or combine two columns in Excel first.
- **Share the result**: The differences CSV has a Status column and “old → new” in each changed cell, which is easy to filter in Excel.
- **Compare two sheets of one workbook**: Open the same workbook on both sides and pick a different sheet on each.

## Questions

### Can I compare an Excel file with a CSV?

Yes. Each side can be CSV, TSV, XLSX, XLS or ODS, or pasted cells; the values are compared as text.

### Are formulas compared?

The values the formulas show are compared, not the formula text. To check the formulas themselves, use the Excel Formula Inspector.

### Does it compare colours and formatting?

No, only cell values. Formatting isn't part of a CSV and rarely matters when checking data.

### Why is every row shown as changed?

Usually the rows are matched by order and one file is sorted differently. Pick an ID column in Match rows by.

### How many rows can it compare?

Hundreds of thousands with an ID column. The table on screen shows the first 1,000 differences; the downloads include all of them.

### Is my file uploaded?

No. The file is opened and checked in your browser; it never leaves your device, so you can use it with financial, customer or HR workbooks.

## Related

- [Excel Formula Inspector](https://cromagnon.app/tools/excel-formula-viewer)
- [Text Diff Checker](https://cromagnon.app/tools/text-diff)
- [Duplicate Remover](https://cromagnon.app/tools/duplicate-remover)
- [CSV Merger](https://cromagnon.app/tools/csv-merger)
- [All tools](https://cromagnon.app/tools)
