← Back to all guides
Guide

Export Spotify Data: Playlists & Full History

Updated Sep 28, 2026

Spotify has two exports and most people only find one of them. The account data export is what everyone knows about, and it carries a limited window of listening history. The extended streaming history goes back to the day you signed up. You need to request them separately, and the one people skip is the one worth having.

Export at a glance

Request method
In-product settings
Delivery time
Days
Archive format
JSON, ZIP
Sensitivity
Medium: communications, purchase records
Primary use
Backup: preserve a copy for yourself

Archive file map

Top-level structure of the export. Each entry is a file or directory with its format badge and what it contains.

Streaming_History_Audio_YYYY-YYYY_*.jsonJSON
Extended streaming history: every play from account creation, one file per year, with timestamps, ms_played, skip flags, device and offline status
StreamingHistory_music_*.jsonJSON
Recent plays from the account data export, with timestamps and ms played
Playlist*.jsonJSON
Every playlist you created, with track listings
YourLibrary.jsonJSON
Saved tracks, albums, artists, podcasts and shows
SearchQueries.jsonJSON
Every search you typed into Spotify
Inferences.jsonJSON
Taste and behaviour labels Spotify has derived from your listening
Payments.jsonJSON
Subscription and billing history
Identity.jsonJSON
Account profile details
Follow.jsonJSON
Who you follow and who follows you
userdata.jsonJSON
General account metadata

The two exports

Both are free and both come from the same Privacy Settings page, but they are two separate checkboxes and you have to tick both.

The account data export is the general one: profile, playlists, saved music, searches, payments, and a recent slice of listening. The extended streaming history is a different thing entirely: a complete record of every play from the day your account was created, and nothing else.

People download the first one, glance at a JSON file full of tracks from the last year, and conclude that is all Spotify has. It is not. Fifteen years of listening is sitting in the other export.

Requesting them

  1. Log in at spotify.com.
  2. Open your profile icon, top right, then Account.
  3. Scroll to Privacy settings.
  4. Find Download your data.
  5. Tick both Account data and Extended streaming history.
  6. Submit the request.
  7. Open the confirmation email and click the link. This part matters: the 30-day clock does not start when you request, it starts when you confirm. People who miss the email and find it two weeks later are still fine, but people who request and forget lose the whole window.
  8. Wait. Account data usually arrives within days. The extended history can take up to 30 days, which is the regulatory deadline rather than a realistic processing time; most people report a few days.

What the account data export contains

  • StreamingHistory_music_*.json: recent plays with timestamps and milliseconds played
  • Playlist*.json: every playlist you made, with its tracks
  • YourLibrary.json: saved tracks, albums, artists, podcasts and shows
  • SearchQueries.json: every search you typed into Spotify
  • Inferences.json: the taste labels Spotify has assigned you
  • Payments.json: subscription and billing history
  • Identity.json: account details
  • Follow.json: who you follow and who follows you
  • userdata.json: general account metadata

What the extended streaming history contains

One set of files per year, named Streaming_History_Audio_YYYY-YYYY_N.json, each one a JSON array of play events. Every field tells you something the account export does not.

  • ts: when the track finished playing, in UTC
  • master_metadata_track_name: the track
  • master_metadata_album_artist_name: the artist
  • ms_played: how many milliseconds you actually listened, which is how you tell a listen from a skip
  • reason_start: why it started, such as trackdone, fwdbtn or clickrow
  • reason_end: why it stopped
  • skipped: true or false
  • platform: which device or app, such as Android, web player or Cast
  • shuffle: whether shuffle was on
  • offline: whether you played it offline

The Inferences file

This is Spotify's model of you as a list of labels: genres, moods, contexts, patterns. It is what feeds Discover Weekly and Daily Mix.

You cannot change it. You can only look at it, and plenty of people find the specificity interesting or faintly insulting.

Reading the data

  • Drag a JSON file into a browser tab. It renders as a readable tree, which is enough for a first look.
  • In a spreadsheet, use File > Import and pick the JSON. Google Sheets handles it directly.
  • stats.fm and similar free tools take the extended streaming history and draw the charts for you, including your top artists over time.
  • For anything more serious, pandas in Python will read these files in a few lines.

If you are leaving Spotify

Your playlists are the portable part. Tools like TuneMyMusic and Soundiiz move them to Apple Music, YouTube Music or Tidal, and your saved tracks from YourLibrary.json will rebuild a library elsewhere.

Listening history does not move. No other service has an import for play counts, and none is going to add one. Last.fm is the closest thing to cross-platform history and it is worth starting now if you care about that.

Clearing or closing

  • Privacy Settings has a clear listening history option if you want the recent plays gone from the app.
  • Search history clears from the search screen in the app.
  • Closing the account is under Account and is permanent.
  • Export first either way. Nothing you clear or close comes back.

Where to keep it

  • The streaming history files are small. Fifteen years of listening is a few megabytes.
  • Folder name it spotify-2026-09, alongside the rest.
  • Keep an off-site copy: ProtonDrive or pCloud.
  • Do this twice a year rather than once. A subscription and a free account are the same request.

Quick version

If you want the short checklist instead of the full guide, use the service page.

Related guides

FAQ

What is the difference between the two Spotify exports?

Account data is the general export: profile, playlists, saved music, searches, payments, plus a recent window of listening. Extended streaming history is every play you have ever made, back to your first day, and nothing else. Tick both boxes.

How long does the extended streaming history take?

Spotify states 30 days, which is the legal ceiling rather than a processing estimate. Most people get it within a few days. The clock starts when you click the link in the confirmation email, not when you submit the request.

Why does my streaming history not go back far enough?

Because you have the account data export, not the extended streaming history. They are separate checkboxes on the same page. Request the extended one as well.

What is the difference between ms_played and a full play?

ms_played is milliseconds actually listened to. A low number on a three-minute track means you skipped it. Sort by it and you get a picture of what you genuinely played rather than what shuffled past.

What format is it in?

JSON, throughout, in ZIP archives. It opens in a browser, a text editor, a spreadsheet, or any of the analysis tools above.

Can I move my Spotify data to another service?

Playlists, yes, via TuneMyMusic or Soundiiz. Listening history, no. No other service accepts an import of play counts and none is planning to.

What is Inferences.json?

The taste and behaviour labels Spotify has derived about you. They drive Discover Weekly, Daily Mix and the advertising profile. You can see them, you cannot edit them.

Does exporting delete anything?

No. It makes a copy. Nothing changes until you separately clear history or close the account.

How do I count how many times I played one song?

From the extended streaming history. Filter the JSON on the track name and count, or load it into a spreadsheet and use COUNTIF. The stats.fm tools do this without you writing anything.

Do I need Premium?

No. Both exports are free and available on a free account.

Last verified: Sep 28, 2026. Steps checked against support.spotify.com. Report an outdated step →

About the author

Charles runs Digital Takeout Day, a twice-yearly reminder (May 8 and November 8) to download and back up your data from every online service you use.

Every guide is cross-checked against the platform's own export documentation and re-verified before each Takeout Day.

Read the full bio, editorial policy, and contact →