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 WebM

Created 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.

Dimensions640 × 360 px
Duration2 min 16 s
Frame rate30 fps
Video codecVP9
AudioNo audio track
Document typewebm
Clusters136, one for each key frame
Seek indexCues 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:

SystemLimitNote
PHP2 MB per uploaded file by default (upload_max_filesize)A 5 MB upload fails on an untuned PHP installation.
Vercel Functions4.5 MB request bodyLarger uploads must go directly to object storage.
Amazon S3 multipart upload5 MiB minimum part sizeThis file is exactly one minimum part.
AWS Lambda6 MB synchronous invocation payload5 MB of binary data exceeds it once base64-encoded.
Browser localStorageAbout 5 MB per originStoring this file as text fills the quota.
Django2.5 MB in memory by defaultLarger uploads are streamed to a temporary file instead of held in memory.

All 5 MB sample files

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.

WebM format reference

Technical details

File namesample-webm-5mb.webm
FormatWebM (WebM video)
Extension.webm
MIME typevideo/webm
Size5,242,880 bytes (5 MB)
KindBinary
Signature1A 45 DF A3
SHA-256728ed916634ff94acaac6969a8d7f543e6d2f3b0692505ac5d70922a00b335eb
Created2026-10-14
ValidationExact size, signature bytes and structure checked when the generator was built; your copy is checked against the SHA-256 after it is created
PreviewAvailable on this page
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryVideo

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 # macOS

On 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.