Moving from Spotify to YouTube Music takes a few steps, but once you’re set up, the experience is great.
The main advantage is that you also get YouTube Premium, so you can watch YouTube completely ad-free.
Here’s the quickest way to migrate your liked songs and configure everything properly.
Open Spotify → go to Liked Songs → select all → Add to playlist.
This makes transferring everything much easier.
Buy YouTube Premium for €5 so you can use YouTube Music without ads and with background playback.
YouTube Music doesn’t have a native desktop client, but you can create one using Pake.

I used it for a tons of website that does not offer a native app. You can find YouTube Music as part of the README:
Download YouTube Music: Mac Windows Linux
Use TuneMyMusic to transfer your Spotify playlist to YouTube Music.
Just pay for it — it works reliably and saves time.
In my case, for around 3,000 songs, just 10 was missing.
YouTube Music might already contain some liked songs, so let’s reset them.
Go to Liked Songs, open your browser console, and run:
const delay = (ms) => new Promise(res => setTimeout(res, ms));
async function unlikeAll() {
const items = [...document.querySelectorAll('ytmusic-responsive-list-item-renderer')];
let count = 0;
for (const item of items) {
// The like / unlike button
const likeBtn = item.querySelector('#button-shape-like button');
if (!likeBtn) continue;
const isLiked = likeBtn.getAttribute('aria-pressed') === 'true';
if (isLiked) {
likeBtn.click();
count++;
console.log(`Removed like #${count}`);
await delay(400);
}
}
console.log('✔ Done. If you have many songs, scroll down and run again.');
}
unlikeAll();
Open your transferred playlist and run this in the browser console:
const delay = (ms) => new Promise(res => setTimeout(res, ms));
async function likeAll() {
const items = [...document.querySelectorAll('ytmusic-responsive-list-item-renderer')].reverse();
let count = 0;
for (const item of items) {
const likeBtn = item.querySelector('#button-shape-like button');
if (!likeBtn) continue;
const isLiked = likeBtn.getAttribute('aria-pressed') === 'true';
if (!isLiked) {
likeBtn.click();
count++;
console.log(`Liked #${count}`);
await delay(400);
}
}
console.log('✔ Done. If not all songs loaded, scroll down and run again.');
}
likeAll();
YouTube Music on iOS sometimes adds random songs to playlists.
To avoid this, go to: Settings → Playback and restrictions and ensure it looks like the screenshot:

And that’s it — your Spotify library should now be fully transferred and correctly liked on YouTube Music.
Written by Kiko Beats
Kiko Beats
Web is the Platform. Programmer, Computer Science & Software Engineer.