Convert FLAC to ALAC

Choose a FLAC file to create an Apple Lossless audio track in an M4A file. Conversion runs in your browser with a bundled FFmpeg WebAssembly core.

Local processing: your selected audio is decoded and converted on this device; it is not uploaded. The first conversion downloads/loads the bundled audio engine (about 31 MB). Keep this page open while it runs. Files up to 100 MB are accepted; memory and speed depend on your device.

What this converter produces

The output is an M4A container with ALAC (Apple Lossless Audio Codec) audio. It maps the audio stream and carries metadata where the input and output formats support it. FLAC and ALAC are both lossless codecs, so the audio samples are encoded without lossy quality reduction; the output may be larger or smaller depending on the content.

How to convert a FLAC file

Select a local file ending in .flac, choose Convert to ALAC, and wait for the progress indicator to finish. Download the resulting .m4a file. The first run needs the bundled 31 MB WebAssembly engine; later runs can use the browser cache. Large files need enough free memory for input and output buffers.

Example

For a file named live-set.flac, a successful conversion creates live-set.m4a. The M4A extension describes the container; the audio inside uses ALAC. Check the file in your player’s media information if you need to confirm codec compatibility.

Frequently asked questions

Is M4A the same thing as ALAC? No. M4A is a media container; ALAC is the audio codec stored inside it. This tool writes ALAC into an M4A container for broad player compatibility.

Does the conversion reduce audio quality? ALAC is lossless. This conversion does not intentionally discard audio data, though metadata support can vary between formats.

Is my music sent to a server? No. FFmpeg WebAssembly runs in this page, and the selected file remains in browser memory and the local virtual filesystem during conversion.

Why is the first run slow? The browser loads the local FFmpeg runtime and its WebAssembly core, about 31 MB. The engine is then available from the browser cache.

Can every device play ALAC? Support varies by operating system and player. M4A is widely recognized, but verify that your target player supports ALAC before converting a large library.

Licensing and source

This page bundles FFmpeg WebAssembly under GPL-2.0-or-later and the FFmpeg JavaScript runtime under MIT. License notices and corresponding-source references are included in the vendor folder.

FFmpeg documents its audio codec support and Apple Lossless codec. This is an independent utility, not affiliated with Apple.