AudioBinary
audio/ogg
Ogg Vorbis
Reference for audio/ogg, the open-source audio container format commonly using Vorbis codec for lossy compression.
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: .ogg, .oga
HTTP Content-Type Header
HTTP Header
Content-Type: audio/oggAssociated File Extensions
.ogg.oga
Quick Facts
| MIME Type | audio/ogg |
| Category | Audio |
| Type | Binary |
| Extensions | .ogg, .oga |
Common Usage
Ogg Vorbis is an open-source alternative to MP3, generally offering better quality at similar bitrates. It is used in video games (many engines prefer Ogg), web audio (HTML5 audio element), Firefox and Chrome audio, and applications that prefer patent-free formats.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.ogg" type="audio/ogg">
<!-- Or for script/media elements -->
<script type="audio/ogg" src="file.ogg"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('audio/ogg');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'audio/ogg' });nginx
# nginx.conf — add to types block or use default
types {
audio/ogg ogg oga;
}
# Or set for a specific location
location /api/ {
default_type audio/ogg;
}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.