M4A to FLAC Converter

Save an M4A recording as a lossless FLAC file, right in your browser.

or drop files here

M4

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
FL

FLAC Format

Free Lossless Audio Codec

An open lossless audio format that compresses encoded samples without discarding them. It supports audio metadata and embedded pictures.

  • lossless audio compression
  • open format
  • audio tags and pictures

How to convert M4A to FLAC

Follow these steps to convert M4A to FLAC online.

    1

    Choose your M4A file, or several at once.

    2

    Wait while the converter turns each file into FLAC.

    3

    Download each new FLAC file. Your original file isn't changed.

What to know before converting M4A to FLAC

  • FLAC is lossless, but it can only store the sound the M4A already holds.
  • An AAC source stays as lossy as it was, and the FLAC can be much larger.
  • Cover art is left out, because the conversion turns off video streams. Title and artist tags are copied.
  • The page sets no sample rate or channel count of its own.
  • A FairPlay-protected file is refused.

About M4A files

What is an M4A file?

An M4A is an audio-only file wrapped in the MPEG-4 container, the same one MP4 video uses. The ending names the container, not the codec. AAC is what most M4A files contain, and it is lossy. But the same container can hold Apple Lossless (ALAC). You will find M4A in music libraries, podcast downloads, voice recordings and audio exported from Apple apps.

Besides the sound, an M4A can carry descriptive tags and cover art. FFmpeg reads embedded cover art as a video stream, which is why a conversion that switches video off also leaves the picture behind.

The codec decides what a conversion to FLAC is worth. AAC is lossy. It saves space by discarding detail, and once discarded it is gone. ALAC stores every sample, so an ALAC file already holds everything FLAC would. Knowing which one you have tells you whether FLAC buys anything beyond compatibility with a player or library that wants it.

Programs that open M4A files

  • Windows, Mac, Linux: Audacity imports M4A only with its optional FFmpeg library, and it can't import DRM-protected recordings. ffplay, FFmpeg's player, includes the M4A demuxer.
  • Web: Firefox plays the formats it supports on its own, while AAC can lean on your system's codecs. In Chrome the codec inside the file decides whether it opens, since only some audio and MP4 combinations play.
  • Mobile: On Android, VLC is a free player and opens whatever codecs the file holds that it supports. mpv for Android also plays it.

The FLAC you make opens in Audacity without any extra library.

M4A and FLAC compared

  • Extensions and media types: .m4a, usually audio/mp4; .flac and audio/flac.
  • Compression: AAC is lossy. ALAC and FLAC are lossless.
  • Metadata: FLAC can carry Vorbis comments, embedded pictures and seek points. M4A carries metadata tags and cover art.
  • Open format: FLAC's reference implementation is open source.
  • Size: a lossless file is larger than its lossy counterpart.

The command this page runs is -acodec flac -vn: decode the audio, write FLAC, ignore video. It names no sample rate, channel count, stream or tag mapping, so FFmpeg's defaults settle those. An AAC source gives a FLAC with the same sound and no more detail. Converting a lossy file to FLAC cannot recreate samples that were removed earlier. Either way, keep the M4A until you have played the FLAC and checked its length. FLAC can carry embedded pictures too, so cover art can go back in with a tag editor.

Other ways to convert M4A to FLAC

  • FFmpeg (command line): enter ffmpeg -i recording.m4a -vn -c:a flac recording.flac. -vn disables video, and a file with several audio streams needs a -map option such as -map 0:a:1 to choose one.
  • Audacity (Windows, Mac, Linux): after installing its optional FFmpeg library, import the file with File > Import > Audio and export it with File > Export Audio, choosing FLAC as the format. In the FLAC dialog you can choose mono, stereo or custom channels, a sample rate, 16-bit or 24-bit output and a compression level between 0 and 8.
  • fre:ac (Windows, Mac, Linux): the project's site says it converts freely between M4A/AAC and FLAC. Add the file, choose the FLAC encoder and start the conversion.

Problems with M4A files

  • Audacity can't import it: install the FFmpeg library, or convert here.
  • A purchased file won't convert: it is protected. Audacity can't import protected files, and this page refuses a FairPlay-protected one. Use an unprotected copy.
  • The cover art is missing from the FLAC: it is read as a video stream and left out. Add it back in a tag editor.
  • Several recordings in one Audacity window: importing multiple files replaces the project tags with the last file's tags.
  • The FLAC is much larger: FLAC stores every decoded sample, and the AAC it came from did not.
  • "FFmpeg failed with exit code": a file with no audio stream ends this way. A damaged or cut-short file usually converts to a shorter FLAC instead, so check the length.
  • The FLAC won't play on an Android phone's built-in player: Android's built-in player handles FLAC in a narrower range than the format allows: mono or stereo, with 16-bit samples recommended. VLC for Android is an alternative player.
  • The recording sounds the same as before: that is the expected result. FLAC repeats the sound without improving it.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert M4A to FLAC?

Will the FLAC sound better than my M4A?

Is my M4A AAC or Apple Lossless?

Why is the FLAC so much bigger than the M4A?

Does the cover art come across?

What is the difference between FLAC and ALAC?

Can I convert a protected iTunes file?

Why will Audacity not open my M4A?

Is FLAC a good way to archive M4A files?

What does "FFmpeg failed with exit code" mean?