Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Recover and Repair Corrupted Excel File in Windows 10

· 6 min read · Home Tech

In this article
  1. Why Excel Files Get Corrupted
  2. Method 1: Use Excel's Open and Repair
  3. Method 2: Recover Previous Versions
  4. Method 3: Manual Recovery with a Copy
  5. Method 4: Use a Third-Party Repair Tool
  6. How to Prevent Future Corruption
  7. Frequently Asked Questions

If your Excel file won't open or shows errors in Windows 10, you can often repair it using Excel's built-in Open and Repair tool, or recover a previous version from File History or OneDrive. This article walks through every reliable method, from the quickest fix to manual recovery, and explains what to do when nothing else works.

Why Excel Files Get Corrupted

Corruption usually happens when the file's structure is damaged, making it unreadable by Excel. Common causes include:

  • Unexpected shutdowns – power loss or a system crash while the file is open and unsaved.
  • Disk or network errors – saving to a failing hard drive, USB stick, or a network location that drops the connection.
  • File transfer interruptions – copying the file over an unstable connection or canceling the transfer midway.
  • Antivirus or sync conflicts – a program locking the file while Excel writes to it.
  • Macro or add-in issues – a faulty macro or third-party add-in can sometimes corrupt the workbook.

Sometimes the file looks fine in File Explorer but Excel shows a message like “We found a problem with some content” or “Excel cannot open the file because the file format or file extension is not valid.” These are signs that the internal data is damaged, even if the file size looks normal.

Method 1: Use Excel's Open and Repair

This is the first thing to try because it's built into Excel and often fixes minor corruption automatically.

  1. Open Excel (not the file). Go to File > Open > Browse.
  2. Navigate to the corrupted file, but don't double-click it. Instead, click once to select it.
  3. Click the dropdown arrow next to the Open button and choose Open and Repair.
  4. In the dialog that appears, click Repair to let Excel fix the file. If that doesn't work, try Extract Data instead – this pulls out the formulas and values without the formatting, which can succeed when Repair fails.

If Repair succeeds, Excel will open the file and you should immediately save it under a new name (File > Save As). If it fails, you'll see an error saying Excel cannot repair the file – move on to the next method.

Method 2: Recover Previous Versions

Windows 10 and Office 365 keep automatic backups that can save you when the file itself is beyond repair.

  • File History – if you enabled it before the corruption, right-click the file in File Explorer and select Properties > Previous Versions. You'll see a list of older copies – pick the most recent one before the problem and click Restore (or Open to check it first).
  • OneDrive version history – if the file is stored in OneDrive, open the OneDrive website, right-click the file, and choose Version history. You can download any previous version.
  • Excel autosave – if you had AutoSave turned on (for OneDrive files) or had AutoRecover enabled, go to File > Info > Manage Workbook in Excel. You'll see a list of unsaved or recovered versions. Click Recover Unsaved Workbooks to browse the AutoRecover folder.

These methods work best when you have a recent backup. If you haven't enabled any of them, you'll need to try manual recovery.

Method 3: Manual Recovery with a Copy

If Excel can't repair the file, you can sometimes force it to open by changing the file format. This is a trick that works because Excel is often more tolerant of a file that claims to be a different format.

  1. Make a copy of the corrupted file (right-click > Copy, then Paste in a safe folder). Never work on the original.
  2. Rename the copy's extension from .xlsx to .xls (or from .xls to .xlsx).
  3. Try opening the renamed file in Excel. If it opens, immediately save it as a normal .xlsx file.
  4. If that fails, try renaming to .csv – Excel will then only read the raw data, which may let you recover the values even if all formatting is lost.

Another manual approach is to open the file in a text editor like Notepad. You'll see a lot of garbled XML code, but you might be able to copy the visible text content and paste it into a new Excel sheet. This only works for files that are not completely binary-corrupted.

Method 4: Use a Third-Party Repair Tool

When built-in methods fail, dedicated recovery software can sometimes rebuild the file structure. These tools scan the corrupted file, extract as much data as possible, and save it into a new workbook. Popular options include:

  • Stellar Repair for Excel – commercial tool with a free trial that shows previews before you pay.
  • DataNumen Excel Repair – another commercial option that handles severe corruption.
  • Recovery Toolbox for Excel – offers a free demo that shows what can be recovered.

These are not free for full recovery, but the trial versions let you see if your data is salvageable before spending money. There is no guarantee they will work – it depends on how badly the file is damaged. If the file is critical and you can't afford to lose it, this is worth trying.

How to Prevent Future Corruption

Once you've recovered your file, take steps to avoid this happening again:

  • Save frequently – use Ctrl+S and turn on AutoSave if you use OneDrive.
  • Enable AutoRecover – in Excel, go to File > Options > Save and set “Save AutoRecover information every” to 5 minutes. Also check “Keep the last autosaved version if I close without saving.”
  • Use a reliable storage device – avoid saving important files to old USB sticks or network drives that drop connections.
  • Back up regularly – use File History, OneDrive, or an external drive. A simple habit of saving a copy after major edits can save you.
  • Close Excel properly – don't force-quit the app; let it save and close cleanly.

Also, if you get frequent corruption on one particular file, it may be that the file itself has a structural issue (like a damaged chart or pivot table). Try rebuilding that part of the workbook from scratch.

Frequently Asked Questions

Can I recover a corrupted Excel file that won't open at all?

Yes, but the success rate depends on the damage. Start with Open and Repair, then try the previous versions, then manual format changes. If all fail, a third-party tool is your last hope. Even then, you might only get the data without formatting.

Why does Excel say “file format or extension is not valid”?

This usually means the file's internal structure doesn't match its extension. It could be a renamed file (e.g., a .txt renamed to .xlsx) or the header data is damaged. Try the manual rename trick, or open it in Notepad to see if it's actually text.

Is there a way to recover unsaved Excel files in Windows 10?

Yes, if you had AutoRecover enabled. In Excel, go to File > Info > Manage Workbook > Recover Unsaved Workbooks. This opens the AutoRecover folder where Excel stores temporary copies. You can also search for files with .asd or .tmp extensions in that folder.

Does Excel have a built-in repair tool for corrupted files?

Yes, the Open and Repair feature is built into Excel. It's not a separate program – you access it through the Open dialog. It attempts to fix the file and can also extract data if repair fails.

Can I use Google Sheets to open a corrupted Excel file?

Sometimes. Upload the corrupted file to Google Drive and open it with Google Sheets. Google's parser is different and may be able to read parts of the file that Excel can't. If it opens, download it as an .xlsx file to get a repaired copy.

What should I do if the file is still corrupted after trying everything?

If you have no backup and no tool can recover it, the data may be lost. In that case, check if you have any email attachments, cloud sync copies, or older versions on another device. For the future, set up automatic backups – they are the only guaranteed way to avoid this situation.