What corrupted files are and why they happen
A corrupted file is one that has become unreadable or unusable because part of its data is damaged or missing. This usually happens when a file is interrupted while being written — a power failure mid-save, a crash during read, a disconnected external drive, or a network glitch. The file still exists on your device, but the program that opens it cannot make sense of what's inside.
Corruption is different from accidental deletion. A deleted file is gone from your file system but often recoverable. A corrupted file is still there, but broken. You may see error messages like "file not found", "cannot open file", or "file format not recognized" when you try to use it.
Key Takeaways
- Corrupted files can sometimes be repaired using built-in tools in Windows or macOS, or by opening them in a different program that is more forgiving of damage.
- For Microsoft Office files (Word, Excel, PowerPoint), the Open and Repair function often recovers most or all of your content without additional software.
- If the file is on an external drive or USB, try connecting it to a different computer and running a disk repair utility before attempting to open the file.
- Backup copies are your best recovery option — if you have a recent version saved elsewhere, use that instead of trying to repair the broken one.
- Some file types (images, videos, archives) have specialized recovery tools, but success depends on how much of the file was actually damaged.
Check your backup first
Before you spend time trying to repair a corrupted file, look for a backup copy. If you followed the backup strategy from the previous guide, you should have at least one other version stored somewhere — an external drive, cloud storage, or a previous version saved by your operating system.
Windows keeps File History backups automatically if you have an external drive connected. Right-click the corrupted file, select "Restore previous versions", and choose an older copy from before the corruption happened. On macOS, Time Machine works the same way — open Time Machine, navigate to the date before the file broke, and restore it.
If you have cloud storage (OneDrive, Google Drive, iCloud), check whether the service kept an older version. Most cloud services keep version history for 30 days or longer. This is almost always faster and more reliable than repairing the file yourself.
Use built-in repair tools for Office files
Microsoft Office files (Word documents, Excel spreadsheets, PowerPoint presentations) have a built-in repair function that works surprisingly well. Open the program (Word, Excel, or PowerPoint), go to File > Open, navigate to the corrupted file, and instead of clicking "Open", click the small arrow next to the Open button and select Open and Repair.
The program will attempt to rebuild the file structure and recover as much content as possible. You may lose some formatting or the most recent changes, but the text and data usually come back intact. If the repair succeeds, save the file when ready with a new name so you do not overwrite the original.
If Open and Repair does not work, try opening the file in a different Office program. A corrupted Word file sometimes opens in WordPad. A broken Excel file might open in Google Sheets if you upload it to Google Drive — Google's import process is more forgiving of damage than Excel's native reader.
Repair the disk if the file is on an external drive
If the corrupted file is on an external hard drive, USB stick, or SD card, the problem may not be the file itself but the disk it sits on. Run a disk repair utility before you try anything else.
On Windows, right-click the drive in File Explorer, select Properties, go to the Tools tab, and click Check. Windows will scan for errors and repair them automatically. On macOS, plug in the drive, open Disk Utility (in Applications > Utilities), select the drive, and click First Aid.
After the disk repair finishes, try opening the file again. Many corruption problems are actually disk errors that get fixed this way. If the file still will not open, the damage is to the file itself, not the storage device.
Try opening the file in a different program
Some file corruption is partial — the file is damaged but not completely destroyed. A different program may be able to read parts of it that the original program cannot. This works especially well for images, PDFs, and text files.
If a JPEG image will not open in your default photo viewer, try opening it in a web browser, Paint, or an online image viewer. If a PDF is corrupted, try opening it in a different PDF reader (Adobe Reader, Preview on Mac, or a web browser). If a text file is broken, open it in Notepad instead of the program that created it.
For compressed files (ZIP, RAR, 7Z), use a dedicated archive tool like 7-Zip or WinRAR instead of Windows' built-in extractor. These tools often recover partial content from damaged archives that Windows cannot touch.
Use file recovery software for images and videos
If you have a corrupted image or video file, specialized recovery tools can sometimes rebuild the file structure. These tools scan the file for recognizable data patterns and reconstruct what they find. They work best on JPEG images and MP4 videos, which have predictable internal structures.
Recuva (Windows) and EaseUS Data Recovery (Windows and Mac) can repair some image and video files. Upload the corrupted file, let the tool scan it, and it will attempt to rebuild the file. Success depends on how much of the file was actually damaged — if only the header is corrupted, recovery is likely. If large sections of the file are missing, recovery may be partial or impossible.
These tools are free or low-cost, but they do not always work. If the file is important and recovery fails, a professional data recovery service can sometimes help, though the cost is usually high.
Prevent corruption with proper shutdown and backups
Corruption usually happens because a file is interrupted while being written. You can reduce the risk by always shutting down your computer properly instead of forcing it off, ejecting external drives safely instead of unplugging them, and closing programs before disconnecting from the network.
The real protection, though, is backup. A corrupted file is only a problem if you do not have another copy. Keep at least one backup on a separate device — an external drive, cloud storage, or both. If a file becomes corrupted, you can straightforward restore the backup and move on instead of spending hours trying to repair it.
Frequently Asked Questions
Can I recover a corrupted file if I do not have a backup?
Sometimes. Try the Open and Repair function in Office, run disk repair if the file is on an external drive, or open the file in a different program. If none of those work, specialized recovery software may help, but success is not may provide. The more the file was damaged, the less likely recovery becomes.
What does "file format not recognized" mean?
It usually means the file is corrupted or the program trying to open it does not support that file type. Try opening the file in a different program, or check that you are using the right program for that file type. If the file extension is wrong (a Word document named as .txt, for example), renaming it to the correct extension sometimes fixes it.
Is it safe to open a corrupted file?
Opening a corrupted file will not harm your computer or spread malware. The worst that happens is the program crashes or shows an error. However, if the file is corrupted because of a virus, opening it might set up the virus. Scan the file with antivirus software first if you are unsure where the corruption came from.
Can I repair a corrupted file on my phone or tablet?
Phone and tablet repair options are limited. Try opening the file in a different app, or read the file to a computer and repair it there, then transfer it back. Cloud storage apps like Google Drive and OneDrive often have version history on mobile devices, so check there first.
What if the file is partially corrupted but still opens?
If the file opens but shows errors, missing content, or strange formatting, save it when ready in a different format. A Word document can be saved as .txt or .pdf, an Excel file as .csv, an image as a different image format. The new format may not preserve everything, but it often saves the readable parts before more damage occurs.