2 MB WAV sample file
A WAV file of exactly 2,097,152 bytes. It is a valid Waveform Audio File Format file, generated for this site and checked with an independent parser. Use it wherever you need a 2 MB sample, test or dummy WAV file.
Download
sample-wav-2mb.wav
2 MB2,097,152 bytes
Download 2 MB WAVDirect download. No sign-up and no waiting.
- Type
- audio/wav
- SHA-256
0c79cbd545764b845c703ae544f204f3aa7425168a5d0fc973b963311f79e99d- Direct URL
https://sampletestfiles.com/downloads/wav/sample-wav-2mb.wav
What is in this file
11.9 s of a synthesised eight-second musical phrase that repeats, as uncompressed 16-bit stereo PCM behind a 44-byte RIFF header. No padding is needed: the sample count sets the size.
| Duration | 11.9 s |
|---|---|
| Sample rate | 44,100 Hz |
| Channels | 2 (stereo) |
| Bit depth | 16-bit PCM |
| Bit rate | 1,411 kbit/s |
First bytes of the file
The first 64 bytes of sample-wav-2mb.wav as a hex dump: offset, bytes, then the same bytes as text. The WAV signature is 52 49 46 46 ?? ?? ?? ?? 57 41 56 45.
00000000 52 49 46 46 f8 ff 1f 00 57 41 56 45 66 6d 74 20 |RIFF....WAVEfmt |
00000010 10 00 00 00 01 00 02 00 44 ac 00 00 10 b1 02 00 |........D.......|
00000020 04 00 10 00 64 61 74 61 d4 ff 1f 00 00 00 00 00 |....data........|
00000030 02 00 03 00 07 00 0d 00 10 00 1d 00 1c 00 33 00 |..............3.|Preview
Loads the whole 2 MB file in your browser.
Where 2 MB matters
A 2,097,152-byte file: exactly the default upload limit of PHP, and twice the default of nginx and Spring Boot. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| PHP | 2 MB per uploaded file by default (upload_max_filesize) | A file of exactly 2 MB is accepted; one byte more is refused. |
| nginx | 1 MB by default (client_max_body_size) | Rejected with 413 Request Entity Too Large. |
| Spring Boot multipart | 1 MB per file by default (max-file-size) | Rejected unless the property is raised. |
| Django | 2.5 MB in memory by default | 2 MB is held in memory; the 5 MB sample is streamed to a temporary file. |
| Vercel Functions | 4.5 MB request body | Accepted, including as base64 at about 2.8 MB. |
Use this file for
- Finding out whether a 1 MB default has been raised
- Testing large audio uploads
- Checking transcoding to MP3, AAC or Opus
Testing notes for WAV
- Not every WAV file has a 44-byte header; extra chunks may appear before the audio data, so parsers must walk the chunk list.
- Three MIME types are in common use: audio/wav, audio/x-wav and audio/vnd.wave. Allow-lists should accept all of them.
Technical details
| File name | sample-wav-2mb.wav |
|---|---|
| Format | WAV (Waveform Audio File Format) |
| Extension | .wav |
| MIME type | audio/wav |
| Size | 2,097,152 bytes (2 MB) |
| Kind | Binary |
| Signature | 52 49 46 46 ?? ?? ?? ?? 57 41 56 45 |
| SHA-256 | 0c79cbd545764b845c703ae544f204f3aa7425168a5d0fc973b963311f79e99d |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Available on this page |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Audio |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Download from the command line and verify
Fetch the file with curl, then compare its checksum with the SHA-256 value above.
curl -o sample-wav-2mb.wav 'https://sampletestfiles.com/downloads/wav/sample-wav-2mb.wav'
sha256sum sample-wav-2mb.wav # Linux
shasum -a 256 sample-wav-2mb.wav # macOSOn Windows, run Get-FileHash sample-wav-2mb.wav -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.
Related files
Questions about this file
- Is this file exactly 2 MB?
- Yes. It is 2,097,152 bytes, which is 2 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 2 MB WAV file?
- 11.9 s of a synthesised eight-second musical phrase that repeats, as uncompressed 16-bit stereo PCM behind a 44-byte RIFF header. No padding is needed: the sample count sets the size.
- What format are the WAV samples?
- 16-bit stereo PCM at 44,100 Hz with the canonical 44-byte header.