Linking to Spotify

What makes the web great? One of the key benefits over traditional media is that it’s hypertext, meaning that you can link words to other documents. This way, you can tie the documents together, provide context and refer to other sources.

As the web progressed from an electronic library for physics researchers to the greatest medium humanity has seen so far, people wanted to link to resources other than text, such as images, movies and, of course, music.

Naturally you’re able to link to Spotify as well. Anything that’s a resource or object in Spotify should be linkable. You might have seen us link to artists, albums, tracks and playlists on this blog, but you can even link to searches.

If you want to link to a song, for instance, you need to get its address: Just right-click (or control-click) a song in Spotify and select “Copy HTTP Link” or “Copy Spotify URI” from the context menu. Which one you should use depends on what you want to do with the link.

Context menu showing link options

HTTP links look like this:

Spotify URIs look like this: spotify:artist:5lsC3H1vh9YSRQckyGv0Up

The benefit of the latter kind is that they open in Spotify immediately. The first kind needs to go through a web browser and a web page redirecting you to the latter kind, which in turn opens in Spotify. It has the advantage, though, of being recognized as a link by major mail and instant-messaging (IM) software so that it turns blue, underlined and clickable.

Therefore, if you’re quickly sending your friend a song over IM, use the HTTP links. If you’re posting to your blog or web site, where you have control of the link target, use the Spotify URIs to avoid unnecessarily opening another web page.

And if you’re the author of mail, IM or any kind of software that auto-detects URIs, please consider supporting the spotify: URI schema.


  1. Could you please enable multiple select?
    If you select more than one track and then right-click to bring up the context-sensitive menu, only one spotify-url i still copied. It would help me alot to be able to copy more than one at a time. Please!!

  2. Is there a spec/way to decode the URI? i.e. finding out the track details? Can it be done without the C library and a Premium Account?

  3. On the Spotify Client v. on Mac OS X 10.6.4 this functionality is only working randomly. Most of the time, copying either HTTP link or Spotify URI leaves you with just the name of the artist and track or album. Is this intended or a bug?

  4. Is it possible to make the uri autoplay when clicked? The previous version of Spotify started playing as soon you clicked the uri. Now, the Spotify windows is just taking focus and the song is selected. You have to double click it in order to play the uri target song.