Convert ALAC to AC3 — Free Online Tool
Convert ALAC audio files to AC3 (Dolby Digital) format, transcoding Apple's lossless codec into the lossy compression standard used in DVDs, Blu-rays, and broadcast TV. This is ideal when you need to embed Apple Lossless audio into video production pipelines or home theater systems that require Dolby Digital compatibility.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your ALAC file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
ALAC stores audio in a lossless, bit-perfect form inside an MPEG-4 container (.m4a). Converting to AC3 requires a full audio transcode — FFmpeg decodes the ALAC stream entirely back to raw PCM audio, then re-encodes it using the AC3 (Dolby Digital) codec at the target bitrate (default 192k). Because AC3 is a lossy format, some audio data is discarded during this compression step. The output is a raw .ac3 bitstream file, which is the native container format for Dolby Digital and can be muxed into MKV, VOB, or transport streams for DVD/Blu-ray authoring.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg tool, which handles all demuxing, decoding, encoding, and muxing. In this conversion it will decode the ALAC stream from the M4A container and re-encode it as Dolby Digital AC3. |
-i input.m4a
|
Specifies the input file — an M4A file containing an Apple Lossless (ALAC) audio stream. FFmpeg uses the mov/mp4 demuxer to read this MPEG-4 container and extract the lossless audio data. |
-c:a ac3
|
Tells FFmpeg to encode the audio stream using the AC3 codec (Dolby Digital). This triggers a full transcode from decoded ALAC PCM data into the lossy AC3 bitstream format. |
-b:a 192k
|
Sets the AC3 audio bitrate to 192 kilobits per second, which is the standard Dolby Digital bitrate for stereo DVD audio tracks. Increase this to 384k or 448k for surround sound content or higher-quality deliverables. |
output.ac3
|
Specifies the output filename with the .ac3 extension, producing a raw Dolby Digital bitstream file. This format is directly compatible with DVD/Blu-ray authoring tools and can be muxed into MKV or VOB containers for home theater use. |
Common Use Cases
- Preparing high-quality Apple Music or iTunes rips (stored as ALAC) for inclusion in a DVD or Blu-ray authoring project that requires Dolby Digital AC3 audio tracks
- Converting ALAC-encoded concert recordings for playback on AV receivers and home theater systems that support Dolby Digital but not Apple Lossless
- Creating AC3 audio tracks to mux into MKV or VOB video files for a media server like Plex or Kodi, which benefits from native Dolby Digital passthrough to a soundbar or receiver
- Producing broadcast-ready audio from archival ALAC masters when a client or broadcaster requires Dolby Digital-formatted deliverables
- Downmixing ALAC stereo or multi-channel audio from Apple ecosystem recordings into AC3 5.1 for inclusion in video game or film soundtrack workflows
- Testing AC3 encoding quality at different bitrates starting from a lossless ALAC source, since the lossless origin eliminates the source as a variable in quality comparisons
Frequently Asked Questions
Yes. ALAC is lossless, meaning it preserves every bit of the original audio. AC3 is a lossy codec — it uses psychoacoustic modeling to discard audio information it considers perceptually less important. At the default bitrate of 192kbps, the result is generally transparent for most listeners on typical playback systems, but the conversion is irreversible. If you need to re-edit the audio later, keep the original ALAC file.
For stereo audio, 192kbps is a solid default and the AC3 standard for DVD stereo tracks. For 5.1 surround content, 384kbps or 448kbps are more appropriate, with 640kbps being the maximum AC3 supports and the standard for Blu-ray Dolby Digital tracks. If your ALAC source is already stereo, going above 320kbps offers diminishing returns. Choose the bitrate based on your target delivery format — DVD, Blu-ray, or streaming.
No. Raw AC3 files (.ac3) do not support embedded metadata tags the way ALAC inside an M4A container does. Any ID3-style tags, album art, or iTunes metadata stored in your ALAC file will be lost in the conversion. If metadata preservation matters, consider muxing the AC3 output into an MKV container instead, which supports Dolby Digital audio alongside chapter and tag information.
Replace the value after -b:a with your desired bitrate. For example, to encode at 384kbps for 5.1 surround, use: ffmpeg -i input.m4a -c:a ac3 -b:a 384k output.ac3. Supported AC3 bitrates include 96k, 128k, 192k, 256k, 320k, 384k, 448k, and 640k. Higher bitrates produce better audio quality at the cost of a larger file size.
Yes, raw .ac3 files are widely accepted by DVD and Blu-ray authoring software such as DVDStyler, Encore, and Multiplexer-based tools. DVD authoring typically requires AC3 at 192kbps (stereo) or 448kbps (5.1), while Blu-ray supports up to 640kbps. Make sure your AC3 file's channel layout and bitrate match the spec your authoring tool expects before muxing.
Yes. On Linux or macOS, you can use a shell loop: for f in *.m4a; do ffmpeg -i "$f" -c:a ac3 -b:a 192k "${f%.m4a}.ac3"; done. On Windows Command Prompt, use: for %f in (*.m4a) do ffmpeg -i "%f" -c:a ac3 -b:a 192k "%~nf.ac3". This processes each ALAC file in the current directory and outputs a matching .ac3 file. Batch processing is especially useful when dealing with files larger than 1GB or entire album directories.
Technical Notes
ALAC audio is stored in an MPEG-4 container (.m4a or .mp4), so FFmpeg reads the file using the mov/mp4 demuxer before passing the decoded PCM audio to the AC3 encoder. The AC3 format enforces strict constraints: it supports a maximum of 6 channels (5.1) and a maximum bitrate of 640kbps. If your ALAC source has more than 6 channels (e.g., 7.1 from a high-res music file), FFmpeg will need channel mapping or downmixing before AC3 encoding — you may need to add a -ac 6 flag explicitly. ALAC supports bit depths up to 32-bit, but AC3 internally operates on 24-bit fixed-point precision, so ultra-high bit-depth sources are downsampled as part of encoding. Sample rates in AC3 are limited to 32kHz, 44.1kHz, and 48kHz; if your ALAC source uses an unusual rate like 88.2kHz or 96kHz, FFmpeg will resample it automatically. Finally, chapter markers present in the ALAC/M4A source are not carried over into the raw AC3 output, as the AC3 bitstream format has no mechanism to store chapter or timing metadata.