All supported formats
audio.wav
Repair Truncated WAV Audio Files & Headers Online
Recalculates RIFF and `data` subchunk sizes on WAV recordings interrupted by app crashes, trims unaligned trailing sample bytes, and streams >25 MB files in constant memory.
Select or drop WAV files
Accepts .wav files (or any supported format). Runs 100% locally in your browser.
No WAV file handy? Try a broken sample:
0 bytes uploaded • Zero server storage
WAV Errors You Might See
- WAV file shows 0:00 duration or refuses to play in VLC, Audacity, or QuickTime
- Loud click or static at the end of a cut-off recording
- Large recording created before a crash has a zeroed `data` chunk size
What We Repair Locally
- Restores corrupted RIFF and WAVE FourCC container markers
- Recalculates zeroed or mismatched RIFF and `data` chunk sizes
- Trims trailing partial-sample bytes to match `fmt ` block alignment
- Streams recordings >25 MB in ~256 KB RAM without loading audio into WASM
How WAV Repair Works
1
Inspect RIFF & fmt
Reads the RIFF header and sample `block_align` from `fmt `.
2
Align & Resize data
Trims partial-sample trailing bytes and updates RIFF/data byte counts.
3
Verify Playback
Probes audio duration in the browser and renders an audio player.
What Cannot Be Repaired Automatically
- RF64 (>4 GB) 64-bit WAV containers (detected and flagged honestly)
- WAV files missing the `fmt ` or `data` chunks entirely
Related WAV Error Guides
Other audio Formats
Frequently Asked Questions
- Why won't my recorded WAV file play even though it is large?
- Audio recorders write the `data` chunk size when stopping recording. If the app crashes, the header still says 0 bytes. RepairAnyFile recalculates the true payload size.
- Can I repair a 500 MB or 1 GB WAV recording on mobile?
- Yes. Files over 25 MB use streaming edge-patching (`File.slice()`), patching only the header without loading the audio payload into RAM.