Recording won't play? How to repair a corrupted WAV or MP3 file
When a recorder loses power, the audio is usually still there. Fix a broken WAV header or glitchy MP3 with FFmpeg, Audacity, MP3val, or your browser.
By the Bytevive team9 min read

The interview ran for an hour. Then the recorder’s battery died, or the laptop went to sleep, or the app crashed as you pressed stop. Now the file is hundreds of megabytes, yet every player says it’s empty, or refuses to open it.
This is one of the most recoverable kinds of damage there is. Here’s why it happens, and how to fix it for free without uploading your recording anywhere.
Why a WAV plays as 0:00
A WAV file opens with a short header, followed by the sound itself. Per the WAVE format specification, the header holds two size fields: one for the whole file, in the RIFF chunk, and one for the sound, in the data chunk. Players trust those numbers to know how long the recording is.
Inside a WAV file
The two size fields are only filled in when the recording stops cleanly. Until then they read zero.
- RIFF sizeWhole file: 0
- fmt48 kHz, 24-bit…
- data sizeSound: 0
- SoundEvery sample you recorded
Recorders write the sound as it comes in, then go back and fill in the sizes when you press stop. If the power fails first, the sizes stay at zero, or at whatever value was last saved. Some recorders, such as Zoom’s F6, save files at regular intervals to limit the damage, which is why some broken files play for a few minutes and then stop. The fix is to measure the sound that’s actually there and write the real numbers back.
Why a WAV can’t pass 4 GB
Those size fields are 32-bit numbers, so a standard WAV can’t describe more than 4 GB of sound. Long or high-resolution recordings hit that limit sooner than you’d expect:
How long a stereo WAV can run before reaching 4 GB
4 GiB divided by the data rate of each format.
- 16-bit, 44.1 kHz (CD)
- 6.8 h
- 16-bit, 48 kHz
- 6.2 h
- 24-bit, 48 kHz
- 4.1 h
- 24-bit, 96 kHz
- 2.1 h
- 32-bit float, 96 kHz
- 1.6 h
Beyond that, recorders switch to RF64, defined in EBU Tech 3306. It sets the old size fields to 0xFFFFFFFF and stores the real sizes in a separate 64-bit chunk. Some tools mistake an RF64 file for a broken WAV, so check the format before you “repair” anything.
What goes wrong with MP3 and M4A
An MP3 is a chain of small, independent frames, each starting with a sync pattern and a frame header that says how long it is. Damage in the middle breaks the chain, and some players stop there. Cutting out the bad bytes and keeping every intact frame restores playback, with a tiny skip where the damage was.
M4A, the format used by iPhone Voice Memos and many apps, is different. It needs an index (the moov box) that lists where every piece of sound is. Apps usually write it when recording ends. If the index is at the end of the file, Bytevive can move it to the front so streaming players cope. If it was never written, Bytevive cannot rebuild it (and has no reference-file option); OBS’s own guidance sums up the situation: an interrupted MP4 or MOV recording may not be recoverable at all.
Audio repair tools, compared
| Tool | Where it runs | Formats | Cost | Worth knowing |
|---|---|---|---|---|
| Bytevive | In your browser, nothing uploaded | WAV, MP3, M4A | Free (free account); 512 MB limit for MP3 only | Fixes WAV headers, MP3 frames, and M4A index placement; plays the result back |
| johnmcm.com Repair WAV | In your browser | WAV | Free | WAV and BWF only; also saves big files as RF64 and rescues audio with no header |
| EaseUS Fixo Online | Their servers | Several | 1 free repair a day, under 100 MB | Sign-in required; files deleted after 14 days |
| Wondershare Repairit | Your computer | Several | Desktop license, about US$40 to US$50 | No online audio repair |
| FFmpeg | Your computer | Almost all | Free, open source | Command line |
| Audacity | Your computer | Raw audio | Free, open source | Import Raw Data needs the right settings |
| MP3val, MP3 Diags | Your computer | MP3 | Free, open source | Specialist MP3 checkers and fixers |
Credit where it’s due: for WAV files alone, and especially for recordings over 4 GB, johnmcm’s tool is excellent, and like Bytevive it never uploads your audio. Bytevive is the one to reach for when you have a mix of WAV, MP3, and M4A files, and it plays each repaired file so you can check it before you download.
How to fix a recording with Bytevive
- Open Audio Repair and sign in with a free account.
- Drop the recording onto the page. It never leaves your device. MP3 files up to 512 MB are supported; WAV and M4A are read in pieces and are not held to that limit.
- For a WAV, Bytevive reads the format, measures the sound that’s actually in the file, and writes the true length into the header.
- For an MP3, it walks every frame, keeps the intact ones, and removes the damaged bytes between them.
- For an M4A, it moves the index to the front when it’s stored at the end. If the index is there but the audio was cut short, it keeps the part that reached the disk and tells you how much. If the index is missing, it tells you plainly instead of guessing.
- Listen to the result on the page, then save the repaired copy.
Bytevive also lets you drop FLAC, OGG, or AAC files to check whether your browser can start playback, but it does not inspect their structure or repair those formats yet.
The free command-line route
# Ignore the broken length in the header and rewrite the WAV
ffmpeg -ignore_length 1 -i broken.wav -c copy fixed.wav
# Same, for recordings that may exceed 4 GB
ffmpeg -ignore_length 1 -i broken.wav -c copy -rf64 auto fixed.wavIn Audacity, File → Import → Raw Data reads the file as plain sound. You have to choose the sample rate, bit depth, and channel count yourself; get one wrong and you’ll hear loud noise, so try again with different settings. For MP3s, MP3val and MP3 Diags check and repair frame errors.
The bottom line
A recording that stopped badly is usually all there: the file just doesn’t say so. Fix it in your browser in a few seconds, or use FFmpeg if you’re comfortable with the command line. If you are troubleshooting an MP3 that refuses to play or skips, see MP3 file won’t play. Either way, your recording stays with you.
Frequently asked questions
My WAV file is large but plays as 0 seconds. Is the audio gone?
Can Bytevive repair a WAV larger than 512 MB or 4 GB?
Can a recording cut off by a dead battery be recovered?
Can Bytevive fix a cut-off iPhone Voice Memo (.m4a)?
Is my recording uploaded?
Sources
Every claim, error message, price, and limit cited above comes from these pages, checked on November 22, 2026. If one has changed, tell us at support@bytevive.com and we’ll update the article.
- McGill University: WAVE audio file format specifications
- EBU Tech 3306: RF64, an extended file format for audio
- MPEG audio frame header reference (mpgedit, archived copy)
- FFmpeg formats documentation (ignore_length, rf64)
- Audacity manual: Import Raw Data
- MP3val
- MP3 Diags
- OBS: recording format guide
- Zoom F6 operation manual (automatic saving during recording)
- Transom: Lost and found files
- Wondershare Repairit audio repair (desktop)
- EaseUS Fixo online audio repair
- johnmcm.com: Repair WAV


