Guides

"We Found a Problem with Some Content": How to Repair a Corrupted Excel File

Updated 2026-10-13

When Excel says a workbook is corrupt, your data is usually still there. An .xlsx file is a ZIP package of XML parts, and typically only one or two parts are damaged. Work through the steps below from least to most invasive.

The error messages

Depending on your version, you will see one of these:

Why files get corrupted

Step 1: Back up the file

Copy the damaged file to your local disk and work only on the copy. Keep the original untouched so you can start again if a step makes things worse.

Step 2: Let Excel recover it

When Excel asks whether to recover the workbook, click Yes. Read the repair log Excel shows afterwards; it lists what was repaired or removed, such as conditional formatting or a drawing on a sheet. If the data looks complete, use Save As to save a new file instead of overwriting the original.

Step 3: Use Open and Repair

If the file won't open at all:

  1. In Excel, choose File > Open > Browse and select the damaged file.
  2. Click the arrow next to the Open button and choose Open and Repair.
  3. Click Repair first, which tries to keep data and formatting.
  4. If that fails, repeat and choose Extract Data. It recovers cell values; formulas may be lost, but the data is saved.

Step 4: Look for an earlier version

"File format or extension is not valid": check what the file really is

Open the file in Notepad and look at the first characters:

Step 5: When Excel can't fix it, try xlszip

Excel's repair often drops a damaged part entirely, and a whole sheet disappears with it. xlszip Repair works differently:

Upload the original damaged file, not a copy Excel already repaired and saved, which may have lost content. Password-encrypted files and files that were completely overwritten can't be repaired.

How to prevent it

More guides