Skip to content

MahmoudEnani/exportify

Repository files navigation

Build Status

Export your Spotify playlists using the Web API by clicking on the link below:

https://watsonbox.github.io/exportify/

As many users have noted, there is no way to export/archive playlists from the Spotify client for safekeeping. This application provides a simple interface for doing that using the Spotify Web API.

No data will be saved - the entire application runs in the browser.

Usage

Click 'Get Started', grant Exportify read-only access to your playlists, then click the 'Export' button to export a playlist.

Click 'Export All' to save a zip file containing a CSV file for each playlist in your account. This may take a while when many playlists exist and/or they are large.

Re-importing Playlists

Once playlists are saved, it's also pretty straightforward to re-import them into Spotify. Open up the CSV file in Excel, for example, select and copy the spotify:track:xxx URIs, then simply create a playlist in Spotify and paste them in.

Export Format

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

Development

This project was bootstrapped with Create React App.

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.

Notes

  • The CSV export uses the HTML5 download attribute which is not supported in all browsers. Where not supported the CSV will be rendered in the browser and must be saved manually.

  • According to Spotify documentation, "Folders are not returned through the Web API at the moment, nor can be created using it".

  • It has been pointed out that due to the large number of requests required to export all playlists, rate limiting errors may sometimes be encountered. Features will soon be added to make handling these more robust, but in the meantime these issues can be overcome by creating your own Spotify application.

Contributing

  1. Fork it ( https://github.com/watsonbox/exportify/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Error Monitoring

Error monitoring provided by Bugsnag.

About

Export/Backup Spotify playlists using the Web API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.9%
  • TypeScript 21.1%
  • SCSS 3.3%
  • HTML 0.7%