You finally sit down to watch a video you’ve been saving forever, hit play, and… nothing. Just an error message telling you the file is damaged or can’t be played. Ugh. If this has happened to you, you’re not alone, and the good news is that most corrupted AVI files can actually be fixed.
AVI is an older video format (think old camcorder footage, downloaded movies from years ago, or screen recordings made with legacy software), and it has a known weak spot: its index. Think of the index like a table of contents for your video. If it gets damaged or goes missing, your media player gets confused and refuses to play the file, even though the actual video data is perfectly fine underneath. Fix the index, and most of the time your video comes right back. In this guide, we’ll walk you through every method for repairing a corrupted AVI file in 2026, starting with the simplest fixes and working up to more advanced options.
⚠️ Before you start: Always keep a backup of your original file before running any repair tool. Some tools will overwrite or modify the original, and if something goes wrong, you’ll want that safety net. Also, if you try multiple tools, always start from the original file each time. Running several repair programs in a chain on the same file can make things worse.
What Actually Causes AVI Corruption?
Before we dive into fixes, it helps to know what you’re dealing with. AVI files usually get corrupted because of:
- Interrupted or incomplete downloads, The file didn’t finish downloading, so it’s missing chunks of data (this is the most common cause)
- Power loss during recording or copying, The camera died or the PC shut off mid-write
- Bad sectors on a hard drive or USB stick, The storage device itself has physical damage
- File system crashes or OS errors, A crash while the file was open or being written
- Malware or antivirus interference, Some security tools can accidentally corrupt files they flag
Most of the time, the video data itself is intact. It’s just the index or header that’s broken. That’s why so many of these fixes work so well.
Before You Try Anything Else: Quick Checks
Don’t jump straight to repair tools just yet. Run through these quick checks first. They fix the problem more often than you’d think.
- Redownload the file: If the AVI came from the internet, there’s a good chance the download was just interrupted. Delete it and grab it again from the source.
- Try opening it in VLC: VLC is way more forgiving than Windows Media Player or the default macOS player. If VLC can play it, you might not need to repair anything at all. (Download VLC for free at videolan.org.)
- Check your storage device: If the file lives on an external drive or USB stick, make sure it’s properly connected. A loose connection can cause read errors that look like file corruption.
- Run a disk check on Windows: Open Command Prompt as Administrator and type
chkdsk X: /f(replace X with the drive letter). This scans for and fixes file system errors on that drive.
- Update your drivers: On Windows, open Device Manager, right-click your graphics card and audio device, and choose Update driver → Search automatically for drivers. Outdated drivers can cause playback failures that look like file corruption.
If none of that helps, let’s get into the actual repair methods.
Method 1: Use VLC to Auto-Fix the AVI Index (Free, Easiest)
VLC isn’t just a great media player. It can also repair a damaged AVI index on the fly. This is usually the first thing to try because it’s free, takes about two minutes, and works more often than you’d expect.
On Windows
- Open VLC media player.
- Click Tools in the menu bar, then select Preferences.
- In the bottom-left corner, make sure Show settings is set to Simple (it should be by default).
- Click the Input / Codecs tab.
- Find the option labeled Damaged or incomplete AVI file (sometimes called Repair AVI files depending on your VLC version).
- Change the dropdown to Always fix.
- Click Save.
- Now open your corrupted AVI via Media → Open File and try playing it.
On macOS
- Open VLC.
- In the menu bar, click VLC media player → Preferences.
- Click Input / Codecs.
- Next to Repair AVI files, choose Always fix from the dropdown.
- Click Save.
- Drag and drop your corrupted AVI file into VLC to play it.
Keep in mind that VLC’s fix is temporary. It rebuilds the index in memory while playing, but doesn’t save a permanently repaired file. If you want a fixed copy you can keep (and you do), jump to the next step.
Method 2: Save a Fixed Copy Using VLC’s Convert Feature (Free)
Once VLC can play your AVI, you can use its built-in Convert/Save feature to export a clean, working copy, ideally in MP4 format, which is much better supported on modern devices than AVI.
- Open VLC.
- Go to Media → Convert / Save.
- Click Add… and select your damaged AVI file.
- Click the Convert / Save button.
- Under Profile, choose a modern format. Video – H.264 + MP3 (MP4) is a great choice for compatibility.
- Click Browse to choose where to save the output file and give it a name (like
fixed_video.mp4).
- Click Start and wait for VLC to finish.
- Once it’s done, open the new file and make sure it plays correctly.
This is honestly the best outcome: you get a repaired file and it’s in a modern format that’ll play on anything. Win-win.
Method 3: Use DivFix++ for AVI Index Repair (Free)
DivFix++ is a lightweight, no-install tool that’s specifically designed to fix AVI files by rebuilding the index. It’s been around for years and still does the job well for this specific type of corruption.
- Download DivFix++ from SourceForge and extract the files (no installation needed).
- Run the DivFix++ executable.
- Click Add Files and select your corrupted AVI.
- Check the Keep Original File box. This makes sure DivFix++ creates a new repaired copy instead of overwriting your original.
- Optionally, check Cut Out Bad Parts to have the tool skip over any sections it can’t recover (useful for heavily damaged files, though it may shorten the video slightly).
- Click Strip Index to remove the corrupted index first, then click Fix to rebuild it.
- The repaired file will appear in the same folder as your original. Open it and check if it plays.
If DivFix++ works, you’ll often notice Windows showing a thumbnail preview of the video instead of a generic file icon. That’s a good sign the repair worked before you even hit play.
Method 4: Use FFmpeg to Remux or Re-encode the AVI (Free, Advanced)
If VLC and DivFix++ didn’t do the trick, FFmpeg is your next best option. It’s a powerful free tool that can rebuild a video’s container structure without re-encoding the video (which means it’s fast and doesn’t reduce quality). It’s a bit more technical since you’ll need to use the command line, but we’ll keep it simple.
On Windows
- Download FFmpeg from ffmpeg.org and extract it to a folder (e.g.,
C:\ffmpeg).
- Press
Windows + R, typecmd, and hit Enter to open Command Prompt.
- Navigate to the folder containing your AVI file. For example, type
cd C:\Users\YourName\Videosand press Enter.
- Run this command to remux the file (rebuilds the container without re-encoding):
ffmpeg -i input.avi -c:v copy -c:a copy output.aviReplaceinput.aviwith your actual filename.
- If that produces errors, try this command instead, which forces FFmpeg to generate timestamps:
ffmpeg -fflags +genpts -i input.avi -c:v copy -c:a copy output.avi
- If the file is heavily corrupted and the above don’t work, try a full re-encode to MP4 (this takes longer but is more likely to succeed):
ffmpeg -i input.avi -c:v libx264 -c:a aac output.mp4
On macOS
- Install FFmpeg using Homebrew: open Terminal and run
brew install ffmpeg.
- Navigate to your AVI file’s location in Terminal:
cd ~/Movies(or wherever your file is).
- Run the same remux command:
ffmpeg -i input.avi -c:v copy -c:a copy output.avi
- Or re-encode to MP4 if needed:
ffmpeg -i input.avi -c:v libx264 -c:a aac output.mp4
The remux approach is fast and lossless. It just rebuilds the container without touching the video quality. The re-encode takes longer but has a much better chance of recovering a badly corrupted file.
Method 5: Try an Online AVI Repair Service (No Install Needed)
Online video repair tools have gotten a lot better in recent years. If you don’t want to mess with command-line tools or install software, these browser-based services can do the heavy lifting for you. Just upload your file and download the fixed version.
The general workflow for most online repair services looks like this:
- Open the repair service in your browser (examples include Fix.Video or EaseUS Online Video Repair).
- Click the Upload or Plus button and select your corrupted AVI.
- Wait while the service analyzes and repairs the file (this can take a few minutes depending on file size).
- Preview the repaired video if the service offers a preview option.
- Click Download to save the fixed file to your computer.
🔒 Privacy heads-up: Online repair tools upload your video to a remote server for processing. If your AVI contains private or sensitive content such as home videos or personal recordings, stick to the offline methods above (VLC, FFmpeg, DivFix++) instead. Your privacy is worth more than the convenience.
Also worth noting: most free online services have file size limits, and larger files often require a paid plan. Check the limits before you start uploading a 4GB video.
Method 6: Use a Commercial Repair Tool (Paid, Last Resort)
If you’ve tried everything above and still can’t get the video to play, it might be time to bring in the big guns. Commercial repair tools like Kernel Video Repair, VideoSolo Video Repair, and Tenorshare 4DDiG Video Repair are more powerful than free options and support a wide range of formats beyond just AVI.
These tools typically work like this:
- Download and install the repair software of your choice.
- Open the program and click Add File (or similar) to load your corrupted AVI.
- Click Repair and wait for the tool to process the file.
- Preview the repaired video inside the app.
- If it looks good, click Save to export the fixed file.
These paid tools are worth considering if:
- The free methods didn’t work
- You have multiple corrupted files to fix at once (batch repair)
- The file is especially important and you need the best possible chance of recovery
- The underlying storage device has issues (some tools bundle data recovery + video repair)
Tips and Troubleshooting
Common Problems
Problem: “AVI won’t play in Windows 11, codec not supported”
This usually means your player is missing the codec (the decoder needed to read the video). The easiest fix is to install VLC, which includes its own codecs and can play almost anything. Alternatively, convert the AVI to MP4 using VLC or FFmpeg (see Methods 2 and 4 above).
Problem: The video plays but I can’t fast-forward or seek
This is a classic sign of a damaged index. The file plays from the beginning fine, but skipping around causes freezes or errors. Use VLC’s Always fix setting (Method 1), then convert/save a clean copy (Method 2) or use FFmpeg (Method 4) to permanently rebuild the index.
Problem: The repaired video has audio out of sync or a black screen
This can happen when some frames or audio samples are genuinely missing from the file. Try the FFmpeg re-encode command (ffmpeg -i input.avi -c:v libx264 -c:a aac output.mp4), re-encoding can smooth over gaps that a simple remux can’t fix. If you used DivFix++ with the Cut Out Bad Parts option, it may have removed a damaged section, which can shift the audio timing slightly.
Problem: The file is zero bytes or extremely tiny
Bad news: if your AVI file is zero bytes or just a few kilobytes when it should be gigabytes, there’s no video data to recover. No repair tool can create data that isn’t there. If this happened because of a failing hard drive, you’ll need to try data recovery software (like Recuva or TestDisk) first to recover the raw file before attempting video repair.
Problem: The video from an old camcorder stops halfway through
This usually happens when the recording was interrupted, such as when the battery died or the memory card was pulled out. Try DivFix++ first, then VLC, then FFmpeg. Some commercial tools also have camera-specific recovery algorithms that handle this better than generic tools.
Pro Tips
- Always repair, then convert to MP4: AVI is a legacy format. Even if you successfully repair the file, consider converting it to MP4 (H.264 or H.265) for long-term storage. It’ll play on anything and take up less space.
- Work from the original file: If you try multiple tools, always start fresh from your original corrupted AVI. Don’t chain repair tools on the same file.
- Check your drive health: If you’re seeing lots of corrupted files, the problem might be your storage device, not the files themselves. Run a disk health check with a tool like CrystalDiskInfo (Windows) or Disk Utility (macOS) to rule out a failing drive. If you’re dealing with a memory card, see our guide on how to recover data from a corrupted SD card.
- The thumbnail trick: On Windows, if File Explorer shows a video thumbnail preview instead of a generic icon after repair, that’s a good sign the fix worked. Windows can only generate thumbnails for files it can actually read.
Which Method Should You Try First?
Here’s a quick summary to help you pick the right starting point:
| Method | Best For | Cost | Difficulty |
|---|---|---|---|
| VLC Always Fix + Convert | Most corrupted AVI files, index issues | Free | Easy |
| DivFix++ | AVI index repair, keeping original file safe | Free | Easy |
| FFmpeg Remux | Container/index issues, lossless fix | Free | Moderate |
| FFmpeg Re-encode | Heavily corrupted files, codec problems | Free | Moderate |
| Online Repair Service | Non-sensitive files, no software install | Free/Paid | Easy |
| Commercial Repair Tool | Stubborn files, batch repair, best results | Paid | Easy |
Finally, a repaired video! Dealing with a corrupted AVI is genuinely frustrating, especially when it’s footage you care about, but the good news is that most of the time one of these methods will get it working again. Start with VLC since it’s free and already installed on most computers, and if that doesn’t do it, work your way down the list. And once you’ve got a working copy, do yourself a favor and convert it to MP4. AVI had a good run, but it’s time to move on. If you’re still stuck after trying everything here, drop a question in the comments and we’ll help you figure it out.