ListFan
Text · Free

Spotify playlist deep-link builder

Create a share link to a song with playlist context. For artists, curators and listeners.

01Enter your values

Runs in your browser

Runs offline in your browser. Once the page and required files have loaded, processing needs no internet.

Extract the track and playlist identifiers from their URLs or URIs. Remove existing queries and fragments. Build an HTTPS track URL and encode spotify:playlist: followed by the playlist identifier in its context parameter. Copy the result or open it to test.

Example

How it works

Create a share link to a song with playlist context. For artists, curators and listeners.

https://open.spotify.com/track/{trackId}?context=spotify%3Aplaylist%3A{playlistId}

Only link syntax is checked: the song, playlist and playlist membership are not verified. Playlist context and autoplay depend on the Spotify client, account and region; the web player may ignore context. This is not playback control or an official Spotify product. Generation works offline after loading; opening Spotify may require internet and sign-in.

Your data stays yours

Inputs are processed on this page and are never sent to a server.

About this tool

Create a share link to a song with playlist context. For artists, curators and listeners.

Extract the track and playlist identifiers from their URLs or URIs. Remove existing queries and fragments. Build an HTTPS track URL and encode spotify:playlist: followed by the playlist identifier in its context parameter. Copy the result or open it to test.

Use tool ↑

How to use it

  1. Enter your values

    Track link or URI · Playlist link or URI

  2. Calculate / generate

    Create a share link to a song with playlist context. For artists, curators and listeners.

  3. Result

    https://open.spotify.com/track/6rqhFgbbKwnb9MLmUQDhG6?context=spotify%3Aplaylist%3A37i9dQZF1DXcBWIGoYBM5M

Calculation method

  1. Extract the track and playlist identifiers from their URLs or URIs.
  2. Remove existing queries and fragments.
  3. Build an HTTPS track URL and encode spotify:playlist: followed by the playlist identifier in its context parameter.
  4. Copy the result or open it to test.
https://open.spotify.com/track/{trackId}?context=spotify%3Aplaylist%3A{playlistId}
Example scenario

Spotify playlist deep-link builder

Track link or URI
https://open.spotify.com/track/6rqhFgbbKwnb9MLmUQDhG6
Playlist link or URI
https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M
Result
https://open.spotify.com/track/6rqhFgbbKwnb9MLmUQDhG6?context=spotify%3Aplaylist%3A37i9dQZF1DXcBWIGoYBM5M

Frequently asked questions

Assuming a generated URL guarantees playback inside the playlist.

Only link syntax is checked: the song, playlist and playlist membership are not verified. Playlist context and autoplay depend on the Spotify client, account and region; the web player may ignore context. This is not playback control or an official Spotify product. Generation works offline after loading; opening Spotify may require internet and sign-in.

Where does my data go?

Calculations run on your device. Form inputs are not sent to a server.

Terms and definitions

Enter your values

Track link or URI

Paste a full HTTPS open.spotify.com/track/ link or spotify:track: URI with a 22-character identifier. Artist and album links are not tracks.

Enter the source text; it is processed locally.

Playlist link or URI

Paste a full HTTPS open.spotify.com/playlist/ link or spotify:playlist: URI with a 22-character identifier. Existing sharing parameters are removed.

Enter the source text; it is processed locally.

Result

Result

An HTTPS track link with an encoded playlist context. It requests context; it does not prove membership or guarantee playback.

Calculated from your entries using the method below.

Common mistakes and quick fixes

Track link or URI

Mistake: Putting a playlist URL in the track field.

Fix: Copy the song link into the track field and the playlist link into the playlist field.

Generated link

Mistake: Assuming a generated URL guarantees playback inside the playlist.

Fix: Check that the track belongs to the playlist and test the link in the intended Spotify app.

Limits and key assumptions

  • Only link syntax is checked: the song, playlist and playlist membership are not verified. Playlist context and autoplay depend on the Spotify client, account and region; the web player may ignore context. This is not playback control or an official Spotify product. Generation works offline after loading; opening Spotify may require internet and sign-in.