Compare Excel Files
Compare two Excel or CSV files online cell by cell. See changed values, added and removed rows and new columns, matched by ID or position. Nothing is uploaded.
Runs in your browser · Nothing uploadedFree · No sign-up
Something not working, or missing a feature? Send feedback
About the Compare Excel Files
Compare Excel Files finds every difference between two versions of a spreadsheet: changed cell values, added and removed rows, and new or deleted columns. Columns are matched by their header names, so an inserted column does not make every cell look changed, and rows can be matched by an ID column, so re-sorted sheets still line up. It reads .xlsx workbooks and CSV files in your browser; nothing is uploaded.
Both versions are compared in your browser, so private code and documents never leave your device.
How to use the Compare Excel Files
- Drop the original file in the first box and the changed file in the second, or drop both files at once. .xlsx, .xlsm, .csv and .tsv files work.
- If a workbook has several sheets, pick the sheet to compare on each side. Sheets with the same name are paired automatically.
- Choose how rows are matched: by position for lists edited in place, or by an ID / key column (an order number, SKU or employee ID) when rows were added, deleted or re-sorted.
- Read the table: changed cells show the old value crossed out above the new one, new rows are green and removed rows are red.
- Download the report (CSV) to get one line per difference for a ticket, an email or a review.
Example
Input
prices-october.xlsx prices-november.xlsx SKU Product Price SKU Product Stock Price A-101 Gel pen 25 A-101 Gel pen 1200 30 B-201 Lunch box 399 C-301 Power bank 60 1299
Result
Stock column added A-101 Price 25 → 30 B-201 row removed C-301 row added
Matched by the SKU column. The new Stock column is listed once instead of shifting every price into the wrong column. Try a sample loads a longer version of this example.
Common mistakes
- Header row turned off. Without column names, columns are compared by letter, so inserting one column makes every cell to its right look changed. Keep "First row has column names" on when the sheet has a header.
- A key column that is not unique. Matching by ID needs one row per ID. A column such as Name or City often repeats; the tool names the duplicate and its two rows so you can pick a better column.
- Spaces and capital letters. "Pune " and "Pune" differ by a trailing space. Ignore extra spaces is on by default; turn on Ignore case as well when "PUNE" and "Pune" mean the same.
Works well with the Compare Excel Files
- Excel to JSON: turn a sheet into JSON for an API or script.
- CSV to JSON: convert the downloaded report or a CSV export.
- Text & Code Diff: compare two text or code files line by line.
- Split CSV & Excel Files: split a large sheet into smaller files.
Frequently asked questions
Are my spreadsheets uploaded?
No. Both files are read and compared by your browser, so salary sheets, price lists and customer data stay on your device.
Should I match rows by position or by an ID column?
By position works when rows stay in the same order and only values were edited, or rows were inserted here and there. Use an ID column when the sheet was sorted differently or many rows were added and removed: rows with the same ID are compared with each other wherever they are. Each ID must be unique in both files.
Are formulas and formatting compared?
Only the values are compared: for a formula cell that is the result Excel last saved in the file. Changes to formulas that give the same result, and changes to fonts, colours, widths or comments, are not reported.
Can I compare an Excel file with a CSV file?
Yes. Numbers are compared by value, so 1.50 in a CSV equals 1.5 in Excel, while codes with leading zeros such as 00123 stay text. Dates in Excel are read as YYYY-MM-DD, so a CSV that writes dates the same way matches.
Does it work with old .xls files?
No. Open the .xls file in Excel, Google Sheets or LibreOffice, save it as .xlsx (or CSV), and compare that file.
How do I compare two Google Sheets?
In Google Sheets choose File → Download → Microsoft Excel (.xlsx) or Comma-separated values (.csv) for each version, then drop both files here.
How large can the files be?
Up to 30 MB and 200,000 rows per sheet. The table shows the first 1,000 changed rows; the CSV report always lists every difference.
Can I compare two sheets in the same workbook?
Yes. Drop the same workbook in both boxes and choose a different sheet on each side, for example January and February.
Can I compare Excel files without Spreadsheet Compare?
Yes. Microsoft’s Spreadsheet Compare only comes with some Office editions on Windows. This tool needs no install and works the same on Windows, macOS, Linux and phones.
Related tools
Text & Code Diff
Compare two texts or code files online side by side. Additions, deletions and modified lines are highlighted with inline word changes. Runs in your browser.
Excel to JSON
Convert Excel .xlsx files to JSON online: pick one sheet or all, use the first row as keys and turn Excel dates into ISO dates. The file stays in your browser.
CSV to JSON
Convert CSV to a JSON array online with header detection, type inference and delimiter auto-detection. Turn spreadsheet exports into data for APIs and code.
Compare PDF
Compare two PDF files online and see every added, removed and changed line side by side. Both files stay in your browser; nothing is uploaded.