If you need to repair a corrupted WAV file that suddenly refuses to open or play, the good news is that the fix is usually simpler than it looks. In most cases the actual audio you recorded is still sitting safely inside the file. What is broken is the small block of information at the very start that tells your player how to read that audio. Rebuild that block correctly and the file springs back to life. This guide explains exactly what goes wrong and walks you through repairing the file with our free Repair WAV tool.

Why a WAV File Stops Opening

A WAV is a RIFF file, which is just a standard container format. It begins with a header that declares the format of the audio: the sample rate, the bit depth, and the number of channels. After that header comes a data chunk, which starts by declaring how many bytes of audio follow, and then the raw PCM audio samples themselves.

The catch is that the header is written with sizes that are supposed to match the audio. If a recording is cut short, because a recorder crashed, a laptop lost power, or a disk filled up mid-session, the samples get written but the header is never finalized. The declared size in the header no longer matches the audio that is actually present. When you double-click the file, your player reads that broken declaration, decides the file is invalid, and refuses to open it. Your audio is intact; the label on the box is simply wrong.

How to Repair a WAV File by Rebuilding the Header

Repairing the file means writing a fresh, correct RIFF and data header around the PCM audio that was actually recorded. This is what our tool does automatically, and it is the safest approach because it never touches the audio samples themselves.

Step 1: Try to Open the File First

Before anything else, confirm the file really is broken. Open it in your usual audio editor or media player. If you see an error like "unsupported format," "file is not a valid WAV," "unexpected end of file," or the file shows a length of zero seconds despite being megabytes in size, you are almost certainly looking at a header problem rather than lost audio.

Step 2: Keep a Copy of the Original

Never work on your only copy. Duplicate the damaged file and set the original aside. Any repair should be done on a copy so that if something goes wrong you can always start again from the untouched file.

Step 3: Upload the File to the Repair Tool

Open the Repair WAV tool and select your damaged file. The tool reads through the file, locates the raw PCM audio inside it, and measures how much audio is genuinely present rather than trusting the broken size in the old header.

Step 4: Let the Tool Rebuild the Header

With the real length of the audio measured, the tool constructs a new RIFF header and a new data chunk with a correct byte count, then wraps that header around your PCM samples. It also writes correct values for the sample rate, bit depth, and channel count so that the audio plays back at the right speed and pitch. When you specified those values or they survived in the original header, they are reused; otherwise sensible standard values are applied.

Step 5: Download and Verify

Download the repaired file and open it in your player or editor. It should now report the correct duration and play cleanly. Listen from the start and, importantly, right to the very end, since a cut-off recording sometimes ends abruptly at the moment the crash happened.

What a Header Rebuild Can and Cannot Fix

Rebuilding the header solves the most common WAV failure by far: a valid stream of audio trapped behind an incorrect size declaration. It is fast, lossless, and works whether the file came from a field recorder, a DAW, or a phone voice memo.

It cannot, however, invent audio that was never written to disk. If the recording stopped because the disk filled up, the samples after that point simply do not exist, and no tool can recover them. Likewise, if the file was truncated in the middle of a sample or the bytes were scrambled by a bad transfer, you may hear a short click or a fraction of a second of noise at the very end. That is normal and usually trivial to trim in any editor.

Getting the Format Values Right

The sample rate (such as 44,100 or 48,000 Hz), the bit depth (typically 16 or 24 bits), and the channel count (mono or stereo) all live in the header. If these are wrong, the file may open but sound too fast, too slow, or garbled. When you know the settings your recorder used, supply them so the rebuild is exact. Our companion guide on recovering a damaged WAV recording explains how these values shape the playback and how to identify the right ones.

After the Repair: Cleaning Up

Once the file opens, load it into your audio editor to finish the job. Trim any stray noise from the very end, normalize the level if the recording is quiet, and export a fresh copy. Exporting from a clean editor session also rewrites the header one more time from a known-good state, which guarantees the file is fully standard-compliant for any future software.

If the same problem keeps happening to your recordings, it is worth understanding the root causes. Our article on why WAV files get corrupted covers the recorder and DAW crashes behind most damaged files, and how to prevent WAV corruption shows how to stop it recurring.

Conclusion

To repair a corrupted WAV file, you do not need to be an audio engineer or buy expensive software. Because the audio samples almost always survive a crash, the fix is to rebuild the RIFF and data header so your player can find and read them again. Make a copy of the broken file, run it through the free Repair WAV tool, download the result, and verify it end to end. In a couple of minutes a file that seemed lost is playing once more.