SpotifyDL is a Chrome extension that allows users to download tracks, playlists, or albums directly from Spotify via their browser. The extension supports multiple audio formats and provides integrated decryption and metadata management.
Built using Manifest V3, you can review permissions in the
manifest.json
file.
Audio Formats Supported:
Ogg/Vorbis (96, 160, 320 Kbits/s) via PlayPlay CDM (source)
AAC (128, 256 Kbits/s) via Widevine CDM
Integrated Decryption: Decrypts protected files and adds metadata using FFmpeg WASM.
Parallel Downloads: Supports downloading multiple files simultaneously for faster processing.
Note: Widevine decryption requires a valid Widevine device, including an RSA Private Key (PEM or DER format) and a Client ID Blob.
For questions, bug reports, or feedback, feel free to contact me on Discord: cyril13600.
PlayPlay - Migrate decryption from node-forge
to WebCrypto
to enhance performance and prevent UI freezing.
MP4 AAC - Add user settings for audio container and codec selection. Users can now choose the audio format when using FFmpeg via the settings interface.
Error Handling - Improve error logging and implement user-friendly error popups to better inform users of issues.
You have two methods to install the extension:
Download the latest release from the releases page.
Unzip the file:
After downloading, extract the contents. You should see a folder containing the dist
subfolder.
Load the extension in Chrome:
Open Chrome and navigate to chrome://extensions/
.
Enable "Developer mode" by toggling the switch in the top-right corner.
Click "Load unpacked" and select the dist
folder containing manifest.json
.
Clone the repository:
git clone https://github.com/cycyrild/SpotifyDL.gitcd SpotifyDL
Install dependencies:
npm install
Compile the project:
npm run build
Load the extension in Chrome:
Open Chrome and navigate to chrome://extensions/
.
Enable "Developer mode" in the top-right corner.
Click "Load unpacked" and select the dist
folder where the compiled files are located.
Log in to your Spotify account on the web player.
Navigate to the track, playlist, or album you wish to download.
Click the SpotifyDL icon in your Chrome toolbar.
The extension will analyze the current page and list all available tracks for download.
Select the tracks you want and click to download.
The files will be saved to your device with complete metadata, including title, artist, album, etc.
This extension is intended for personal use only. Downloading copyrighted content without permission is a violation of Spotify's terms of service and may also breach copyright laws. Please use this extension responsibly.