Processed on this device
File formats at a glance.Formats

M4A file: MPEG-4 audio with AAC or ALAC

.m4a

M4A is a common extension for audio-only files in an MPEG-4 container. Most contain lossy AAC, while lossless ALAC is also possible—the extension alone does not identify the codec.

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

Windows

M4A opens in VLC, suitable system codecs and many audio applications.

macOS

QuickTime, music applications and VLC support M4A depending on the contained codec.

Linux

VLC, mpv, FFmpeg and common audio players handle M4A.

Android

Playback depends on the device, Android version and contained codec.

iOS

Apple applications support common combinations; other variants need a compatible app.

Browsers

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

M4A vs. MP3

MP3 is more universal on old devices; AAC in M4A is often more efficient at similar quality.

M4A vs. FLAC

FLAC is an open lossless format, while M4A may contain either AAC or ALAC.

M4A vs. OGG

OGG commonly uses open codecs such as Vorbis or Opus; M4A belongs to MPEG-4 and Apple-oriented workflows.

LocalFileLab support

InputSupported

M4A is recognized as an input. Audio is read through browser features or FFmpeg/WebAssembly depending on the codec.

OutputSupported

M4A is available as a local output; available settings depend on the format.

CompressionSupported

LocalFileLab can compress M4A locally or package it in a supported archive; already compressed content will not necessarily become smaller.

PreviewSupported

A local preview is available when the browser can display or play the content.

MetadataSupported

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
CodecTypeInputOutputNotes
AACAudioUnverifiedSupportedThe project does not enumerate the FFmpeg/WASM input decoder per codec. A concrete FFmpeg/WASM encoder is configured in the repository.
ALACAudioUnverifiedSupportedThe 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.