Fix a file that is corrupted
We'll try backup restore, built-in repair, checksum verification, and recovery tools to get your file back.
What you'll need
- The corrupted file
- Backup (if available)
- The app that normally opens the file
Step-by-step diagnostic
Quick triage — pick your path
Quick triage — pick your path
Choose the option that matches what you see. You can jump straight to that section.
Show full guide
Steps
Goal: Restore from backup, try repair, verify checksum, and recover data when possible.
- Restore from backup first if you have one.
- Re-download or re-copy the file from the original source if available.
- Use the app’s built-in repair (Word/Excel “Open and Repair,” PDF recovery tools).
- Verify with checksum (certutil -hashfile or shasum) if you have the expected hash.
- Try recovery software for important files when other methods fail.
- Good: File opens and content is recovered. Bad: Recovery fails—check drive health or consider a data recovery service.
Restore from backup
Goal: Use the most recent good copy from backup.
- Check Time Machine (macOS), File History (Windows), cloud backup, or manual copies.
- Restore the file and overwrite the corrupted one.
- Open the restored file to confirm it works. You should see the file open correctly.
Re-download or re-copy
Goal: Get a fresh copy from the original source.
- Re-download the file from the website, email, or cloud storage.
- Or copy the file again from the original drive or location.
- Open the new copy. You should see it open correctly if the source is good.
Built-in repair
Goal: Use the app’s repair feature to recover the file.
- Word/Excel: File > Open > browse to the file > click the arrow next to Open > “Open and Repair.”
- PDF: Use Adobe Acrobat “Recover” or another PDF repair tool.
- Save the recovered content to a new file. You should see recovered content or a repair report.
Verification
- The file opens in the correct app.
- Content is readable and complete (or as much as could be recovered).
- No repeated corruption—if files corrupt often, check the drive with chkdsk or Disk Utility.
When to get help
- Critical file (legal, financial) and recovery fails—consider a data recovery service.
- Files corrupt repeatedly—the drive may be failing; back up data and replace the drive.
- Work file—check if IT has backups or version history.
Escalation ladder
Work from the device outward. Stop when the problem is fixed.
- Restore from backup Use the most recent good copy from backup.
- Re-download or re-copy Get a fresh copy from the original source.
- Built-in repair Use the app''s Open and Repair or recovery feature.
- Verify checksum Compare file hash to expected value if available.
- Recovery software Use specialized recovery tools for important files.
What to capture if you need help
Before calling support or posting for help, have these ready. It speeds everything up.
- File name and format
- When the file last worked
- Error message when opening
- Whether backup exists
Do you have a backup of the file?
Backup is the fastest way to recover. Check Time Machine, File History, cloud backup, or manual copies.
You can change your answer later.
Restore from backup
Can you get a fresh copy from the original source?
Re-download or re-copy from email, cloud, or another drive.
You can change your answer later.
Re-download or re-copy and test
Is it a Word, Excel, or PDF file?
These formats often have built-in repair options.
You can change your answer later.
Use Open and Repair
Try recovery software
Reviewed by Blackbox Atlas
Frequently asked questions
- What causes a file to become corrupted?
- Interrupted saves, power loss, disk errors, bad sectors, transfer errors, or malware. Restore from backup first, then try repair tools.
- Can I repair a corrupted file without backup?
- Sometimes. Office apps have "Open and Repair." PDF tools can sometimes recover. For other formats, try recovery software. Success depends on how badly the file is damaged.
- How do I verify a file is corrupted vs wrong format?
- Check the file extension matches the content. Run a checksum (certutil -hashfile on Windows, shasum on macOS) and compare to the expected value if you have it.
Rate this guide
Was this helpful?
Thanks for your feedback.