How-To: Transfer Your Music Data From to

Share Now:


If you are a user already (if not go sign-up at then you may want to transfer your scrobbled tracks from

A special note: this applies to Debian/Ubuntu-based GNU/Linux OS only. However, if you know how to run python scripts in Windows or Mac then theoretically it should be possible to do the steps below.

Let’s begin.

  1. Go to LastToLibre page and download the following Python scripts:;;
  2. Go to the folder where you saved the three files you downloaded
  3. Make the files executable by typing these commands in the terminal:
    chmod +x
  4. Type:
    ./ --user YOUR_LastFM_USERNAME
  5. Wait for it to finish exporting your data
  6. Type:
    ./ YOUR_LibreFM_USERNAME exported_tracks.txt
  7. When the script asks you for your password, just type it and press enter to start importing your data

You’re done!


Take note, if the script encounter errors or terminated your connection, the script will terminate. To continue from where the script stopped, simply type this command:

./ -u YOUR_LastFM_USERNAME --page XXX

Replace XXX with the page number the script last exported. So, if you see in the terminal that it stopped at page 666 of 1200, then you should type:

chmod +x

Simple enough? Good! Now go start transferring your data to!

For more information and other commands, visit the official LastToLibre page.

Is a self-confessed bibliophile and technophile other than being an early adopter, an avid gamer, a geek, nerd, role-player, anime otaku, and trekker.

His first online project was in 1998 when he launched the unofficial website for Ansalon MUD and his own community forums Laibcoms.Community. By 2003 he created his work blog GM-Yukino which grew into gameshogun™, Snoworld™, and techmagus™.

His website is and He also owns Clean Real Food, and other online properties.

CC BY-SA 4.0
How-To: Transfer Your Music Data From to by Yuki is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Permissions beyond the scope of this license may be available at Legal Notice.

Comment(s) via

Loading Disqus Comments ...
Loading Facebook Comments ...