AudioBinary
audio/x-m4a
M4A
Reference for audio/x-m4a, the common MIME type variant for Apple's M4A audio files containing AAC or ALAC 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: .m4a
HTTP Content-Type Header
HTTP Header
Content-Type: audio/x-m4aAssociated File Extensions
.m4a
Quick Facts
| MIME Type | audio/x-m4a |
| Category | Audio |
| Type | Binary |
| Extensions | .m4a |
Common Usage
M4A is Apple's audio file extension for MPEG-4 audio, typically containing AAC (lossy) or ALAC (lossless) encoded audio. It is the default format for iTunes, Apple Music, and iPhone voice memos.
M4A offers better quality than MP3 at equivalent file sizes.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.m4a" type="audio/x-m4a">
<!-- Or for script/media elements -->
<script type="audio/x-m4a" src="file.m4a"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('audio/x-m4a');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'audio/x-m4a' });nginx
# nginx.conf — add to types block or use default
types {
audio/x-m4a m4a;
}
# Or set for a specific location
location /api/ {
default_type audio/x-m4a;
}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.