Free WebM sample, test and dummy files
A royalty-free video format for the web: VP8, VP9 or AV1 video in a restricted Matroska container. Download valid WebM test files in 17 exact sizes, from 10 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.
- Extension
- .webm
- MIME type
- video/webm
- Kind
- Binary
- Category
- Video
Create a WebM file of any size
Choose any size from 9,960 bytes to 1 GB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.
WebM files by size
Every file below is a valid WebM video file of exactly the stated size. Open a file's page for its checksum and contents, and to preview it in your browser before downloading.
| File | Size | Contents | Download |
|---|---|---|---|
| 10 KB WebM samplesample-webm-10kb.webm | 10 KB10,240 bytes | Duration: 0.0 s | Download WebM |
| 25 KB WebM samplesample-webm-25kb.webm | 25 KB25,600 bytes | Duration: 0.5 s | Download WebM |
| 50 KB WebM samplesample-webm-50kb.webm | 50 KB51,200 bytes | Duration: 1.2 s | Download WebM |
| 100 KB WebM samplesample-webm-100kb.webm | 100 KB102,400 bytes | Duration: 2.7 s | Download WebM |
| 200 KB WebM samplesample-webm-200kb.webm | 200 KB204,800 bytes | Duration: 5.1 s | Download WebM |
| 500 KB WebM samplesample-webm-500kb.webm | 500 KB512,000 bytes | Duration: 13.2 s | Download WebM |
| 1 MB WebM samplesample-webm-1mb.webm | 1 MB1,048,576 bytes | Duration: 27.1 s | Download WebM |
| 2 MB WebM samplesample-webm-2mb.webm | 2 MB2,097,152 bytes | Duration: 54.1 s | Download WebM |
| 3 MB WebM samplesample-webm-3mb.webm | 3 MB3,145,728 bytes | Duration: 1 min 22 s | Download WebM |
| 5 MB WebM samplesample-webm-5mb.webm | 5 MB5,242,880 bytes | 640 × 360 px | Download WebM |
| 10 MB WebM samplesample-webm-10mb.webm | 10 MB10,485,760 bytes | Duration: 4 min 32 s | Download WebM |
| 15 MB WebM samplesample-webm-15mb.webm | 15 MB15,728,640 bytes | Duration: 6 min 48 s | Download WebM |
| 20 MB WebM samplesample-webm-20mb.webm | 20 MB20,971,520 bytes | Duration: 9 min 4 s | Download WebM |
| 25 MB WebM samplesample-webm-25mb.webm | 25 MB26,214,400 bytes | Duration: 11 min 19 s | Download WebM |
| 30 MB WebM samplesample-webm-30mb.webm | 30 MB31,457,280 bytes | Duration: 13 min 35 s | Download WebM |
| 50 MB WebM samplesample-webm-50mb.webm | 50 MB52,428,800 bytes | Duration: 22 min 39 s | Download WebM |
| 100 MB WebM samplesample-webm-100mb.webm | 100 MB104,857,600 bytes | Duration: 45 min 17 s | Download WebM |
What is a WebM file?
WebM is a subset of Matroska that Google introduced in 2010 for HTML video. It limits the container to a few open codecs: VP8, VP9 and, more recently, AV1 for the picture, with Vorbis or Opus for sound. Any Matroska tool can read a WebM file.
It is the format browsers produce themselves. The MediaRecorder API, which records a camera, a screen or a canvas, writes WebM in Chrome and Firefox.
How to recognise a WebM file
Software recognises a WebM file by its file signature: fixed bytes at the start of the file, also called magic bytes or a magic number.
| Extension | .webm |
|---|---|
| MIME type | video/webm |
| Container | Matroska subset with the document type "webm" |
| Video codecs | VP8, VP9 and AV1 |
| Audio codecs | Vorbis and Opus |
| Browser support | Chrome, Firefox, Edge and current Safari |
What to test for
These are the behaviours that most often go wrong when software handles WebM files.
- Recordings made in the browser usually lack a duration and an index, because both are only known when recording stops. Players show no length and cannot seek until the file is remuxed.
- 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.
Strengths of WebM
- Royalty-free codecs, and playable in every current browser.
- The format browsers record natively through the MediaRecorder API.
Limitations of WebM
- Hardware decoding for VP9 and AV1 is missing on older devices, which costs battery.
- Poorly supported by editing software and by older Apple devices.
Typical uses of WebM test files
- Testing HTML video with a second source beside MP4
- Checking uploads of browser-recorded video
- Verifying type detection between WebM and MKV
- Testing transcoding from WebM to MP4
Software that opens WebM
- Chrome, Firefox and Edge
- Safari 14.1 and later on macOS
- VLC and mpv
- FFmpeg and libvpx
- The MediaRecorder API in browsers
Specifications
Related
WebM sample files: questions
- Which codec do the WebM samples use?
- VP9 video at 640 × 360 and 30 frames per second, with no audio track.
- Can the WebM samples be seeked?
- Yes. They declare their duration and carry an index of key frames ahead of the picture data, unlike a raw browser recording.
- What is the MIME type of a WebM file?
- The MIME type is video/webm. The file extension is .webm.
- Is a sample WebM file the same as a dummy or example WebM file?
- Yes. Sample, test, dummy and example WebM files are different names for the same thing: a WebM file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy WebM file.