Fix a file that is corrupted

We'll try backup restore, built-in repair, checksum verification, and recovery tools to get your file back.

Category
Troubleshooting · Home maintenance
Time
10–30 min
Last reviewed
What you'll need
  • The corrupted file
  • Backup (if available)
  • The app that normally opens the file

Step-by-step diagnostic

Step 1 of 7
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.

  1. Restore from backup Use the most recent good copy from backup.
  2. Re-download or re-copy Get a fresh copy from the original source.
  3. Built-in repair Use the app''s Open and Repair or recovery feature.
  4. Verify checksum Compare file hash to expected value if available.
  5. 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.

Check your backup location. Good: You have a recent copy—restore it. Bad: No backup—proceed to re-download or repair.

You can change your answer later.

Restore from backup

Restore the file from backup. Overwrite the corrupted file. The file should open correctly. If backup is old, you may lose recent changes.

Can you get a fresh copy from the original source?

Re-download or re-copy from email, cloud, or another drive.

Re-download the file or copy it again from the source. Good: New copy works. Bad: Source not available or new copy also fails—try repair.

You can change your answer later.

Re-download or re-copy and test

Get a fresh copy. Open it. If it works, the original transfer was corrupted. Save a backup of the good copy.

Is it a Word, Excel, or PDF file?

These formats often have built-in repair options.

Word/Excel: File > Open > arrow next to Open > "Open and Repair." PDF: Use Adobe Acrobat Recover or another PDF tool. Good: Repair recovers content. Bad: Repair fails—try recovery software or checksum verification.

You can change your answer later.

Use Open and Repair

Use the app's repair feature. Save the recovered content to a new file. If repair fails, try recovery software.

Try recovery software

Use recovery tools for the file format. For critical files, consider a data recovery service if software fails.

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.

Continue to