MP4 to M4A Converter
Pull the soundtrack out of an MP4 as an AAC M4A file, right in your browser.
or drop files here
MP4 Format
MPEG-4 Part 14
A container format defined in ISO/IEC 14496-14 that can hold video, audio, subtitles and metadata.
- container for several codecs
- H.264, H.265 and AV1 video
- subtitles and chapters
M4A Format
MPEG-4 Audio
An audio-only file in the MPEG-4 container (MP4). It usually holds AAC audio, or lossless Apple Lossless (ALAC) audio.
- MPEG-4 container
- AAC or ALAC audio
- metadata tags and cover art
- widely supported
How to convert MP4 to M4A
Follow these steps to convert MP4 to M4A online.
Choose your MP4 file, or several at once.
Wait while the converter turns each file into M4A.
Download each new M4A file. Your original file isn't changed.
Before converting MP4 to M4A
- The sound is decoded and encoded again as AAC at 192 kbps, even when the MP4 already holds AAC.
- The picture is dropped, so the M4A is audio only.
- The page has no track selector: when the MP4 has several audio tracks, FFmpeg's default stream selection picks one.
- A silent MP4 fails with an FFmpeg error instead of producing a silent file.
Understanding MP4 to M4A
What is an MP4 file?
MP4 is the container defined in MPEG-4 Part 14 (ISO/IEC 14496-14), which first appeared in 2003. The format rests on the ISO Base Media File Format, a descendant of Apple's QuickTime; data sits in nested boxes, which QuickTime calls atoms. MP4 is a container, not a codec. Typical contents are H.264 video and AAC audio, though a file may also hold AV1, VP9, MP3 or Opus. Video files carry the .mp4 or .m4v extension, and IANA registers video/mp4 and audio/mp4 as its media types.
For this conversion the important point is that the sound is one stream among others. An MP4 can have no audio stream at all, and a container that opens in a player still needs a decoder for each stream inside it.
Programs that open MP4 files
- Windows, Mac and Linux: mpv lets you choose the audio stream while an MP4 plays, and the FFmpeg project's ffplay opens the format as well.
- Windows and Mac: Adobe Premiere Pro imports MP4 for editing.
- Web: Firefox plays MP4 directly, although AAC and H.264 playback follows the codecs your system provides. Chrome plays supported MP4 combinations, so the codec inside the file is what counts.
- Mobile: Both VLC for Android, a free app, and VLC for iOS open MP4 files, and playback hinges on the streams inside the container.
MP4 and M4A compared
Audio-only MPEG-4 files carry the M4A extension, which Apple took up for music files without copy protection. Most of them contain AAC, defined in MPEG-4 Part 3 (ISO/IEC 14496-3). As a lossy codec, AAC aimed for better sound than MP3 at equal bitrate, and it covers bitrates as high as 512 kbps at sample rates between 8 and 96 kHz. The media type for M4A is audio/mp4. The two extensions share a container design; what differs is what the file holds.
This page runs FFmpeg compiled to WebAssembly inside your browser, with the command ffmpeg -i input.mp4 -acodec aac -b:a 192k -vn output.m4a. The -vn flag leaves out the video. Audio is decoded and then re-encoded to AAC at 192 kbps, including when the MP4's own track is already AAC. No -map option is passed, so FFmpeg's default stream selection chooses the audio track, and the page has no control for picking another.
Re-encoding lossy audio never brings back detail the MP4 track was missing, so hold on to the MP4 if the original sound may matter later. Queue several MP4s and each is converted in turn, producing one M4A apiece.
Other ways to convert MP4 to M4A
- FFmpeg:
ffmpeg -i recording.mp4 -c:a aac -vn -b:a 192k interview-audio.m4amakes the same AAC encode as this page. When the MP4's audio is already AAC,ffmpeg -i recording.mp4 -vn -c:a copy interview-audio.m4acopies the stream without re-encoding it. Stream copy can fail when the target container lacks information it needs. - Audacity: after installing Audacity's optional FFmpeg library, import the MP4 through File > Import > Audio, then choose File > Export Audio and pick M4A (AAC) Files (FFmpeg) from the Format menu. The AAC bitrate you set is not always honored: for stereo, settings of 196 kbps or less export at 196 to 198 kbps, so check the result.
- mpv: run
mpv recording.mp4 --vid=no --oac=aac --oacopts=b=192000 --o=interview-audio.m4a. The--ooption turns on mpv's encoding mode and names the output file, whose format follows the file name unless you set--of.--vid=nodisables video.
Problems with MP4 files
No sound to extract. An MP4 without an audio track cannot give an audio editor or this page anything to work with. Play the file with the volume up before converting.
The file will not play. Opening the container is one thing; decoding the video or sound inside it takes a decoder of its own. Normal MP4 files keep their packet information together, so an interrupted write, such as a camera losing power, can leave an unfinished file that will not play. Try another copy of the recording.
The wrong language or commentary. A file with several audio tracks gets FFmpeg's default pick here. Run FFmpeg on your computer with the -map option to choose the track yourself.
Frequently Asked Questions
Everything you need to know about our converter
How do I convert MP4 to M4A?
Does converting MP4 to M4A lose audio quality?
What is the difference between MP4 and M4A?
Is M4A the same as MP3?
Can I get Apple Lossless from an MP4?
Why did my MP4 fail to convert?
Which audio track does it use when the MP4 has several?
Can I drop in a whole batch of MP4s?
Are the title and artist tags kept?
Is there a file size limit?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.