Export your Spotify playlists and library using the Web API by clicking on the link below:
https://rawgit.com/delight-im/exportify/master/exportify.html
As many users have noticed with Spotify, there is no way to export or archive one’s playlists or library from the official clients for safekeeping. This application provides a simple interface for doing that using the Spotify Web API.
No data will be saved on any third-party server – the entire application runs in your browser.
Click “Get started”, grant Exportify read-only access to your playlists and library, then click the “Export” button to start the export.
Click “Export all” to save a ZIP file containing one CSV file for each playlist in your account. This may take a while when many (large) playlists exist.
If you have a large number of items in your “Saved Tracks”, i.e. more than 2500 entries, you can change the limit on the number of tracks to export by executing the following piece of JavaScript in the console of your browser’s developer tools:
window.localStorage.setItem("librarySize", 3141);
Once playlists are saved, it’s also pretty straightforward to re-import them into Spotify. Open up an exported CSV file in Excel or LibreOffice Calc, for example, then select and copy the spotify:track:xxx
URIs. Finally, create a playlist in Spotify and paste in the URIs.
Track data is exported in CSV format with the following fields:
- Track URI
- Track Name
- Artist URI
- Artist Name
- Album URI
- Album Name
- Disc Number
- Track Number
- Track Duration (ms)
- Added By
- Added At
If you hit Spotify’s rate limits for their Web API, you may want to register your own “Client ID”, which allows for more API calls independent of other users.
If you want to test changes in a development version, you should fire up a local web server, e.g. using Apache, nginx, Python or PHP, and navigate your browser to exportify.html
on localhost
. Additionally, you may want to register your own “Client ID” for the Spotify Web API.
-
Go to Spotify’s developer site
-
Choose to create a new app
-
Enter an arbitrary title and description for your new app
-
Locate the “Client ID” for your new app and write it down
-
“Edit” your app
-
As “Redirect URIs”, add
https://rawgit.com/delight-im/exportify/master/exportify.html
and, if you want to work on a local development version, your local URL, e.g.:
http://localhost/exportify/exportify.html
-
Save the new settings
-
Navigate your browser to
https://rawgit.com/delight-im/exportify/master/exportify.html?client_id=<YOUR_CLIENT_ID>
to start using your own “Client ID” for the Spotify Web API
-
If you want to work on a local development version, you may want to change the “Client ID” directly in the code
All contributions are welcome! If you wish to contribute, please create an issue first so that your feature, problem or question can be discussed.
This project is licensed under the terms of the MIT License.