Home · Free tools · Compare two Excel files
Compare two Excel files
Drop the old file and the new one. You get every cell that changed, every row that appeared and every row that vanished — in about a second, in this tab. Both files are read on your computer and neither one is uploaded.
First file
Drop .xlsx or .csv here, or click to choose
Second file
The revised version you want to check
Nothing is uploaded. The file is read by JavaScript in this tab and never leaves your computer — no server sees it, and closing the tab throws it away.
Match by position, or match by a key column
This is the choice that decides whether a comparison is useful, and most online tools do not offer it.
By position compares row 1 with row 1, row 2 with row 2. It is the right choice when the two files are the same report generated a week apart and nothing has been re-sorted. Insert one row near the top, though, and everything below it reports as changed.
By a key column matches rows on a value you nominate — an order number, an email address, a SKU. Rows can be re-sorted, filtered or interleaved and they still pair up correctly, and you get a real answer to the question you actually had: which records changed, which are new, which disappeared. Choose the column that is unique per row; if the key repeats, matching rows are paired in the order they appear.
What the colors mean
- Orange — the cell exists in both files with different contents. The old value is struck through, the new one follows it.
- Green — present only in the second file. A new row, or a cell that was blank before.
- Red — present only in the first file. A deleted row, or a cell that has been emptied.
The counts above the table are the summary worth pasting into an email: cells that differ, cells identical, rows on one side only.
What this Excel comparison tool does not do
Worth knowing before you trust a clean result:
- It compares values, not formulas. A cell containing
=SUM(A1:A9)is compared as the number Excel last calculated. If the formula changed but the result did not, this tool reports no difference. - It ignores formatting. Bold, fill color, column width, conditional formatting and number
formats are not compared. A cell showing
1,234.50and one showing1234.5are the same value and are reported as identical. - It ignores comments, charts, pivot caches and macros. Only the cell grid is read.
- Dates are read through their format. A date-formatted cell comes back as
2026-03-15rather than the serial number 46096, so two files that display the same date in different formats compare as equal.
Why "nothing is uploaded" is not a small detail here
The files people most often need to compare are the ones they should not be posting to a stranger's server: payroll runs before and after a raise cycle, a client's trial balance, a patient list, a pricing sheet under NDA. Most free comparison sites upload both files and process them server-side, which is a disclosure whether or not anything bad happens next.
This page does the work in your browser. `sheet.js`, the code that reads the files, contains no network call at all — open your browser's network tab and compare a file to watch nothing happen.
When a browser tab is not the right place
A one-off check is exactly what this page is for. Comparing the same two reports every Monday is not: you end up re-dropping files and re-reading a diff that a tool should be maintaining for you.
TableDI is a desktop spreadsheet workspace that runs entirely on your machine. Import both files once, put them in one workspace, and use the Match formula panel to build a column that flags the differences — it recalculates when you paste next week's numbers in, so the answer is already there when you open it. How the formula panel works.
Questions people ask
Can I compare two Excel files without having Excel installed?
Yes. This page reads .xlsx directly in the browser, so it works on a machine with no Excel, no Microsoft 365 subscription and no add-ins. It also reads .csv and .tsv, and it can compare a .csv against an .xlsx.
Can it compare two sheets inside the same workbook?
Yes — drop the same file into both boxes, then pick a different sheet on each side. The sheet selectors appear once a workbook with more than one sheet is loaded.
Are my files uploaded anywhere?
No. The file is read by JavaScript running in this tab, using the browser's own
DecompressionStream to unzip .xlsx and a parser that runs on your machine. There is no
server call in the page — you can watch the network tab while you use it. Close the tab and the data is gone.
Does it work with old .xls files?
Not directly. The .xls format is a different, binary format from Excel 97. Open it in Excel, LibreOffice or Numbers and save as .xlsx or .csv, then come back. The tool tells you this rather than failing silently.
Can it compare formulas instead of calculated values?
No. Excel stores the last calculated result alongside the formula, and that result is what gets
compared. If you need to know that =SUM(A1:A9) became =SUM(A1:A10) while the
total stayed the same, this is not the tool for it.
How large a file can it handle?
Files of a few hundred thousand rows are fine on a normal laptop; the whole grid is held in memory, so a very large workbook is limited by your RAM rather than by any row cap we impose. The result table paints the first 300 rows and the downloadable report contains every difference.
Microsoft used to ship a tool called Spreadsheet Compare. Is this the same thing?
Same job, different reach. Spreadsheet Compare shipped only with certain Office editions on Windows. This page runs in any modern browser on any operating system, and it also does key-column matching, which that tool did not. There is a page about that specifically: a Spreadsheet Compare replacement that runs in the browser.
Related
Do this on your own machine instead
TableDI is a desktop spreadsheet workspace that runs entirely on your machine. Import the file, fix it, chart it — nothing is uploaded, and there is no account to create.
Free forever, not a trial — no account, no card. macOS and Windows. What the paid tier adds.
Last reviewed 2026-09-01 by the TableDI team. Something wrong on this page? Tell us — it is one inbox, read by the people who build TableDI.