AudioBinary
audio/opus
Opus
Reference for audio/opus, the versatile open audio codec excelling at both speech and music across all bitrates.
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: .opus
HTTP Content-Type Header
HTTP Header
Content-Type: audio/opusAssociated File Extensions
.opus
Quick Facts
| MIME Type | audio/opus |
| Category | Audio |
| Type | Binary |
| Extensions | .opus |
Common Usage
Opus is an open, royalty-free audio codec that outperforms all other codecs across the entire bitrate range. It is the mandatory codec for WebRTC voice and video calls, used in Discord, WhatsApp calls, Zoom, and streaming applications.
Opus adapts between speech and music encoding.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.opus" type="audio/opus">
<!-- Or for script/media elements -->
<script type="audio/opus" src="file.opus"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('audio/opus');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'audio/opus' });nginx
# nginx.conf — add to types block or use default
types {
audio/opus opus;
}
# Or set for a specific location
location /api/ {
default_type audio/opus;
}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.