VideoBinary

video/webm

WebM

Reference for video/webm, Google's open video format optimized for web delivery using VP8/VP9/AV1 codecs.

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: .webm

HTTP Content-Type Header

HTTP Header
Content-Type: video/webm

Associated File Extensions

.webm

Quick Facts

MIME Typevideo/webm
CategoryVideo
TypeBinary
Extensions.webm

Common Usage

WebM is an open, royalty-free video format designed for the web. It uses VP8, VP9, or AV1 video codecs with Vorbis or Opus audio.

Used by YouTube (internally), web-based video players, WebRTC video streaming, and applications preferring open codecs.

Code Examples

HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.webm" type="video/webm">

<!-- Or for script/media elements -->
<script type="video/webm" src="file.webm"></script>
Node.js
// Express.js
app.get('/file', (req, res) => {
  res.type('video/webm');
  res.send(data);
});

// Node.js http
res.writeHead(200, { 'Content-Type': 'video/webm' });
nginx
# nginx.conf — add to types block or use default
types {
    video/webm  webm;
}

# Or set for a specific location
location /api/ {
    default_type video/webm;
}

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.