
I discovered a way to create a saveable YouTube Music playlist from any list of video IDs — no OAuth, no login required
I was building an AI music app and needed a way to export playlists to YouTube Music without making users log in. I asked Claude, Gemini, and other AIs — they all said the same thing: "It's impossible without OAuth login. You must add a login system." Then I accidentally found this trick. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ STEPS (anyone can try this right now) Step 1 — Get the YouTube video IDs of the songs you want. A video ID looks like this: dQw4w9WgXcQ It is the part after ?v= in any YouTube URL: youtube.com/watch?v=dQw4w9WgXcQ ↑ this part Step 2 — Put them together in this URL and open it: youtube.com/watch_videos?video_ids=ID1,ID2,ID3,ID4 Real example: youtube.com/watch_videos?video_ids=dQw4w9WgXcQ,JGwWNGJdvx8 Step 3 — YouTube opens and plays those songs as a queue. Now look at the URL bar — it changed to something like: m.youtube.com/watch?v=dQw4w9WgXcQ&list=TLGGxxxxxxxx ↑ this is the magic part Step 4 — Copy the entire URL from your browser address bar. Step 5 — Change only one word
Continue reading on Dev.to Webdev
Opens in a new tab




