How to Corrupt an Excel File

Last updated: April 2026  |  2 min read

Need to corrupt an Excel spreadsheet? Our free online tool corrupts any .xls or .xlsx file in seconds — the result looks exactly like a real Excel file but throws an error the moment anyone tries to open it.

How to corrupt an Excel file online

  1. Go to corrupt-a-file.com
  2. Click "From your computer" and select your .xlsx or .xls file
  3. Click the "Corrupt File" button
  4. Download the corrupted spreadsheet

When your boss or teacher opens the file, Excel will show: "We found a problem with some content in [filename]. Do you want us to try to recover as much as we can?" — even if they click recover, the file content will be garbled or empty.

Corrupt your Excel file in seconds — 100% free.

Corrupt Excel file →

Why does this work on Excel files?

Modern Excel files (.xlsx) are actually ZIP archives containing a set of XML files. Our tool targets the binary layer of the ZIP structure, invalidating the internal XML in a way that Excel's parser cannot recover from. The file retains its .xlsx extension and appears as a valid spreadsheet to your operating system — only Excel itself discovers the problem when it tries to decompress and parse the contents.

Common use cases

Frequently asked questions

Does it work for .xls files as well as .xlsx?
Yes. Our corruption works at the binary level and supports both the older .xls format and the modern .xlsx format.
Will the file size change?
No. The file size stays exactly the same as the original. We only modify existing bytes, never add or remove data.
Can Excel repair the file?
Excel will attempt repair but the recovery will fail or produce empty/garbled output. The corruption is designed to resist Excel's built-in repair mechanism.
Does this work with Google Sheets?
When you upload a corrupted .xlsx to Google Drive, it will show an error: "Sorry, unable to open the file at this time." This is indistinguishable from a legitimate upload error.

Also see: How to corrupt any file | How to corrupt a Word file