Copy all your Spotify playlists to YouTube Music in a single command.
Transfer liked songs and albums from Spotify using a step-by-step graphical interface.
Migrate a specific Spotify playlist by ID, creating it on YouTube Music if it does not exist yet.
Back up your Spotify library as a local JSON file before starting the migration.
Authentication requires manually copying browser request headers from YouTube Music developer tools - there is no standard OAuth flow.
This is a Python tool for copying your music library from Spotify to YouTube Music. It handles three things: your liked songs, your liked albums, and your playlists. You can use either a graphical interface or command-line scripts, depending on your preference. The setup process requires a few manual steps before anything can run. You need to install Python, clone the repository, and create a Python virtual environment (an isolated space for the tool's dependencies). Then you generate credentials for YouTube Music by copying request headers from your browser's developer tools while logged into YouTube Music, and pasting them into a file the tool reads. Once that file exists, the graphical interface picks it up automatically and skips the manual login step. The graphical interface walks you through the migration in tabs. The first step is backing up your Spotify data by saving your playlists and liked songs into a local JSON file. Subsequent tabs let you import liked songs to YouTube Music, list your playlists on both services, copy all playlists at once, or copy a specific playlist by its ID. The tool matches Spotify tracks to YouTube Music tracks by searching for the album and artist. The author reports good matching results across thousands of songs, with occasional issues on less common titles. The command-line version provides the same functionality through individual scripts. You can copy all playlists with one command, or target a specific playlist using its ID. A playlist that does not yet exist on YouTube Music can be created on the fly by prefixing its name with a plus sign in the command. Re-running any copy command is described as safe: it will not create duplicate entries. The tool is written in Python and depends on the ytmusicapi library.
← linsomniac on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.