How to export your Last.fm scrobbles to a CSV
Last.fm has a record of every song you’ve scrobbled. A free tool called lastfm-to-csv saves all of it as one file. It only needs your username, and it takes a few minutes or longer, depending on how much you’ve scrobbled.
Use more than one app? See How to get all your listening data.
Save it
- In your Last.fm privacy settings, make sure Hide recent listening information is off. The tool can’t read your scrobbles while it’s on.
- Go to lastfm-to-csv, type your Last.fm username and choose Fetch tracks.
- Keep the tab open until it says finished.
- Choose Save. The file is named after your username, like
yourname.csv.
lastfm-to-csv is made by someone else, not by My Listening Record. It never asks for your password, because it reads the listening your Last.fm profile already shows.
Check you got all of it
Save works while the tool is still fetching, and that gives you only part of your history. If a red errors label appears, 200 scrobbles are missing for each error. Fetch again, and if the errors come back, open Settings on that page and set a request delay.
To check the file, compare the scrobble count on your Last.fm profile with Total listening in the Liner Notes of your record, with All time picked. They should be close, though repeats of a song in the same minute stay out until you turn on Show all scrobbles. A row count that’s an exact multiple of 200 is a sign the last page never arrived.
What’s in the file
Each row is one scrobble, with four columns and no header:
- the artist
- the album, which can be empty
- the track
- when it started, to the minute and in UTC, like
06 Nov 2026, 20:57
Another tool’s CSV works too, as long as it has the same columns in the same order. So does an export with a header row naming uts or utc_time, artist, album and track, like the one from mainstream.ghan.nl. Its other columns, such as MusicBrainz ids, are left out.
What to expect
Last.fm 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 between scrobbles, 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.
- Shuffle and devices aren’t recorded either, and neither are podcasts.
See it
Drop the .csv onto the record sleeve on the home page. Don’t put it in a zip or a folder: those are only searched for Spotify, Apple Music and YouTube Music files. If you also have your Spotify export or your Apple Music export, drop them in with it. On any day they cover, their plays replace Last.fm’s, because they record more.