Sample Video Generator
Record a short animated WebM clip of any length between one and ten seconds, generated live in your browser. Useful for testing video uploads, players, and duration limits.
Sample video files are the hardest kind to find at short notice — they are large, awkward to source, and most stock clips carry a licence. This records one live in your browser: an animated clip at 640×360, encoded as WebM, at whatever length you choose between one and ten seconds.
How to generate a sample video
- Set the length with the slider. Longer clips produce larger files.
- Generate. Recording happens in real time, so a five-second clip takes five seconds.
- Play it back in the preview to confirm it is a valid video.
- Download the .webm file.
The Sample Video Generator runs entirely in your browser — nothing you enter is uploaded, stored, or logged.
When to use this tool
Testing a video upload form
Duration limits, size caps, and format validation all need a real video file to exercise. A generated clip is faster than finding one and carries no licensing question.
Checking a player or embed
A short clip with a visible running timer makes it obvious whether seeking, looping, and autoplay behave as expected.
Placeholder media in a prototype
A moving placeholder shows how a layout handles video without embedding someone else's footage in a demo.
Things worth knowing
- Recording is real time — there is no way to produce a ten-second clip faster than ten seconds.
- The output is WebM with VP9 where the browser supports it. MP4 is not available, because browsers do not expose an MP4 encoder to web pages.
- File size is a consequence of length and content, not something you can set precisely.
- The clip shows a live timer, which makes playback and seeking problems easy to spot.
Frequently Asked Questions
Can I choose the exact file size?
Why can I not set an exact file size?
Can I get an MP4 rather than WebM?
Is the video a real, playable file?
Does the recording leave my device?
Related Tools
Sample Image Generator
Generate random placeholder images at an exact file size in JPG, PNG, or WebP.
Sample File Generator
Generate dummy images, PDFs, Word files, CSV, JSON, and video at an exact file size for testing uploads.
Image Compressor (Compress to Target KB)
Compress image to exact target KB (e.g. under 50KB, 100KB, 200KB) with live quality adaptation and alerts.