5 MB WebM sample file
A WebM file of exactly 5,242,880 bytes. It is a valid WebM video file, generated for this site and checked with an independent parser. Use it wherever you need a 5 MB sample, test or dummy WebM file.
Download
sample-webm-5mb.webm
5 MB5,242,880 bytes
Download 5 MB WebMCreated in your browser in a few seconds, then checked against the SHA-256 checksum. No sign-up.
- Type
- video/webm
- SHA-256
728ed916634ff94acaac6969a8d7f543e6d2f3b0692505ac5d70922a00b335eb- Delivery
- Created in your browser. Files of 2 MB and more have no direct URL (why).
What is in this file
4,075 frames (2 min 16 s) of a synthetic test pattern with a frame counter, looping every six seconds, in one VP9 video track. The index of key frames comes before the picture data, so a player can seek without reading the whole file. 2,237 bytes of an EBML Void element bring the file to the exact size.
| Dimensions | 640 × 360 px |
|---|---|
| Duration | 2 min 16 s |
| Frame rate | 30 fps |
| Video codec | VP9 |
| Audio | No audio track |
| Document type | webm |
| Clusters | 136, one for each key frame |
| Seek index | Cues element before the first cluster |
First bytes of the file
The first 64 bytes of sample-webm-5mb.webm as a hex dump: offset, bytes, then the same bytes as text. The WebM signature is 1A 45 DF A3.
00000000 1a 45 df a3 9f 42 86 81 01 42 f7 81 01 42 f2 81 |.E...B...B...B..|
00000010 04 42 f3 81 08 42 82 84 77 65 62 6d 42 87 81 04 |.B...B..webmB...|
00000020 42 85 81 02 18 53 80 67 01 00 00 00 00 4f ff d0 |B....S.g.....O..|
00000030 11 4d 9b 74 b3 4d bb 8e 53 ab 84 15 49 a9 66 53 |.M.t.M..S...I.fS|Preview
Creates the file in your browser and shows it here. Nothing large is downloaded from our server.
Where 5 MB matters
A 5,242,880-byte file: the size of a phone photo and the minimum part size for S3 multipart uploads. 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 5 MB upload fails on an untuned PHP installation. |
| Vercel Functions | 4.5 MB request body | Larger uploads must go directly to object storage. |
| Amazon S3 multipart upload | 5 MiB minimum part size | This file is exactly one minimum part. |
| AWS Lambda | 6 MB synchronous invocation payload | 5 MB of binary data exceeds it once base64-encoded. |
| Browser localStorage | About 5 MB per origin | Storing this file as text fills the quota. |
| Django | 2.5 MB in memory by default | Larger uploads are streamed to a temporary file instead of held in memory. |
Use this file for
- Testing image resizing and memory use
- Verifying type detection between WebM and MKV
- Testing transcoding from WebM to MP4
Testing notes for WebM
- WebM and MKV share a signature, so a sniffer has to read the document type to tell them apart.
- H.264 and AAC are not allowed in WebM. A file with those codecs and a .webm extension is really Matroska, and browsers may refuse it.
Technical details
| File name | sample-webm-5mb.webm |
|---|---|
| Format | WebM (WebM video) |
| Extension | .webm |
| MIME type | video/webm |
| Size | 5,242,880 bytes (5 MB) |
| Kind | Binary |
| Signature | 1A 45 DF A3 |
| SHA-256 | 728ed916634ff94acaac6969a8d7f543e6d2f3b0692505ac5d70922a00b335eb |
| Created | 2026-10-14 |
| Validation | Exact size, signature bytes and structure checked when the generator was built; your copy is checked against the SHA-256 after it is created |
| Preview | Available on this page |
| Source | Generated in your browser by this site's generator; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Video |
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
Verify your copy
This file is created in your browser, so it has no direct URL for curl or wget. The bytes are the same every time and in every browser, so after saving it you can compare its checksum with the SHA-256 value above.
sha256sum sample-webm-5mb.webm # Linux
shasum -a 256 sample-webm-5mb.webm # macOSOn Windows, run Get-FileHash sample-webm-5mb.webm -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy, or use a 1 MB file, which has a direct URL.
Related files
Questions about this file
- Is this file exactly 5 MB?
- Yes. It is 5,242,880 bytes, which is 5 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 5 MB WebM file?
- 4,075 frames (2 min 16 s) of a synthetic test pattern with a frame counter, looping every six seconds, in one VP9 video track. The index of key frames comes before the picture data, so a player can seek without reading the whole file. 2,140 bytes of an EBML Void element bring the file to the exact size.
- Which codec do the WebM samples use?
- VP9 video at 640 × 360 and 30 frames per second, with no audio track.