spotify_to_ytmusic is a migration tool that copies playlists and liked music from Spotify to YouTube Music.
The tool addresses the problem of transferring music libraries between streaming platforms, which neither service handles natively. It works by authenticating with both Spotify and YouTube Music APIs, then matching songs from your Spotify library against YouTube Music's catalog and adding them to corresponding playlists or your liked songs collection. The matching process searches YouTube Music for tracks by name and artist to find equivalents.
The tool is suited for users who want to switch from Spotify to YouTube Music or maintain a backup of their library on both platforms. It provides a graphical interface that walks through the migration process step-by-step: first backing up your Spotify playlists to a local file, then importing your liked songs, and finally copying individual playlists or all playlists at once to YouTube Music. The setup requires manual credential extraction from YouTube Music through browser developer tools, which is more involved than typical OAuth flows but necessary given YouTube Music's API constraints. The README notes that song matching has performed well across tested libraries, though more obscure titles may occasionally fail to match.
The project shows consistent maintenance with regular updates addressing bugs and user-reported issues. Pull requests are reviewed and merged steadily, indicating active engagement with contributions. The codebase receives fixes for authentication edge cases and improvements to the matching algorithm based on real-world usage feedback.