Free MP4 sample, test and dummy files
The standard container for web and mobile video, usually holding H.264 video. Download valid MP4 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
- .mp4
- MIME type
- video/mp4
- Kind
- Binary
- Category
- Video
Create a MP4 file of any size
Choose any size from 5,725 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.
MP4 files by size
Every file below is a valid MPEG-4 Part 14 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 MP4 samplesample-mp4-10kb.mp4 | 10 KB10,240 bytes | Duration: 0.2 s | Download MP4 |
| 25 KB MP4 samplesample-mp4-25kb.mp4 | 25 KB25,600 bytes | Duration: 0.5 s | Download MP4 |
| 50 KB MP4 samplesample-mp4-50kb.mp4 | 50 KB51,200 bytes | Duration: 1.0 s | Download MP4 |
| 100 KB MP4 samplesample-mp4-100kb.mp4 | 100 KB102,400 bytes | Duration: 1.9 s | Download MP4 |
| 200 KB MP4 samplesample-mp4-200kb.mp4 | 200 KB204,800 bytes | Duration: 3.6 s | Download MP4 |
| 500 KB MP4 samplesample-mp4-500kb.mp4 | 500 KB512,000 bytes | Duration: 9.0 s | Download MP4 |
| 1 MB MP4 samplesample-mp4-1mb.mp4 | 1 MB1,048,576 bytes | Duration: 18.7 s | Download MP4 |
| 2 MB MP4 samplesample-mp4-2mb.mp4 | 2 MB2,097,152 bytes | 640 × 360 px | Download MP4 |
| 3 MB MP4 samplesample-mp4-3mb.mp4 | 3 MB3,145,728 bytes | Duration: 56.0 s | Download MP4 |
| 5 MB MP4 samplesample-mp4-5mb.mp4 | 5 MB5,242,880 bytes | 640 × 360 px | Download MP4 |
| 10 MB MP4 samplesample-mp4-10mb.mp4 | 10 MB10,485,760 bytes | 640 × 360 px | Download MP4 |
| 15 MB MP4 samplesample-mp4-15mb.mp4 | 15 MB15,728,640 bytes | Duration: 4 min 40 s | Download MP4 |
| 20 MB MP4 samplesample-mp4-20mb.mp4 | 20 MB20,971,520 bytes | 640 × 360 px | Download MP4 |
| 25 MB MP4 samplesample-mp4-25mb.mp4 | 25 MB26,214,400 bytes | Duration: 7 min 46 s | Download MP4 |
| 30 MB MP4 samplesample-mp4-30mb.mp4 | 30 MB31,457,280 bytes | Duration: 9 min 19 s | Download MP4 |
| 50 MB MP4 samplesample-mp4-50mb.mp4 | 50 MB52,428,800 bytes | Duration: 15 min 32 s | Download MP4 |
| 100 MB MP4 samplesample-mp4-100mb.mp4 | 100 MB104,857,600 bytes | Duration: 31 min 4 s | Download MP4 |
More MP4 samples
Hand-designed files with realistic content or a specific edge case.
| File | Size | Contents | Download |
|---|---|---|---|
| Sample MP4 video, 640 × 360, 6 secondssample-video-640x360.mp4 | 330 KB338,208 bytes | 640 × 360 px | Download MP4 |
| Sample MP4 video, 1280 × 720 (720p)sample-video-1280x720.mp4 | 813 KB832,271 bytes | 1,280 × 720 px | Download MP4 |
| Sample MP4 video, 1920 × 1080 (1080p)sample-video-1920x1080.mp4 | 1.59 MB1,665,226 bytes | 1,920 × 1,080 px | Download MP4 |
What is an MP4 file?
MP4 is a container: it holds video, audio and subtitle tracks made by separate codecs. The file is organised as nested boxes, each with a size and a four-letter type.
The "moov" box is the index of the whole file. When it sits at the start, a browser can begin playing before the download finishes, an arrangement called fast start. When it sits at the end, the player has to fetch the tail of the file first.
How to recognise an MP4 file
Software recognises an MP4 file by its file signature: fixed bytes at the start of the file, also called magic bytes or a magic number.
| Extension | .mp4 |
|---|---|
| MIME type | video/mp4 |
| Standard | ISO/IEC 14496-14, based on the ISO base media file format |
| Common codecs | H.264 or H.265 video with AAC audio |
| Structure | Boxes: ftyp, moov, mdat |
| Streaming | Supports HTTP range requests and fragmentation |
What to test for
These are the behaviours that most often go wrong when software handles MP4 files.
- Seeking in a browser needs HTTP range requests. A server that ignores the Range header makes video appear to work until someone drags the progress bar.
- A valid .mp4 may contain a codec the browser cannot play; container and codec are separate questions.
- Uploads are large and slow, so they expose timeout, retry and progress-reporting bugs that small files never reach.
Strengths of MP4
- The one video container that every browser and phone plays.
- Supports seeking and progressive playback over plain HTTP.
Limitations of MP4
- The container says nothing about whether a device can decode the codec inside.
- A file with its index at the end cannot start playing until that part is fetched.
Typical uses of MP4 test files
- Testing video upload, transcoding and thumbnail extraction
- Checking HTML video playback and seeking
- Testing range-request support on servers and CDNs
- Verifying large-file and timeout handling
Software that opens MP4
- Every browser, phone and media player
- FFmpeg, HandBrake and VLC
- Video editors
Specifications
Related
MP4 sample files: questions
- Do the MP4 samples have sound?
- No. They contain a single H.264 video track and no audio track.
- Will they play in a browser before fully downloading?
- Yes. The index is at the start of the file, so playback can begin immediately.
- What is the MIME type of an MP4 file?
- The MIME type is video/mp4. The file extension is .mp4.
- Is a sample MP4 file the same as a dummy or example MP4 file?
- Yes. Sample, test, dummy and example MP4 files are different names for the same thing: an MP4 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 MP4 file.