Office Documents

How to Fix a Corrupted Word Document

3 min read

How to Fix a Corrupted Word Document

Microsoft Word's error messages for corrupted files are vague and alarming. The good news: most DOCX corruption is recoverable because DOCX files are ZIP archives — even a partially damaged ZIP can yield most or all of the content.


Quick Diagnosis

"The file cannot be opened because there are problems with the contents" → The DOCX ZIP structure is intact but the internal XML has errors. Use Method 1.

"Word experienced an error trying to open the file" → More severe. Try Methods 1 and 2 in sequence.

"The file is not in a recognisable format" → The file header may be wrong. The file may not actually be a DOCX — check the file extension and confirm the source.

Opens but content is missing or scrambled → Content is partially recovered. Use Method 3 to extract the raw XML.


Method 1: Word's Open and Repair (Built-In)

  1. Open Word
  2. File → Open → Browse (do NOT double-click the file in Explorer)
  3. Find your file — single-click to select it
  4. Click the dropdown arrow on the Open button
  5. Select Open and Repair

If successful, save the file immediately under a different name.


Advertisement

Method 2: Try Different Software

Different applications use different parsers — what one fails to open, another may succeed:

LibreOffice Writer (Free)

  1. Download from libreoffice.org
  2. Open the DOCX in LibreOffice
  3. If it opens, File → Save As → DOCX to produce a clean copy

Google Docs (Free, Browser)

  1. Upload the DOCX to Google Drive
  2. Right-click → Open with Google Docs
  3. Google's parser often succeeds where Word fails
  4. File → Download → Microsoft Word to get a clean DOCX back

Method 3: Extract Content from ZIP (Text Recovery)

Every DOCX is a ZIP. Even if Word cannot open it, you may be able to extract the text:

  1. Make a copy of the file and rename it from .docx to .zip
  2. Try to extract the ZIP using 7-Zip or Windows Explorer
  3. If extraction works, navigate to the word folder
  4. Open document.xml in a text editor (Notepad++, VS Code)
  5. The document text appears in the XML — search for content inside <w:t> tags

This method recovers text but loses formatting, images, and tables.


Method 4: Recover From AutoRecover

Word saves AutoRecover files every 10 minutes by default. After a crash:

  1. Next time you open Word, it usually prompts to recover the file automatically
  2. If not: File → Info → Manage Document → Recover Unsaved Documents
  3. AutoRecover files are stored in: C:\Users\USERNAME\AppData\Roaming\Microsoft\Word\

Method 5: Version History (Best Option)

StorageAccess
OneDriveRight-click → Version history
SharePointFile → Info → Version History in Word
Windows File HistoryControl Panel → File History → Restore
macOS Time MachineTime Machine → navigate to folder → restore

Prevention: Never Lose Work Again

  • Enable AutoSave in OneDrive or SharePoint — saves every few seconds
  • Set AutoRecover to every 5 minutes: File → Options → Save
  • Always keep a backup copy before editing important documents
  • Never work directly from a USB drive — always copy to local disk first