How to Convert Apple Music to FLAC
In this article
Apple Music does not let you download songs in FLAC directly, but you can convert them after downloading them as lossless (ALAC) or by using a screen/audio capture method. The simplest way is to download your purchased or matched tracks as lossless ALAC (which is nearly identical to FLAC) and then convert them using a free audio converter. If you only have a subscription (not purchased songs), you’ll need to record the audio stream, which is legal for personal use in most regions but check your local laws. This guide covers both methods, with exact steps for Mac and Windows.
What You'll Need
- An Apple Music subscription or purchased tracks in your library
- A computer with iTunes or the Apple Music app (macOS Catalina or later, or Windows)
- A free audio converter: XLD (Mac only) or Fre:ac (Windows/Mac/Linux)
- For subscription tracks: a free audio recorder like Audacity (with the WASAPI loopback option on Windows) or BlackHole (Mac)
Step-by-Step
Method 1: Convert Purchased or Matched Tracks (Best Quality)
- Set Apple Music to lossless ALAC. Open the Apple Music app (or iTunes on older Windows). Go to Settings (or Preferences on Mac) > Playback (or General). Under “Audio Quality,” choose Lossless or Hi-Res Lossless for the download option. Note: labels can differ slightly by version and device.
- Download the tracks. Find the songs you want in your library (they must be purchased or matched via iTunes Match, not just streamed). Click the download icon (a downward arrow) next to each song, or select multiple and right-click > Download.
- Locate the downloaded files. On Mac: right-click the song in the Music app and choose Show in Finder. On Windows: right-click and choose Show in Explorer. The files will have the .m4a extension (ALAC is a type of M4A).
- Install a converter. Download and install XLD (Mac) or Fre:ac (Windows). Both are free and open-source.
- Add the files to the converter. Open XLD or Fre:ac, then drag the .m4a files into the main window.
- Set output format to FLAC. In XLD: go to Preferences > Output and choose FLAC. In Fre:ac: click the Format button and select FLAC.
- Convert. Click the Convert button (or press Cmd/Ctrl+R). The FLAC files will be saved to your chosen output folder (default is the same folder as the originals).
Method 2: Record Streaming Tracks (For Subscription Only)
- Set up audio loopback. On Windows, install Audacity and set the recording device to WASAPI loopback (which captures system audio). On Mac, install BlackHole (a virtual audio driver) and set your Mac’s output to BlackHole.
- Configure Audacity. Open Audacity, select the correct input device (WASAPI loopback on Windows, BlackHole on Mac). Set sample rate to 44.1 kHz or higher (matching your Apple Music quality).
- Start recording. Press the red record button in Audacity, then play the track in Apple Music. Let it play fully.
- Stop and trim. Press stop, then use the selection tool to remove any silence at the beginning or end.
- Export as FLAC. Go to File > Export > Export as FLAC. Choose a filename and location, then save.
Common Mistakes
- Downloading as AAC instead of ALAC. If you didn’t change the download quality to Lossless, you’ll get 256kbps AAC files, which are lossy and cannot be “upgraded” to true FLAC quality.
- Converting DRM-protected files. Subscription songs (not purchased) are encrypted with DRM. You cannot convert them directly; you must record the audio stream as described in Method 2.
- Using the wrong converter settings. Some converters default to a low bitrate or MP3 output. Always check the output format is FLAC and the sample rate matches your source (e.g., 44.1 kHz).
- Recording with system sound muted. If you record via loopback and your system volume is muted, you’ll get silence. Ensure the volume is up.
Tips
- Use Hi-Res Lossless only if your equipment supports it. Hi-Res (24-bit/192kHz) files are huge and may not play on standard speakers. 16-bit/44.1kHz is CD quality and sufficient for most.
- Check your storage. FLAC files are about 30–50% larger than AAC. A 3-minute song in FLAC is roughly 20–25 MB.
- Batch convert. Both XLD and Fre:ac let you drag in entire folders, so you can convert your whole library at once.
- Keep your original files. Don’t delete the ALAC files until you’ve verified the FLAC files play correctly.
- For recording, use a wired connection. If you’re recording from a phone, plug it into the computer via USB to avoid background noise.
Troubleshooting
- “The file is protected” error. This means the track is DRM-protected (subscription). Use Method 2 (recording) instead.
- Converted FLAC has no sound or is static. This usually happens when the sample rate mismatches. In the converter, set the output sample rate to match the source (e.g., 44100 Hz).
- Recording is silent in Audacity. On Windows, make sure you selected “WASAPI loopback” as the input device, not the microphone. On Mac, check that BlackHole is selected as the output in System Preferences > Sound, and that Audacity’s input is set to BlackHole.
- Files are not downloading as lossless. Go to Settings > Playback and ensure “Lossless” is selected for downloads, not just streaming. Also, some older tracks may only be available in AAC; you can’t force lossless for those.
- Converter says “unsupported format.” Make sure you’re using the latest version of XLD or Fre:ac. If the file is an ALAC .m4a, both support it.
Frequently Asked Questions
Can I convert Apple Music songs to FLAC without a subscription?
Yes, if you have purchased songs from iTunes. They are DRM-free and can be converted directly. If you only have a subscription, you must record the audio stream.
Is it legal to convert Apple Music to FLAC?
Converting purchased tracks for personal use is generally considered fair use. Recording subscription streams for personal backup may violate Apple’s Terms of Service, but in many jurisdictions it’s not illegal. Check your local laws.
Will the FLAC files sound better than the original AAC?
No. FLAC is lossless, but if you start from a lossy AAC file (256kbps), the FLAC will just be a lossless container for that same lossy audio. It won’t recover lost quality. To get true lossless, start from ALAC or record the lossless stream.
Can I convert FLAC back to Apple Music format?
Yes, you can convert FLAC to ALAC or AAC using the same tools. Apple Music can play FLAC if you add it to your library (on Mac, it converts automatically to ALAC).
Do I need to pay for a converter?
No, XLD and Fre:ac are free and open-source. There are also online converters, but they require uploading files, which is less private.
Why does my FLAC file have a huge size?
FLAC is lossless, so it preserves all audio data. A 24-bit/192kHz file can be 10x larger than a 256kbps AAC. Use 16-bit/44.1kHz for standard CD quality to save space.