AudioBinary
audio/mp4
MP4 Audio
Reference for audio/mp4, the MIME type for audio-only MP4 files using AAC or other codecs in an MPEG-4 container.
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: .m4a, .mp4a
HTTP Content-Type Header
HTTP Header
Content-Type: audio/mp4Associated File Extensions
.m4a.mp4a
Quick Facts
| MIME Type | audio/mp4 |
| Category | Audio |
| Type | Binary |
| Extensions | .m4a, .mp4a |
Common Usage
Audio in an MP4 container typically uses AAC encoding. It is the format for iTunes Store purchases, Apple Music downloads, podcast files, and is widely supported by media players.
M4A files are the most common instance of this MIME type.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.m4a" type="audio/mp4">
<!-- Or for script/media elements -->
<script type="audio/mp4" src="file.m4a"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('audio/mp4');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'audio/mp4' });nginx
# nginx.conf — add to types block or use default
types {
audio/mp4 m4a mp4a;
}
# Or set for a specific location
location /api/ {
default_type audio/mp4;
}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.