I Built a Chrome Extension to Bridge Pandora and Spotify
I got tired of alt-tabbing between Pandora and Spotify. So I built a Chrome extension that adds a Spotify button right into Pandora's player — one click to save, add to playlist, or share any song.
You know that moment when Pandora plays something incredible and you think, "I need this on my Spotify playlist"? Or you want to share a song you hear with your friends without just sending a screenshot of the song?
I got tired of alt-tabbing, searching, and hoping I'd find the right version. So I built Pandora to Spotify — a Chrome extension that adds a Spotify button right into Pandora's player.
What It Does
One click. That's it.
The extension reads what's playing on Pandora, finds it on Spotify, and lets you:
- Save it to your Liked Songs
- Add it to any playlist
- Copy the Spotify link
- Open it directly in the app
No more fumbling between tabs.
The Fun Parts
No server required — I used OAuth 2.0 PKCE, a clever authentication flow that uses cryptographic hashing instead of secret keys. Everything runs in your browser.
Spotify's API is a dream — Their search endpoint accepts track: and artist: filters, so matching songs is surprisingly accurate. And their playlist API handles everything with simple REST calls.
Chrome's identity API — Handles the entire "Login with Spotify" popup flow in about 10 lines of code. It just works.
DOM scraping is fragile but fun — Reading the current track from Pandora's page feels a bit like picking a lock. It works great... until they redesign.
The Stack
- Chrome Extension
- Spotify Web API
- Vanilla JS — no frameworks, no build step
- CSS to match Spotify's dark aesthetic
Try It
You can download it here! : Pandora to Spotify Chrome Extension
-Mike