Convert M4A to FLAC Online for Free
Make a FLAC copy from an M4A track with clear expectations about AAC, ALAC, decoded PCM, metadata, and what lossless compression can preserve.
- Add a file Choose or drop it here
- Pick the format Change it whenever needed
- Download the result After conversion completes
Converting M4A to FLAC Can Preserve Decoded Audio but Cannot Undo AAC Compression
FLAC is a lossless codec for PCM audio. It compresses sample data so a decoder can reconstruct the encoded PCM values exactly. M4A is an ISO Base Media File Format container, not an audio codec. Its track may contain AAC, which is lossy, or ALAC, which is lossless. This distinction is the first fact to establish before converting: an ALAC-in-M4A source can become FLAC without changing decoded samples if conversion settings preserve rate, depth, and channels; an AAC-in-M4A source becomes a lossless FLAC of AAC’s decoded output, not a restored master.
A larger FLAC made from AAC often surprises people because its extension says “lossless.” Lossless describes the new FLAC encoding step, not the history of the source. Information removed by AAC’s perceptual coding is absent before the FLAC encoder starts. Keep the original M4A for normal playback and retain an earlier lossless source, if one exists, for archival or future delivery. Use M4A-to-FLAC when an application needs FLAC or when you need stable decoded PCM representation, not as a repair method.
Find Out Whether the M4A Carries AAC or ALAC Before Promising a Lossless Transfer
M4A commonly contains a timed audio track described with MP4 boxes. An AAC track is typically indicated by an mp4a sample entry and a configuration that states its profile, sample rate, and channels. ALAC can also reside in M4A. The file extension and even a media player’s generic label can conceal this difference, so inspect the actual codec, duration, rate, channel count, and bitrate before choosing an output.
With ALAC, the decoder reconstructs PCM losslessly and FLAC can encode that PCM losslessly. Avoid resampling, reducing bit depth, or downmixing if exact preservation is the goal. With AAC, a decoder first generates PCM from coded frames. FLAC then preserves those generated samples exactly, which may be valuable for editing or delivery but does not recover details from the original AAC encoder. This is why a quality statement needs both source codec and output codec, not only two filenames.
A Native FLAC Stream Records More Than a Filename and a Compression Level
A native FLAC bitstream starts with the marker fLaC, followed by metadata blocks and audio frames. The first metadata block is mandatory STREAMINFO. It records minimum and maximum block size, minimum and maximum frame size, sample rate, channels, bits per sample, total samples, and a 128-bit MD5 signature of the unencoded PCM audio. The MD5 is a way to test whether later decoding yields the same PCM that was encoded into that FLAC; it is not a measurement of musical quality and it will not match unrelated source-container checksums.
FLAC frames describe blocks through a header and subframes using prediction and residual coding. Frame headers use an 8-bit CRC and frames have a 16-bit CRC, helping detect structural corruption. The codec can preserve PCM without being “uncompressed”: its storage saving comes from redundancy reduction, not sample removal. Compression level mostly affects encoding effort and file size, while decoded audio remains the same. Choose a level for your workflow, but do not treat it as an AAC-quality knob.
Sample Rate, Bit Depth, and Channels Decide the Exact PCM That FLAC Will Protect
For an ALAC M4A, preserve the source rate, bit depth, and channel layout when producing an archival FLAC. A 44.1 kHz stereo music file should usually remain 44.1 kHz stereo; converting it to 48 or 96 kHz creates resampled values, not missing detail. For AAC sources, decoded PCM can be represented at the relevant output depth, but choosing 24-bit does not make a 24-bit production master reappear. It is a storage and processing representation decision.
Do not reduce multichannel media to stereo unless that is the intended delivery. A downmix changes the relationship between centre, surround, and low-frequency effects; preserving all channels requires a receiving application that supports the layout. Verify the output by reading its stream information and playing a passage with wide imaging, quiet detail, and any channel-specific material. FLAC can support one to eight channels, but application support still determines whether the destination treats them correctly.
AAC Timing, Album Joins, and Decoded Duration Need a Real Playback Check
AAC encoders can introduce priming delay and end padding. M4A may carry timing data that lets compatible players compensate during presentation. A FLAC is PCM-oriented and has different timing conventions, so a converter’s decode behaviour determines whether the output’s start and end correspond to the intended musical boundaries. The overall duration displayed in a file browser can round away a small but audible transition discrepancy.
For continuous albums, loops, or media intended to line up with video, convert neighbouring material consistently and check joins in the final software. Listen at the first transient and the final fade, not just in the middle of a loud song. Adding silence to force a visible duration is a content edit, not a codec fix. Preserve the source M4A until the FLAC has passed the actual playback or timeline test required by the project.
Map M4A Library Fields to FLAC Metadata Without Assuming Every Field Has an Equivalent
M4A libraries commonly use MP4 metadata atoms for title, artist, album, track/disc numbers, date, genre, sort fields, lyrics, and embedded artwork. FLAC commonly uses Vorbis comment metadata and separate picture blocks. Familiar fields often transfer well, but they are not the same schema. Custom atoms, multiple cover images, library-specific sorting rules, and lyrics deserve a post-conversion check. A FLAC file that plays correctly can still be misfiled in a music library if album or disc information changes.
Inspect the converted FLAC in the destination catalog: confirm artist, album, title, track and disc numbering, date, genre, and artwork. Avoid relying on an extension change to carry metadata across containers. If cover art is unusually large, it can significantly increase the FLAC’s file size even though the audio itself compresses well. Keep a metadata backup when the catalogue work is as important as the sound.
| Decision point | M4A source state | FLAC outcome |
|---|---|---|
| Underlying codec | AAC or ALAC must be inspected | Always lossless PCM compression |
| Quality recovery | AAC is already lossy | Cannot restore removed AAC content |
| Integrity check | Container/track metadata | STREAMINFO carries decoded PCM MD5 |
| Frames | Timed MP4 samples | Predicted residual-coded FLAC frames with CRCs |
| Metadata | MP4 atoms and art | Vorbis comments and FLAC picture blocks |
| Best role | Compact playback package | Lossless archive or FLAC-required application |
Verify Codec Identity and Musical Boundaries Before Treating the FLAC as the New Source
Open the output in a media-information tool and confirm that it is FLAC, with the intended rate, bits, channels, and duration. If the source was ALAC and exact preservation was expected, avoid settings that changed those properties and use a lossless verification workflow where available. If the source was AAC, compare difficult passages and boundaries only to judge whether decoding/export succeeded; do not mistake a larger lossless file for an upgrade in source fidelity.
Use a two-stage acceptance check. Verify structural properties first: a reader should recognise the fLaC stream, the stream information should state the expected layout, and the file should decode without frame or checksum errors. Then verify use properties: the library should display the required identity fields, the player should support the rate and channels, and the output should begin and end where the workflow needs it to. This separation matters because a technically valid FLAC can still be unsuitable if a catalogue lost disc numbers or an editing session needs a different sample rate. Document the source codec alongside the new file so nobody later assumes that every lossless FLAC originated from a lossless master.
Will M4A to FLAC improve audio quality?
No. AAC-in-M4A remains limited by its original lossy coding. The FLAC stores decoded AAC samples without further loss, not the missing source detail.
When is M4A to FLAC truly lossless?
When the M4A carries ALAC and the conversion preserves its decoded PCM rate, depth, and channels. Check the codec, not only the extension.
Why is the FLAC larger than the M4A?
AAC is designed for compact lossy delivery. FLAC is lossless, so it normally needs more storage for the same duration.
Can FLAC keep cover art?
Yes, FLAC has picture blocks, but M4A artwork and fields do not map identically. Inspect the result in the intended library.
Does FLAC fix a tiny gap at track boundaries?
No. AAC priming and the conversion decoder’s timing handling must be tested. FLAC does not automatically determine the intended presentation trim.