Import history
Bring in your Last.fm history. Plays that are already here are skipped, so importing the same history twice is safe.
From an export file
A CSV from lastfm-to-csv, any CSV with artist, track and date columns, or a JSON export of your scrobbles. Gzipped files work too.
Straight from Last.fm
Copies the public scrobble history of a Last.fm account. Large histories take a few minutes; you can leave this page while it runs.