WAV Header Generator
Online WAV header generator and download example files. Generate standard WAV header files by sample rate, channels, and bit depth. Prepend the header to raw PCM files to fix unplayable audio.
Common WAV Header Examples & Downloads
Channels: Mono (1ch)
Bit Depth: 16-bit PCM
Header Size: 44 Bytes
Channels: Mono (1ch)
Bit Depth: 16-bit PCM
Header Size: 44 Bytes
Channels: Stereo (2ch)
Bit Depth: 16-bit PCM
Header Size: 44 Bytes
Custom WAV Header Generator & Downloader
Related Audio Tools
Real-Time WAV Header HEX Inspector (44 Bytes)
WAV Header Structure & Size Breakdown (Metadata Details)
| Byte Offset | Field Name | Length | Current Value | Description & Definition |
|---|
How to Concatenate WAV Header with PCM to Fix Playback
Raw PCM audio has no container metadata or header, so standard media players cannot detect its sample rate or channel configuration. By prepending the 44-byte header generated here to your raw PCM file, you restore it as a standard playable WAV file:
- Open Merge Files Tool;
- Add both the downloaded WAV header file and your raw PCM file;
- Ensure the WAV header file is placed 1st and the PCM file is 2nd;
- Set the output file extension to
.wavand click "Merge & Download" to get a playable WAV file!
copy /b Wav_header_16k_16bit_1ch__abctool.info.wav + audio.pcm output.wav cat Wav_header_16k_16bit_1ch__abctool.info.wav audio.pcm > output.wav Frequently Asked Questions (FAQ)
For standard uncompressed linear PCM audio, the WAV header size is exactly 44 bytes. It consists of a 12-byte RIFF chunk header, a 24-byte fmt format subchunk, and an 8-byte data chunk header.
Most standard media players (such as Windows Media Player, iOS/Android native players, and HTML5 <audio> tags) will treat a file with Data Size = 0 as having zero duration and refuse to play. We recommend entering the exact byte length of your PCM data when generating the header, or using our PCM to WAV tool for automatic processing.
The formula for byte rate is: Sample Rate (Hz) × Channels × (Bit Depth ÷ 8). For example, 16000Hz 16-bit Mono requires 16000 × 1 × 2 = 32,000 bytes per second (~31.25 KB/s).