Spotify link formats
Each row shows the normal web link, the iPhone URL scheme and the Android form. Replace the capitalised placeholders with real values.
| Content | Web link | iPhone (URL scheme) | Android |
|---|---|---|---|
| Track | https://open.spotify.com/track/ID | spotify:track:ID | intent://open.spotify.com/track/ID#Intent;package=com.spotify.music;scheme=https;end |
| Album | https://open.spotify.com/album/ID | spotify:album:ID | intent://open.spotify.com/album/ID#Intent;package=com.spotify.music;scheme=https;end |
| Playlist | https://open.spotify.com/playlist/ID | spotify:playlist:ID | intent://open.spotify.com/playlist/ID#Intent;package=com.spotify.music;scheme=https;end |
| Artist | https://open.spotify.com/artist/ID | spotify:artist:ID | intent://open.spotify.com/artist/ID#Intent;package=com.spotify.music;scheme=https;end |
| Podcast episode | https://open.spotify.com/episode/ID | spotify:episode:ID | intent://open.spotify.com/episode/ID#Intent;package=com.spotify.music;scheme=https;end |
Spotify URIs (spotify:type:id) are the one scheme on this list Spotify itself uses publicly — you can copy them from the app’s Share menu on desktop.
Most apps do not officially document their URL schemes. The formats below are the ones DSLink uses in production today, but an app update can change them — test on a real device before hard-coding a scheme into your own app or site.
Using the scheme on a website
A URL scheme can go straight into a link. On iPhone, Safari asks the visitor to confirm before switching apps:
<a href="spotify:track:ID">Open in Spotify</a>
On Android you can add a web fallback to the intent itself. If the app is missing, Chrome opens the fallback URL instead of failing:
intent://open.spotify.com/track/ID#Intent;package=com.spotify.music;scheme=https;S.browser_fallback_url=https%3A%2F%2Fopen.spotify.com%2Ftrack%2FID;end
Two limits apply everywhere. If the app is not installed, a bare scheme does nothing useful — iOS shows an error. And built-in browsers inside apps such as Instagram, TikTok or X often block or ignore custom schemes, which is exactly where most links are tapped.
The no-code alternative: a smart link
A DSLink smart link wraps all of this in one short URL. On a phone it tries the right app format for the device, falls back to the Spotify web page if the app is missing, and sends desktop visitors straight to the website. You share one link everywhere and get click statistics on top.
Frequently asked questions
What is a Spotify URI?
A Spotify URI has the form spotify:type:id, for example spotify:track:ID. It opens that item directly in the Spotify app.
How do I convert a Spotify link to a URI?
Take the type and ID from the open.spotify.com path: /track/ID becomes spotify:track:ID. Ignore query parameters such as ?si=.
What happens if the Spotify app is not installed?
A bare URL scheme fails: iOS shows an error and nothing opens. Always pair it with a web fallback — on Android with S.browser_fallback_url in the intent, or use a DSLink smart link, which falls back to the web page automatically.