Convert FLAC to M4A

Converting FLAC to M4A is how a lossless collection gets into an Apple library that will not accept FLAC: the audio becomes AAC and the files land noticeably smaller. It encodes inside your browser. Keep the FLAC collection — the M4A is the copy for the device.

  • Where it runs In your browser. The file is never uploaded.
  • Lossy Some detail is traded for size. M4A cannot hold everything a FLAC can.
  • File size limit Up to 100 MB per file, free, without an account.

Up to 100 files at once. Mixed formats are fine.

An Apple library will not take a FLAC, and never has

Apple standardised on its own pair of formats early: AAC for compressed audio and ALAC for lossless, both wrapped in the MPEG-4 container that gets the .m4a extension. FLAC arrived from a different world — Xiph.Org, open specification, RFC 9639 — and Apple never added it to the library side. Applications will play a FLAC; the library will not adopt one.

That is why this conversion exists and why it is so common. It is not a quality decision, a storage decision or a preference. Somebody assembled a collection in the format the rest of the internet standardised on and then bought a phone that wanted the other one.

If lossless was the point, this file is not it

People converting from FLAC are, by definition, people who cared enough to choose a lossless format. It is worth saying plainly that the M4A produced here is AAC, which is lossy, and not ALAC, which would be the like-for-like Apple equivalent. The extension is the same either way, which is exactly how the confusion starts.

That is a defensible outcome as long as it is a decision rather than a surprise. The collection stays lossless because the FLAC files stay where they are; the M4A files are a derived set for a device with finite storage and earbuds attached. What you should not do is convert to M4A, delete the FLACs, and believe you still have a lossless library.

Low, medium and high: what the quality control actually decides

The control offers three bands — low, medium and high — with medium as the default. What will not appear on this page is "128 kbps" or any other figure, and the omission is deliberate: the encoding library resolves the actual number per codec, our code does not fix it, and publishing a figure would claim a guarantee that is not ours to make.

That does not leave the choice arbitrary. The high band is worth it for live recordings, orchestral and choral music, and anything with sustained cymbals or long reverb, which are where a lossy encoder shows its working. For the rest of a collection heard on a phone or in a car, medium is the ordinary choice. When in doubt, convert one album at each and listen on the earbuds you will actually use.

Title, artist and cover art: check with one album first

This is a place to be precise rather than reassuring. The conversion gives the container-writing library no tag instructions, so what happens to title, artist, track number, year and cover art is that library’s default behaviour, not something asserted here. Nothing here promises everything comes across, because deciding that is not in our code.

The practical result is the same advice any experienced tagger would give: convert one album, add it to the library, and look before doing two hundred. The fields that go missing first are rarely title and artist — composer, disc number, sort-order fields and grouping are the ones that carry a classical collection and the ones worth checking. Fixing a whole batch with a tag editor afterward is routine; noticing after two hundred albums that the composer field is empty is not.

M4A or MP3, when the destination is an iPhone

Both work, and M4A is the better answer for an Apple-only destination: AAC sounds better than MP3 at the same bitrate, and the container carries Apple’s metadata fields natively. If everything you own is Apple, there is no argument for MP3.

MP3 wins the moment anything else is involved. A car head unit from 2012, a cheap portable player, a friend you are sending an album to, a USB stick going into a hire car — MP3 is the format that never has to be tested. Converting a collection twice is a waste, so decide what the files are for before starting rather than halfway through.

One encode, made from the best copy you have

A FLAC holds every sample of the original, so the AAC made from it is a first-generation encode working from complete information. That is materially better than converting from MP3s of the same albums, where the second encoder has to work around damage it cannot identify.

It also means the derived set can be regenerated at will. A different bitrate, a different format, a different device in three years — all of it comes from the FLAC library, not from the M4A files. Making the derived set disposable is what allows every other decision on this page to be low-stakes.

Check that nothing re-encodes the M4A again on the way in

Music software often carries an option to downconvert higher-bitrate songs when copying them to a device, usually presented as a way to save space. If that setting is on, a carefully made AAC file gets decoded and encoded again on its way to the phone, which is precisely the compounding this page has spent its effort avoiding.

It is worth looking at once, before the first sync, because the damage is silent and the files on the device look correct. Turn it off if you have already chosen a sensible bitrate here; leave it on only if you deliberately want a smaller copy on the device than in the library.

What the converted collection costs on a phone, without inventing a number

The real reason for this conversion is usually that the collection does not fit on the phone, and the honest answer is that it will fit far better: FLAC compresses without discarding anything and AAC discards, so the difference runs to several times over, not a fixed percentage. What will not appear here is the exact fraction, because it depends on the bitrate the encoder chooses and that is not ours to set.

There is a way to know that is also the only one that describes your music: convert one album representative of the collection at the band you plan to use, and compare the folder size to the original. Five minutes of testing produces a figure for your library instead of an average that describes nobody’s.

A hundred tracks at a time, none of them transmitted

Drop up to a hundred FLACs and each is encoded separately before the set comes back as a ZIP, with a 100 MB ceiling per file — about seventeen to twenty minutes of FLAC, which covers songs and most single movements.

Because the audio never leaves the tab, a large library costs processor time rather than bandwidth and joins no queue. Two or three drops will move most collections, and the browser can be left to work through them while you do something else.

How to convert a FLAC library to M4A

  1. Drop your FLAC files onto this page, or click to choose them. Album by album works well.
  2. Pick a quality band; each track is encoded to AAC inside your browser.
  3. Download the M4A files, or take the album together as a ZIP.

FLAC against M4A: lossless archive against Apple delivery

FLAC compared with M4A
FLACM4A
Full nameFree Lossless Audio CodecMPEG-4 Audio
File extension.flac.m4a
Media typeaudio/flacaudio/mp4
CompressionLossless — nothing is discardedLossy — file size is bought with quality
First published20012004
Published byXiph.OrgApple
SpecificationRFC 9639
LicensingOpen standardPublished, not standardised
Standing todayCurrentCurrent
Bit depth32
Audio channelsup to 8up to 48
Opens in a browserEvery browserEvery browser
Considered insteadWAV, AIFF, MP3MP3

What survives

document properties can cross over — both FLAC and M4A have somewhere to store it.

Opening the result

M4A is a container rather than a single format. What actually plays is the codec inside it — usually AAC and ALAC — which is why two files with the same extension can behave differently on the same device.

VLC reads both FLAC and M4A, so there is a way to check the result against the original without a second tool.

What each format is for

The two are aimed at different work: FLAC at archiving, M4A at handing a finished file over and phones. That is worth weighing before converting, because the reason one exists is usually the reason the other is awkward.

FLAC is Xiph.Org's format, published in 2001. It records 32 bits per channel.

M4A comes from Apple and dates from 2004. iTunes, VLC and FFmpeg all read it.

FLAC to M4A: questions from an Apple library

Why will Apple Music not accept my FLAC files?

Apple built its library around its own formats — AAC for lossy and ALAC for lossless — and never added FLAC to the library side. Individual applications on a Mac or an iPhone will play a FLAC happily; adding one to the music library is where it stops. Converting to M4A is the standard way round it.

Does this produce lossless ALAC?

No. M4A is a container and can hold either AAC or ALAC; the file written here holds AAC, which is lossy. If lossless is the requirement, keep the FLAC library as your archive and treat the M4A files as the copy that goes on the device — that is what most people with both end up doing anyway.

What bitrate should I use?

There are three bands — low, medium and high, medium by default — and the exact number each writes is not something we publish, because it is resolved by the encoding library per codec rather than fixed by our code. The high band is worth taking for live recordings, orchestral music and anything with applause or long reverb, which are the sounds a lossy encoder finds hardest. When in doubt, convert one album at each setting and listen on the earbuds you will actually use.

Will the album art and tags come with it?

This is not something we guarantee — the conversion gives the encoding library no tag instructions, so what happens to title, artist, track number, year and cover art is that library’s default behaviour, not a promise we make. Convert one album, add it to the library, and look before doing two hundred; composer, disc number and sort fields are the ones most likely to go missing quietly.

How much space will the library take on a phone?

Substantially less, since FLAC compresses without discarding anything and AAC does — the difference is several times over, not a fixed percentage, because the exact rate depends on the encoder and is not something our code sets. Convert one representative album at the band you plan to use and compare the folder size to the original; five minutes of testing gives a number that describes your library rather than an average that describes nobody’s.

Is my music uploaded anywhere?

No. The encoding runs inside the browser tab, using the machine’s own AAC encoder on Chrome, Edge and Safari, or a downloaded WebAssembly encoder on browsers that lack one. Nothing is transmitted, there is no account, and a hundred tracks can be dropped at once.

More about these formats