Skip to content
Bytevive

How to fix a corrupted Excel file: every method, in the order to try them

Unblock downloads, Open and Repair, manual calculation, safe mode, external links, earlier versions, and a no-upload rebuild: the full Excel rescue ladder.

By the Bytevive team9 min read

A laptop showing a damaged Excel workbook next to printed financial reports and a calculator

An Excel file you need won’t open, opens with half its sheets missing, or makes Excel crash. Whatever the message, the questions are the same: is the workbook really damaged, and how much of it can you get back?

This guide is the whole toolkit in one place, in the order that wastes the least time. It starts with the checks that take seconds, works through Excel’s own rescue options, and ends with what to do when Excel gives up. For the two most common error messages, there are dedicated guides linked along the way.

Before anything else: copy, check, and move it local

  • Copy the file and keep the original somewhere you won’t touch it.
  • Check the size. 0 KB means the file is empty, and no tool can recover data from it; go straight to earlier versions. A file much smaller than usual was probably cut off.
  • Copy it to your own disk. Microsoft advises moving a workbook to a local drive if a disk or network error is stopping it opening. Network shares, USB sticks and half-synced cloud folders cause errors that look like corruption.

Which situation are you in?

What happensLikely causeStart here
“We found a problem with some content”Some parts inside the workbook don’t read correctlyOur guide to that message
“The file format or file extension is not valid”The file isn’t what its name says, or its container is brokenOur guide to that message
“The file is corrupt and cannot be opened” on a downloaded fileOften Windows blocking an internet file, not damageUnblock it
Excel freezes or crashes while opening itRecalculation, an add-in, or damaged contentManual calculation and safe mode
Excel crashed and the latest changes are goneThe file was never saved, or saved partwayRecover an earlier version
It’s an old .xls fileThe pre-2007 binary formatOpen and Repair, or LibreOffice Calc

When a downloaded file says it’s corrupt

Windows marks files that come from the internet or email. Excel opens marked files in Protected View, and sometimes the result is a flat “The file is corrupt and cannot be opened” even though nothing is wrong with the workbook. Salesforce documents exactly this for exported reports, and Microsoft’s community has long traced the same message to Protected View.

  1. Make sure the file comes from someone you trust.
  2. Right-click it in File Explorer, choose Properties, check Unblock on the General tab if it’s there, and click OK.
  3. Open it again.

Avoid switching Protected View off for everything. If you have to test it, turn it off under File → Options → Trust Center → Trust Center Settings → Protected View for one trusted file and switch it straight back on.

The repair ladder, in order

Work down the list. Stop as soon as one works, and save the result under a new name.

1. Open and Repair

Excel usually starts repairing on its own when it detects damage. If it doesn’t, start it by hand, as Microsoft describes: File → Open → Browse, select the file, click the arrow next to Open, and choose Open and Repair. Don’t open it from the Recent list, which skips this dialog.

  • Choose Repair first. It tries to keep the workbook as it was.
  • If that fails, run it again and choose Extract Data. You’ll get values, and optionally formulas, in a new workbook, without the formatting and charts.

2. Open it with calculation set to manual

A workbook that hangs or crashes while recalculating may open if Excel doesn’t recalculate. Create a blank workbook, go to File → Options → Formulas, set calculation to Manual, then open the damaged file from File → Open.

3. Start Excel in safe mode

Hold Ctrl while you start Excel, or type excel /safe in the Run box (Windows+R). Safe mode skips add-ins and customizations, so if the file opens here, an add-in was the problem, not the workbook.

4. Link to it from a new workbook

When Excel can’t open a file but can still read its cells, external references pull the values out. In a new workbook, type =Budget!A1 in cell A1 (using the damaged file’s name without the extension), pick the file and sheet when Excel asks, fill the formula across the area your data covered, then copy and Paste Values to cut the link. You get numbers and text, not formulas.

5. Try another program

LibreOffice Calc is free and reads .xlsx and .xls with its own code, so it sometimes opens files Excel rejects, especially old .xls workbooks. If it opens, save a copy as .xlsx and check it carefully in Excel.

6. Rebuild the file with Bytevive

An .xlsx file is a ZIP package of separate parts: one per sheet, plus shared text, styles and the workbook’s list of sheets. When the package itself is broken, for instance because a save or download was cut off, Excel often can’t read any of it, even though most parts are intact. Bytevive rebuilds it in your browser:

  1. Open Office Repair and sign in with a free account.
  2. Drop in the .xlsx (up to 512 MB). Nothing is uploaded.
  3. Bytevive checks every part of the package and flags the ones that are damaged or won’t parse, with a preview of the first sheet.
  4. It builds a new workbook from every intact part and leaves out the damaged ones, so a broken picture or style sheet doesn’t take the whole file down with it.

Its limits: it can’t open password-protected workbooks, and it doesn’t handle older .xls files yet. If the workbook’s main part (the list of sheets) or package list is damaged or missing, Bytevive cannot rebuild an .xlsx file, though it can extract plain cell text into a .txt file when the worksheet XML parts themselves are still readable; if the sheets can’t be parsed either, it says so rather than guessing.

Look for an earlier version

A slightly older copy that opens cleanly is often worth more than a repaired one. Check these, quickest first:

WhereHow to get thereWorks when
Unsaved workbooksFile → Info → Manage Workbook → Recover Unsaved WorkbooksAutoRecover was on and the file was never saved
Version HistoryClick the file name in Excel’s title bar, or right-click the file in OneDriveThe workbook lives in OneDrive or SharePoint
Revert to last saveWith the damaged workbook open, open the same file again and click YesThe damage happened since your last save
Email and shared copiesSent items, team chats, colleagues’ downloadsYou ever sent or received the file
Windows File HistoryRight-click the file → Properties → Previous VersionsFile History or a backup tool was set up

Microsoft’s steps for unsaved files are in Recover an earlier version of an Office file. Save anything you recover under a new name right away.

When it can’t be fixed

  • The file is empty or overwritten. A 0 KB file, or one filled with zeros, holds nothing to recover. Only a backup helps.
  • The sheet data itself is damaged. If the part holding a sheet’s cells is corrupted, that sheet’s contents may be lost even when the rest of the workbook is saved.
  • It’s encrypted and damaged. Without opening it with the password, nothing can look inside.

How to avoid it next time

  • Turn on Always create backup: File → Save As → Browse → Tools → General Options. Excel then keeps the previous version every time you save.
  • Keep AutoRecover on; the default saves recovery information every 10 minutes.
  • Store important workbooks in OneDrive or SharePoint for automatic version history.
  • Close workbooks before shutting a laptop or pulling a USB stick, and avoid editing straight from email.

The bottom line

Copy the file, check its size, and unblock it if it was downloaded. Then work down the ladder: Open and Repair (Repair, then Extract Data), manual calculation, safe mode, external references, LibreOffice, and finally a rebuild with Bytevive, free and without uploading. Check for an earlier version at any point; it may save you the repair entirely. For Word and PowerPoint, see Word found unreadable content, PowerPoint found a problem with content, and our guide to all three Office formats.

Frequently asked questions

What's the first thing to do with a corrupted Excel file?
Make a copy and work on the copy. Every rescue method in this guide can be tried again on a fresh copy if it goes wrong, but only if the original is untouched. Then check the file size: a 0 KB file has nothing in it to recover.
What's the difference between Repair and Extract Data?
Both are in Excel's Open and Repair. Repair tries to keep the whole workbook, including formatting and charts. Extract Data gives up on the workbook structure and pulls out cell values, and optionally formulas, into a new file. Try Repair first and fall back to Extract Data.
Excel says “The file is corrupt and cannot be opened”. Is it really corrupt?
Often not. For files downloaded from the internet or saved from email, this message is frequently caused by Windows blocking the file. Right-click it, choose Properties, check Unblock, and try again. If that doesn't help, then treat it as damage.
Can I recover an Excel file I never saved?
Possibly. If AutoRecover was on, look under File > Info > Manage Workbook > Recover Unsaved Workbooks, open the file, and save it right away. For files in OneDrive or SharePoint, Version History usually has earlier copies too.
Does Bytevive repair .xls files?
Not yet. Bytevive repairs .xlsx workbooks up to 512 MB, in your browser and without uploading. Older .xls files use a different format; try LibreOffice Calc or Excel's own Open and Repair for those.

Sources

Every claim, error message, price, and limit cited above comes from these pages, checked on November 26, 2026. If one has changed, tell us at support@bytevive.com and we’ll update the article.

  1. Microsoft Support: Repair a corrupted workbook
  2. Microsoft Support: Open a document after a file corruption error
  3. Microsoft Support: Recover an earlier version of an Office file
  4. Microsoft Support: Open Office apps in safe mode on a Windows PC
  5. Salesforce Help: “The file is corrupt and cannot be opened” on exported reports (Unblock and Protected View)
  6. Microsoft Q&A: “The file is corrupt and cannot be opened” caused by Protected View
  7. LibreOffice, the free office suite

Document won't open? See what's still in it.

Free account, Word, Excel, and PowerPoint files up to 512 MB. Nothing is uploaded.

Repair a document, free

Other free tools: video, PDF, photo, Office, ZIP, and audio repair.