AudioBinary

audio/webm

WebM Audio

Reference for audio/webm, the WebM audio container format using Opus or Vorbis codecs for web audio.

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: audio/webm

Associated File Extensions

.webm

Quick Facts

MIME Typeaudio/webm
CategoryAudio
TypeBinary
Extensions.webm

Common Usage

WebM audio uses Opus or Vorbis codecs in a Matroska-based container optimized for the web. It is used in browser-based audio applications, WebRTC communications, web-based music players, and HTML5 audio elements alongside other format fallbacks.

Code Examples

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

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

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

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

Related MIME Types

More Audio MIME Types

Other audio types in the Audio family

Related Tools

Explore More MIME Types

Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.