How to get your YouTube Music history
Google keeps a list of every song you’ve played on YouTube Music, and Google Takeout lets you download it. It takes a few minutes to a few hours, and one setting matters: the file has to be JSON.
Use more than one app? See How to get all your listening data.
Request it
- Go to takeout.google.com and sign in with the Google account you use for YouTube Music.
- Choose Deselect all, then tick YouTube and YouTube Music near the bottom.
- Choose Multiple formats and set history to JSON. Google picks HTML unless you change it, and the HTML page can’t be read.
- Choose All YouTube data included and keep only history. Your videos and other data would make the download far bigger and aren’t used.
- Choose Next step, keep Export once and .zip, and create the export.
- Wait for the email from Google, then download the zip.
What’s in the file
The zip holds a folder named after YouTube with your watch history inside, named in your account’s language (watch-history.json in English, histórico-de-visualização.json in Portuguese). It lists everything you played on YouTube and YouTube Music:
- the song, from the video’s title
- the artist, from the channel (an artist’s “- Topic” channel gives just the artist)
- when it started, to the second
Only YouTube Music plays are used. Plain YouTube videos and ads are left out, and nothing else in the zip is opened.
What to expect
YouTube Music records what started and when, and nothing else, so a few things work differently:
- Hours are estimates. My Listening Record works out each song’s length from the time until the next one started, and says so on the page.
- Skips aren’t recorded, so Love / Hate and skip rates stay off rather than showing a made-up number.
- Albums, shuffle and devices aren’t recorded either.
- A video that’s since been removed has no title left, so it’s counted in Load details and left out.
See it
Drop the zip, or the JSON file on its own, onto the record sleeve on the home page. If you also have your Spotify export, your Apple Music export or your Last.fm scrobbles, drop them in with it: the record shows them together, and the app picker shows each one on its own. On a day Spotify or Apple Music covers, the combined view keeps their plays, because they record how long each song really played.