File Repairer
Windows 10 & 11 Buy license · $29.95
Getting started

How to Fix "The File Is Corrupt and Cannot Be Opened" in Word and Excel

Office says the file is corrupt and cannot be opened? Often it's just blocked. Unblock it, try Open and Repair, then rebuild it if it's genuinely damaged.

Updated 5 minute read The File Repairer team

"The file is corrupt and cannot be opened" is an error from Word, Excel or PowerPoint. Surprisingly often the file is not damaged at all: Office is blocking it because it came from the internet, an email or another PC. Right-click the file, choose Properties, tick Unblock if it is shown, click OK and try again. If that does not work, use File > Open > Browse, select the file, click the arrow next to Open and choose Open and Repair. If the file really is damaged and Open and Repair fails, restore an earlier version or rebuild the file with repair software.

Work through the fixes below in order. The first few take seconds and solve the problem without any repair at all.

Is the file really corrupt? Quick checks

CheckWhat it tells you
Where did the file come from?Email attachments, downloads and files from a network share are the usual "false alarm" cases
File size in Properties0 KB means there is nothing to repair; a normal size means the content is probably still there
Does it open on another PC?If yes, the problem is your Office settings, not the file
Do other files of the same type open?If none do, Office itself may need repairing
Extension matches the content?An old .xls renamed to .xlsx (or the reverse) can trigger a corrupt error

Fix 1: Unblock the file

Windows marks files that arrive from the internet with a "Mark of the Web". Office then opens them in Protected View, and if something goes wrong in Protected View it can report the file as corrupt.

  1. Save the attachment or download to a normal folder such as Documents, not a temporary folder.
  2. Right-click the file and choose Properties.
  3. On the General tab, if you see Security: This file came from another computer..., tick Unblock and click OK.
  4. Open the file again.

Only unblock files you trust. If you cannot see the Unblock box, the file is not blocked and you can move on.

Fix 2: Check Protected View settings

If many downloaded Office files show the same error, Protected View may be failing on your PC. As a test, in Word or Excel go to File > Options > Trust Center > Trust Center Settings > Protected View and untick the three options, then open the file. If it opens, save a copy, then turn Protected View back on straight away. It is an important safety feature, and leaving it off is not a fix.

A better long-term answer is to update Office (File > Account > Update Options > Update Now) and, if the problem continues, run a Quick Repair of Office from Settings > Apps > Installed apps, choosing Modify next to Microsoft 365 or Office.

Fix 3: Use Open and Repair

If the file is genuinely damaged, Office's own repair is the next step.

  1. Open Word, Excel or PowerPoint without opening the file.
  2. Go to File > Open > Browse and select the damaged file.
  3. Click the arrow next to the Open button and choose Open and Repair.
  4. In Excel, choose Repair first. If that fails, run it again and choose Extract Data, which keeps values and optionally formulas.

In Word you can also try Recover Text from Any File from the file type list in the Open dialog. It rescues plain text only, so formatting, images and tables are lost. Our guides to repairing a Word document and repairing an Excel file go through every built-in option.

Fix 4: Restore an earlier version

An undamaged earlier copy beats any repair:

  • OneDrive or SharePoint: right-click the file and choose Version history.
  • File History or restore points: right-click the file, choose Properties and open the Previous Versions tab.
  • The sender: if it came by email, ask for it again. The copy in their Sent folder is usually fine.
  • Unsaved work: in Word or Excel, File > Info > Manage Document (or Manage Workbook) > Recover Unsaved.

An earlier version may be missing your most recent edits, but it opens cleanly. Restore it under a new name rather than over the damaged file, so you can still try repairing the newer copy and copy across anything the older one lacks. If the file lives on a network share, ask whoever manages the server whether it keeps snapshots or nightly backups, because many do.

Fix 5: Rebuild the file with File Repairer

When the file is damaged and Office's repair gives up, File Repairer takes a deeper approach. A .docx, .xlsx or .pptx file is a ZIP container full of XML parts. File Repairer salvages that container, recovers broken XML, and rebuilds the links, sheet lists and slide lists that Office needs, keeping text, formatting, tables, images, formulas and sheets. Older .doc, .xls and .ppt files are repaired too and saved in the modern formats.

  1. Drag the file, or the whole folder, into File Repairer and click Repair All.
  2. Preview the repaired document, spreadsheet or slides, with a panel showing what was recovered.
  3. Save the repaired copy. It is named with " (repaired)" and your original stays exactly as it was.

If the file is too damaged to rebuild, Tools > Extract Text & Data pulls every readable piece of text and data into a new file. Everything runs on your PC, so confidential documents are never uploaded. Checking, repairing and previewing are free; saving the repaired copy needs an Installation Key.

File Repairer does not remove passwords. If the "corrupt" file is actually password-protected or encrypted, you need the password, not a repair tool.

Why it happened and what to do next

Genuine corruption usually comes from a save interrupted by a crash or power cut, a USB drive removed too soon, a failing drive, or a file rescued by data recovery software. If the file came off a drive that failed or was formatted, see recovered files that won't open for the right order of steps. Turning on OneDrive or File History for your documents means next time you can simply roll back.

Frequently asked questions

Why does Excel say the file is corrupt when it opens fine on another PC?

That points to your PC rather than the file. Protected View, a blocked download or an outdated Office install are the usual causes, so try unblocking the file and updating Office.

Is it safe to turn off Protected View?

Only briefly, as a test, and only for files you trust. Turn it straight back on afterwards, because it protects you from malicious documents.

What if Open and Repair says it cannot repair the file?

Look for an earlier version in OneDrive or Previous Versions first. If there is none, a file repair tool can rebuild the document's structure, or at least extract its text and data.

Get three guides like this every month, plus software update notices.Subscribe →