Guides · Last.fm

Export your Last.fm scrobbles

Last.fm has every scrobble your apps sent it, from any service. Export them with a web tool in a few minutes, and OnRepeat adds the plays your other history doesn’t have.

Where
lastfm.ghan.nl/export, in a web browser
How long
A few minutes
Upload
recenttracks-…csv, as it is

Export your scrobbles

  1. Let your scrobbles be read

    On last.fm, open Settings › Privacy and untick Hide recent listening information. Otherwise the export comes back empty. You can tick it again once you’ve downloaded your file.

  2. Open the export tool

    Go to lastfm.ghan.nl/export. It’s a tool, not made by Last.fm or OnRepeat, that reads your public scrobbles from Last.fm.

  3. Choose Scrobbles and CSV

    Enter your Last.fm username, choose Scrobbles as what to export and CSV as the format, and start the export.

  4. Keep the page open until the download finishes

    The tool reads your scrobbles page by page: 100,000 take a minute or two. Your browser then downloads a file named recenttracks-your username-…csv.

Upload to OnRepeat

  1. Open Imports and choose Last.fm

    Sign in and go to Imports › Last.fm.

  2. Choose the CSV

    Select your recenttracks-…csv file, then select Upload files. Keep the tab open until the upload finishes; the import then continues in the background.

Plays are counted once. A scrobble your Spotify or Apple Music history already has is kept with your import but not counted again, whichever you upload first. So is the same play scrobbled twice by two apps.

FAQ

How long does OnRepeat think each scrobble played?

Last.fm records when a song started, not how long you listened. OnRepeat counts a scrobble as playing until the next one, up to the song’s length when it knows it from your other history. A scrobble with nothing to go by counts as a play with no listening time.

Can I upload a newer export later?

Yes. Export again and upload the whole file: OnRepeat adds only the new scrobbles.

I have a different Last.fm export

OnRepeat reads lastfm.ghan.nl’s Scrobbles CSV, which keeps exact times and song IDs. Files from other tools, or ghan.nl’s Loved tracks, JSON and XML exports, can’t be imported yet.

Something went wrong

Email support@onrepeatstats.com and tell us which file you uploaded and the error you saw.

New to OnRepeat? Accounts are by invitation for now. Ask for an invite

OnRepeat Stats isn’t affiliated with Last.fm or lastfm.ghan.nl. Steps checked October 2026; either may change its pages.