How to Fix a Corrupted Word Document
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)
- Open Word
- File → Open → Browse (do NOT double-click the file in Explorer)
- Find your file — single-click to select it
- Click the dropdown arrow on the Open button
- 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)
- Download from libreoffice.org
- Open the DOCX in LibreOffice
- If it opens, File → Save As → DOCX to produce a clean copy
Google Docs (Free, Browser)
- Upload the DOCX to Google Drive
- Right-click → Open with Google Docs
- Google's parser often succeeds where Word fails
- 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:
- Make a copy of the file and rename it from
.docxto.zip - Try to extract the ZIP using 7-Zip or Windows Explorer
- If extraction works, navigate to the
wordfolder - Open
document.xmlin a text editor (Notepad++, VS Code) - 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:
- Next time you open Word, it usually prompts to recover the file automatically
- If not: File → Info → Manage Document → Recover Unsaved Documents
- AutoRecover files are stored in:
C:\Users\USERNAME\AppData\Roaming\Microsoft\Word\
Method 5: Version History (Best Option)
| Storage | Access |
|---|---|
| OneDrive | Right-click → Version history |
| SharePoint | File → Info → Version History in Word |
| Windows File History | Control Panel → File History → Restore |
| macOS Time Machine | Time 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