A GUI-based Apple Music downloader for Atmos, Lossless, and AAC formats (needs to be built from source for MacOS, Linux).
Get the latest Windows app from releases. Please refer to the Installation section before starting the GUI to avoid any errors.
Easily download your playlists, songs, albums, artist discographies up to Lossless 24-bit/192kHz, and music videos up to 4K.
For music videos, lyrics downloads, and AAC LC 256, you only need a token and do not need to install the wrapper.
The wrapper is required for ALAC, Atmos, AAC Binaural, and Downmix formats. To install the wrapper, follow the guide for MacOS or Windows.
Search for your favorite songs and artists directly in the app.
Check available audio qualities directly in the GUI before downloading.
Download complete artist discographies with one click.
Choose specific tracks, albums, or music videos to download.
You need an active Apple Music subscription to download music.
You need a media user token for downloading AAC LC quality and lyrics.
- Open the Apple Music website and log in with your subscription account.
- Open developer tools (press
Ctrl+Shift+IorCmd+Option+Ion Mac). - Navigate to the Application tab. If you don't see it, click the
>>symbol in the dev tools tabs to find it in the dropdown menu. - Expand the Storage section and select Cookies, then click on
https://music.apple.com. - Find the cookie named
media-user-tokenand copy its value.
For Chrome:
- Install the Get cookies.txt LOCALLY extension.
- Open the Apple Music website and log in to your account.
- Click the extension icon and then the export button to save the
cookies.txtfile. - Open the file and find the line containing
media-user-token. - Copy the long value from that line.
- Paste the value into the apmyx settings field.
For Firefox:
- Install the Export Cookies extension.
- Open the Apple Music website and log in to your account.
- Click the extension icon and choose to export cookies for
music.apple.com. - Open the saved file and find the line containing
media-user-token. - Copy the long value from that line.
- Paste the value into the apmyx settings field.
Important Notes:
- Do not include leading or trailing spaces when pasting the token. Paste it exactly as it appears (for example, ending with
==, not==). Extra spaces will cause errors. - You can also enter the token manually in
config.yaml. - Without this token, you can only download higher quality formats like ALAC and Atmos (when using the wrapper). AAC LC and lyrics will not be available.
- Download the latest release from the Releases page
- Extract the file using 7-Zip or WinRAR
- Run the
apmyx.exefile - Enter your media user token in the settings
You need these tools installed on your computer for apmyx to work properly.
- Visit GPAC Downloads
- Download the Windows installer
- Install GPAC to the default location (usually
C:\Program Files\GPAC) - Add to PATH:
- Search for Edit the system environment variables
- Click Environment Variables
- Under System variables, select Path and click Edit
- Click New and add
C:\Program Files\GPAC - Click OK on all windows
- Visit Bento4 Downloads
- Click Binaries for Windows 10
- Download and extract the zip file
- Create a folder at
C:\bento4 - Copy the contents to
C:\bento4 - Add to PATH:
- Search for Edit the system environment variables
- Click Environment Variables
- Under System variables, select Path and click Edit
- Click New and add
C:\bento4\bin - Click OK on all windows
- Visit the FFmpeg download page
- Click on the Windows logo
- Click Windows builds from gyan.dev
- Download
ffmpeg-git-full.7z(latest version) - Extract the downloaded file using 7-Zip
- Rename the extracted folder to
ffmpeg - Move the folder to
C:\ffmpeg - Add to PATH:
- Search for Edit the system environment variables
- Click Environment Variables
- Under System variables, select Path and click Edit
- Click New and add
C:\ffmpeg\bin - Click OK on all windows
Important: Restart your computer after adding all tools to PATH.
The wrapper is only needed if you want to download these formats:
- ALAC (Apple Lossless)
- Atmos
- AAC Binaural
- AAC Downmix
Download the required files from the link below:
Download AMDL WSL1 ALL IN ONE.zip
- Extract the downloaded zip file
- Run the batch script named
0-1 Install WSL1(need to reboot later).bat - This will install WSL on your computer
- Important: Restart your computer after installation completes
- After restarting, run the script named
0-2 Install Ubuntu-AMDL(only once).bat - This will install Ubuntu on WSL and all required dependencies for the wrapper
- Open the script
1. Run decryptor (!!!need to replace username and password in this file).batin a text editor like Notepad - Find the text
username:passwordand replace it with your Apple Music credentials. Make sure to enclose your credentials in quotes.- Example:
"youremail@example.com:yourpassword"
- Example:
- Save the file
- Run the script
1. Run decryptor (!!!need to replace username and password in this file).bat - Wait until you see "response type 6 and listening status" in the wrapper window
- Keep this window open while using apmyx
Download the app for Windows from releases, extract it, and open apmyx.exe.
OR
Run from source code:
git clone https://github.com/rwnk-12/apmyx-gui.git
cd apmyx-gui
pip install -r requirements.txt
cd src
python main.pyThe wrapper is only needed if you want to download these formats:
- ALAC (Apple Lossless)
- Atmos
- AAC Binaural
- AAC Downmix
Open the terminal and run the following command:
brew install go gpac git dockerUse the Docker command to log in to the wrapper. Replace username:password with your Apple Music account credentials (Subscription required , username = email).
docker run -v ./rootfs/data:/app/rootfs/data -e args="-L username:password -F" --rm ghcr.io/itouakirai/wrapper:x86Note: If you have enabled 2FA verification:
- Wait to receive the verification code
- Open a new terminal and follow the prompts to enter the verification code
- If the response shows
type 6, the login is successful - Close all terminal windows
Open the terminal and execute the wrapper run command:
docker run -v ./rootfs/data:/app/rootfs/data -p 10020:10020 -p 20020:20020 -e args="-M 20020 -H 0.0.0.0" --rm ghcr.io/itouakirai/wrapper:x86Keep this terminal window open while using apmyx.
Run from source code:
git clone https://github.com/rwnk-12/apmyx-gui.git
cd apmyx-gui
pip install -r requirements.txt
cd src
python main.pyThis guide was created by itouakirai up to step 3 (before step 4). This section has been extracted from their docs. If you encounter any issues with the wrapper installation, please open an issue here.
For developers, contributors, or users on macOS and Linux, you can run the application directly from the source code.
Before you begin, make sure you have the following installed on your system:
- Go: Version 1.18 or newer (Download here)
- Python: Version 3.9 or newer (Download here)
- Required Tools: FFmpeg, mp4box, and mp4decrypt (follow the installation steps for your OS above)
git clone https://github.com/rwnk-12/apmyx-gui.git
cd apmyx-gui
cd scriptsThis step compiles the Go program that handles all downloading and processing.
# For macOS & Linux (make the script executable first)
chmod +x build_go.sh
./build_go.sh
# For Windows (using Git Bash or WSL)
./build_go.shA downloader (or downloader.exe on Windows) file will be created in the src/core/ directory.
This creates an isolated environment and installs the Python libraries needed for the GUI.
# Create a virtual environment
python -m venv venv
# Activate the environment
# On macOS & Linux:
source venv/bin/activate
# On Windows:
.\venv\Scripts\activate
# Install the required libraries
pip install -r requirements.txtOnce the backend is built and the Python environment is set up, start the app:
cd src
python main.pyThe application window should now appear.
For issues or questions, please open an issue on GitHub.