Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Compare Two Excel or CSV Files

See exactly which rows were added, removed or changed between two spreadsheets.

Data No upload Works offline Free to try, no sign-up Pro tool Pro pass from ₹79

Original (A)

Changed (B)

Next steps

About the Compare Two Excel or CSV Files

Compare an original and a changed version of a sheet — two Excel workbooks, two CSV files, an Excel file and a CSV export of it, or two sheets of one workbook. Rows are matched either by key columns (an order number, SKU, employee code or e-mail, wherever the row is) or by position, where inserted and deleted rows are detected so one new row does not make every following row look changed.

The result lists added, removed and changed rows, with each changed cell shown as “old → new”. You can ignore letter case, extra spaces and number formatting (so 1,000, 1000.00 and ₹1,000 count as equal), match columns by header name so column order does not matter, and download a colour-coded XLSX report or a CSV change log. Both files are read on your device.

How to use it

  1. Choose the original file (A) and the changed file (B). For two sheets of one workbook, open it as A and press Use this workbook for B.
  2. Pick the sheet on each side and check the header row (it is detected when titles sit above it).
  3. Choose how rows are matched: Key columns when the rows have an identifier, or Row position otherwise.
  4. Set what to ignore — letter case, extra spaces, number formatting.
  5. Read the summary and the differences, click a cell to see the old and new value, and download the XLSX report or the CSV change log.

Examples

Price list, matched by SKU
Input
A: SKU A-1 qty 5 · B-2 qty 3 · C-3 qty 1
B: SKU C-3 qty 1 · A-1 qty 6 · D-4 qty 9
Result
Changed: A-1 (qty 5 → 6) · Removed: B-2 · Added: D-4 · Same: C-3

The rows are in a different order, but matching by the key column pairs them correctly.

An inserted row, matched by position
Input
A: 1 Asha · 2 Ravi · 3 Meera
B: 1 Asha · 4 Neha · 2 Ravi (price changed) · 3 Meera
Result
Added: Neha · Changed: Ravi · Same: Asha, Meera

Rows after the insertion still match, instead of every following row being reported as changed.

Common uses

  • Seeing what changed between this month’s and last month’s price list, stock report or payroll sheet.
  • Checking an edited copy of a spreadsheet before replacing the original.
  • Reconciling an export from one system with the data in another (bank vs ledger, CRM vs billing).
  • Verifying that a CSV export contains exactly what the workbook does.

How rows and cells are matched

  • Key columns: rows with the same values in the chosen columns are compared, wherever they are; rows whose key exists on one side only are added or removed. Repeated keys are matched in order and reported. A column named like an ID whose values are unique is suggested.
  • Row position: the two sheets are aligned like a text diff (Myers’ algorithm), so inserted and deleted rows are found; a removed and an added row that share at least half their values are shown as one changed row.
  • Columns are matched by header name (order does not matter; columns that exist on one side only are listed), or by position. Columns with neither a header nor any value are ignored, and if the two sheets have no column in common you are asked to check the header rows rather than shown a meaningless result.

Excel cells are compared by their stored values, and also count as equal to the text Excel displays — so an XLSX and a CSV export of it (with formatted or raw values, and dates such as 28/09/2026 or 2026-09-28) compare as equal.

What “ignore number formatting” does

With it on, numbers written differently are equal: 1,000 = 1000 = 1000.00, ₹1,499 = 1499, 12.5% = 0.125, (1,250.00) = -1250. Codes with leading zeros are never treated as numbers, so 007 and 7 stay different. Turn it off to see formatting changes as differences.

The report

The XLSX report has three sheets: a summary of the comparison and its options; the differences, with added rows in green, removed rows in red and changed cells in amber plus a “Changes” column that lists every “old → new”; and a change log. The CSV change log has one line per changed cell, and one line per filled cell of each added or removed row (change, key, row_original, row_changed, column, old_value, new_value).

Limitations

  • Files up to 50 MB (workbooks) or 100 MB (CSV) each, and about 3 million cells per file. Very different large sheets are aligned one-to-one after a short time limit, with a note.
  • Cell values are compared, not formatting, comments or formulas (a formula compares by its saved result).
  • Rows are matched one-to-one; a row that was split into two, or two rows merged into one, shows as removed and added.
  • Dates are equal when they are the same day and time; time zones are not considered.

Privacy

Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.

Frequently asked questions

How do I compare two Excel files for differences?

Choose the original as file A and the new version as file B. If both sheets have an ID column (order number, SKU, code), match rows by that key column; otherwise match by row position. Changed cells are shown as old → new, and the summary counts added, removed and changed rows.

Can I compare two sheets in the same workbook?

Yes. Open the workbook as file A, press Use this workbook for B, and pick a different sheet on each side.

My rows are in a different order. Will everything show as changed?

Not with Key columns: rows are matched by their key, wherever they are. Matching by Row position is for sheets whose order is meaningful.

Can I compare an Excel file with a CSV file?

Yes. Excel cells are compared by their stored values and also by the text Excel shows, so a CSV saved from the workbook — formatted or raw — compares as equal; differences are real changes.

Are my files uploaded?

No. Both files are read and compared in your browser; the report is created on your device.

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.