Format at a glance
- Full name
- MPEG-4 Audio Container
- File extensions
- .m4a
- MIME types
- audio/mp4
- Category
- Audio
- Compression
- Depends on the contained codec
- Transparency
- Not applicable
- Animation
- Not applicable
- Properties
Suitable tools
What is this format?
M4A uses the ISO Base Media File Format to organize audio, timing, chapters and metadata in boxes. A codec performs the actual audio compression.
AAC is widespread for compact files and streaming; ALAC serves lossless Apple music libraries. Both may appear under the same .m4a extension.
What is it used for?
- Music downloads and Apple libraries
- Podcasts and voice recordings
- AAC audio for mobile devices
- Lossless ALAC archives
Which programs can open it?
- Apple Music and QuickTime Player
- VLC and foobar2000
- Audacity with suitable FFmpeg support
- FFmpeg and media software
Support across devices and browsers
M4A opens in VLC, suitable system codecs and many audio applications.
QuickTime, music applications and VLC support M4A depending on the contained codec.
VLC, mpv, FFmpeg and common audio players handle M4A.
Playback depends on the device, Android version and contained codec.
Apple applications support common combinations; other variants need a compatible app.
Direct playback depends on browser and codec; LocalFileLab can additionally use FFmpeg/WebAssembly.
Advantages
- Efficient AAC or lossless ALAC is possible
- Good metadata and artwork support
- Widely used in the Apple ecosystem
Disadvantages
- The extension does not reveal the codec
- ALAC is less universal outside some ecosystems
- DRM-protected content cannot be handled like an ordinary M4A file
Comparison with alternatives
MP3 is more universal on old devices; AAC in M4A is often more efficient at similar quality.
FLAC is an open lossless format, while M4A may contain either AAC or ALAC.
OGG commonly uses open codecs such as Vorbis or Opus; M4A belongs to MPEG-4 and Apple-oriented workflows.
LocalFileLab support
M4A is recognized as an input. Audio is read through browser features or FFmpeg/WebAssembly depending on the codec.
M4A is available as a local output; available settings depend on the format.
LocalFileLab can compress M4A locally or package it in a supported archive; already compressed content will not necessarily become smaller.
A local preview is available when the browser can display or play the content.
Existing metadata can be retained or removed depending on the selected path.
Container and codecs
The LocalFileLab statements below come from the FFmpeg/WASM and WebCodecs paths actually configured in the repository. Decoders or tracks not explicitly evidenced in code are marked unverified.
- Container
- MPEG-4 Audio Container
- Typical video codecs
- Typical audio codecs
- AAC, ALAC
| Codec | Type | Input | Output | Notes |
|---|---|---|---|---|
| AAC | Audio | Unverified | Supported | The project does not enumerate the FFmpeg/WASM input decoder per codec. A concrete FFmpeg/WASM encoder is configured in the repository. |
| ALAC | Audio | Unverified | Supported | The project does not enumerate the FFmpeg/WASM input decoder per codec. A concrete FFmpeg/WASM encoder is configured in the repository. |
Tracks and metadata
- Subtitle tracks
- Unverified
- Multiple audio tracks
- Not supported
- Chapters
- Unverified
- Metadata
- Configurable
Known combinations
Related formats
Frequently asked questions
Is M4A always AAC?
No. Many M4A files contain AAC, but ALAC and other compatible MPEG-4 audio streams are possible.
Why does an M4A file fail to play?
An application may recognize the container but not support the contained codec or protection mechanism.
Is M4A lossless?
Only when it contains a lossless codec such as ALAC. AAC-based M4A files are generally lossy.