VideoBinary
video/mp4
MP4
Reference for video/mp4, the most widely supported video container format used for streaming, downloads, and web video.
MIME Type Detector
Drop a file to detect its MIME type — no upload, runs in your browser
📄
Drop any file here or click to choose
Expected extensions: .mp4, .m4v, .mp4v
HTTP Content-Type Header
HTTP Header
Content-Type: video/mp4Associated File Extensions
.mp4.m4v.mp4v
Quick Facts
| MIME Type | video/mp4 |
| Category | Video |
| Type | Binary |
| Extensions | .mp4, .m4v, .mp4v |
Common Usage
MP4 is the most universally supported video format. It typically contains H.264 or H.265 video with AAC audio.
Used by YouTube, Netflix, streaming services, social media, video conferencing, and virtually every video platform. All browsers support MP4 with H.264.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.mp4" type="video/mp4">
<!-- Or for script/media elements -->
<script type="video/mp4" src="file.mp4"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('video/mp4');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'video/mp4' });nginx
# nginx.conf — add to types block or use default
types {
video/mp4 mp4 m4v mp4v;
}
# Or set for a specific location
location /api/ {
default_type video/mp4;
}Related MIME Types
More Video MIME Types
Other video types in the Video family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.