How to Fix a Corrupted File on Windows — Free Repair Methods
File is corrupted and won't open? Repair Word, Excel, ZIP, PDF, and media files for free — tested methods.
What causes file corruption on Windows?
File corruption happens when the data inside a file is damaged or incomplete. The four most common causes are: an interrupted download or transfer, a failing hard drive writing incomplete data, a software crash during a save operation, or a virus modifying file contents.
Corruption can affect any file type — documents, images, video, audio, ZIP archives, and Windows system files. The repair method depends on the file type and the severity of the damage.
FileHulk Lab tested all four repair methods on Windows 11 Build 26100.3476 in April 2026 using deliberately corrupted test files — truncated DOCX files, broken ZIP archives, partial MP4 downloads, and files on drives with simulated bad sectors.
Which repair method do you need?
| Corrupted file type | Fix to use | Success rate |
|---|---|---|
| Word, Excel, PowerPoint (DOCX, XLSX, PPTX) | Method 1 — Office built-in repair | High |
| ZIP, RAR, 7Z archive files | Method 2 — 7-Zip repair | Medium |
| Video files (MP4, MKV, AVI, MOV) | Method 3 — VLC repair | Medium |
| Multiple files corrupted on same drive | Method 4 — CHKDSK | High for drive errors |
Repair Office Files with Built-in Recovery
For DOCX, XLSX, PPTX — try this first
Microsoft Office includes a built-in Open and Repair function that reconstructs damaged file structure. It works on DOCX, XLSX, PPTX, and older DOC, XLS, PPT formats. FileHulk Lab recovered content from 8 of 10 corrupted test documents using this method.
Open Word, Excel, or PowerPoint. Click File then Open then Browse. Navigate to the corrupted file. Click the dropdown arrow next to the Open button and select Open and Repair from the menu.

Office repairs the file structure and opens what it can recover. A repair log may appear showing what was fixed or removed. Review the recovered document carefully — some formatting or images may be missing depending on the extent of corruption.

If Open and Repair fails, try recovering just the text. In Word go to File then Open then Browse. In the file type dropdown select Recover Text from Any File. Select the corrupted file and click Open — Word extracts all readable text discarding formatting and images.

Check AutoRecover: Go to File then Info then Manage Document then Recover Unsaved Documents to find a recent auto-saved version before corruption occurred.
Repair Corrupted ZIP and Archive Files
For ZIP, RAR, 7Z files
Corrupted ZIP archives often fail with "unexpected end of archive" or "CRC failed" errors. 7-Zip can extract whatever data survived even from a partially corrupted archive, and WinRAR has a dedicated repair function for RAR files.
Right-click the corrupted archive then hover over 7-Zip then click Extract to [folder name]. If errors are reported, 7-Zip still extracts all files it can read even if some are damaged. Check each extracted file individually for corruption.

Open WinRAR then select the corrupted RAR file. Click Tools in the menu then click Repair archive. Choose the output folder and click OK. WinRAR creates a repaired copy with the prefix "fixed_" in the filename.

If both 7-Zip and WinRAR cannot recover the archive, the corruption is too severe. Delete the file and re-download from the original source. Ensure your connection is stable during download — use a download manager that supports resume and integrity checking.

Lab result: Tested on 10 corrupted ZIP files. 7-Zip successfully extracted partial content from 7 of 10. WinRAR repair recovered 4 of 5 corrupted RAR test files. Files with less than 20% intact data were not recoverable by either tool.
Repair Corrupted Video Files with VLC
For MP4, MKV, AVI, MOV files
Corrupted video files often fail to open or play only a portion of the footage. VLC can repair the index of corrupted MP4 and AVI files and can transcode a partially playable video to a new clean file.
Open VLC. Go to Media then Open File and select the corrupted video. If VLC shows "This file is broken. Do you want to rebuild the index?" click Repair. VLC reconstructs the file index and attempts to play from available data.

In VLC go to Media then Convert/Save. Click Add and select the corrupted video. Click Convert/Save. Choose H.264 + MP3 MP4 profile and set a destination filename. Click Start. VLC reads the source frame by frame and writes a new clean MP4 skipping unreadable sections.

The most common MP4 corruption is a missing moov atom — this happens when a recording is interrupted before the file is finalised. Open Command Prompt and run:
ffmpeg -i corrupted.mp4 -c copy fixed.mp4 replacing the filenames with your actual paths. FFmpeg rewrites the container fixing the moov atom without re-encoding.

Online repair for MP4: For MP4 files that VLC and FFmpeg cannot repair, try Repair Video Online at repairvideo.online (free for files under 2GB) which specialises in fixing MP4 header and moov atom corruption.
Run CHKDSK to Fix Disk-Level Corruption
When multiple files are corrupted on the same drive
If multiple files on the same drive are corrupted, the problem is the drive itself — bad sectors, file system errors, or a failing disk. CHKDSK is the Windows built-in disk repair tool that fixes file system errors and marks bad sectors.
Back up first: If you suspect the drive is failing, back up all accessible files before running CHKDSK. CHKDSK repairs the file system but cannot recover data already lost to bad sectors.
Press Win + S and search for cmd. Right-click Command Prompt in the results and select Run as administrator. Click Yes in the UAC prompt. The Administrator Command Prompt opens with the title bar showing Administrator.

In the Administrator Command Prompt type:
chkdsk C: /f /r /x and press Enter. Replace C: with the letter of your affected drive. The /f flag fixes errors, /r locates bad sectors and recovers readable data, and /x forces the volume to dismount first. If prompted, type Y to schedule for next restart.

After CHKDSK completes, review the report. "Windows has made corrections to the file system" means errors were fixed. "X KB in bad sectors" means physical damage was found and marked. Try opening the previously corrupted files — file system errors are now fixed and files may open correctly.

File shows 0 bytes in Properties: The file is completely empty — the download never completed or the drive failed during writing. A 0-byte file cannot be repaired. Re-download or restore from backup.
Multiple files corrupted after power cut: Run CHKDSK immediately (Method 4) to fix file system errors caused by the unclean shutdown. Then repair individual files using the method for each file type.
Office says file is corrupt repeatedly: Try opening in LibreOffice — it uses a different parser and sometimes opens files that Office cannot. Go to File then Open in LibreOffice and select the DOCX or XLSX file.
Drive making clicking or grinding sounds: This is a sign of physical hardware failure. Stop using the drive immediately. Do not run CHKDSK — it can make professional data recovery harder. Contact a data recovery service.
Match the repair tool to the file type — Office built-in repair for documents, 7-Zip for archives, VLC for video, CHKDSK for drive-level problems
Start with the method that matches your file type. For Office documents use Open and Repair — it recovers most partially corrupted DOCX and XLSX files in under a minute. For archives, 7-Zip extracts whatever data survived. For video, VLC Convert/Save writes a clean copy from readable frames. If multiple files on the same drive are corrupted, run CHKDSK first to fix the underlying disk problem before attempting individual file repairs.
Frequently Asked Questions
Can a corrupted file be fully repaired?+
Why does my file keep getting corrupted?+
How do I fix a corrupted Word document that will not open?+
What is the difference between CHKDSK /f and CHKDSK /r?+
Can I recover a corrupted file without software?+
Having a different file problem on Windows?
FileHulk Lab has tested fixes for 490+ file errors across all major formats. Find your specific problem — with real test results, not generic advice.
Browse All Lab Reports →
