Free WAV test files and sample generator

Uncompressed PCM audio. High quality and large; common for raw recordings and audio editing.

Generate a .wav file →

What is a .wav file?

WAV: Waveform Audio. WAV is uncompressed PCM audio in a RIFF container, the format of recording, editing and speech processing, where compression artifacts would get in the way. Files are large and their size is directly proportional to duration.

Why generate a test WAV file?

What you can put inside a .wav file

You get 4 content options for WAV, so the file holds something meaningful rather than random padding: Silence, Tone (beep), Noise, Voice (synthetic). For WAV these are alternatives, so choose the one that matches what you need to test.

How a .wav file is identified

Every .wav file begins with 52 49 46 46 … 57 41 56 45, "RIFF", then the total length, then "WAVE" at offset 8. That is what a validator inspecting content rather than the file name looks for.

How the size lands on the exact byte

RIFF defines a JUNK chunk that readers skip by design, so the padding goes there and the audio itself is untouched.

Negative testing with broken WAV files

Which failure to reach for, and what to assert for each, is covered in how to make a corrupted file for testing. For upload limits and type checks see testing file upload validation.

Sample WAV content

[Binary audio], PCM, 44.1 kHz, 16-bit, stereo.

This shows the shape of the file. Your download is generated fresh at the size you choose, so the values will differ.

How to open and verify the file

Play in any media player; inspect with Audacity or `ffprobe file.wav`.

Media type audio/wav · extension .wav · category Audio

Generate a .wav file → · questions about sizes, privacy or cost are answered on the site FAQ.

Frequently asked questions about WAV files

What identifies a .wav file?

A .wav file begins with the bytes 52 49 46 46 … 57 41 56 45, "RIFF", then the total length, then "WAVE" at offset 8. Those bytes are what a content-sniffing validator looks for, and what the Corrupted condition destroys.

How can a .wav file be an exact number of bytes?

RIFF defines a JUNK chunk that readers skip by design, so the padding goes there and the audio itself is untouched.

What can go inside the WAV file?

There are 4 content options for .wav: Silence, Tone (beep), Noise, Voice (synthetic). For WAV these are alternatives, so pick the one matching what you need to test.

Can I download several broken WAV files at once?

Yes, select more than one File Condition and you get one ZIP containing a .wav per condition, each named after its condition.

Can the WAV file use UTF-16 or a byte-order mark?

No, and deliberately. A .wav file is a container rather than plain text, so rewriting its bytes as UTF-16 would not produce a UTF-16 document. It would produce a broken file. Use a text format such as CSV, JSON or XML for encoding tests.

How do I open or verify the WAV file?

Play in any media player; inspect with Audacity or ffprobe file.wav.

Related Audio formats

MP3 · FLAC · AAC · M4A · OGG · AIFF · AU · MIDI

Browse all file formats →