spotify-backup

github.com/caseychu/spotify-backup Music Tools Open-source projectOpen source

Export and back up Spotify playlists with this Python script, which saves playlist data for personal records.

github.com/caseychu/spotify-backup
spotify-backup homepage screenshot

About spotify-backup

spotify-backup is an open-source Python script designed to export and back up a user's Spotify playlists and liked songs to local files for personal record-keeping. It uses the Spotify API for access, supporting both browser-based authorization and manual OAuth token input for users who encounter issues with the browser flow. Exports can be saved as tab-separated files compatible with Excel or as JSON files, and exported data can be copy-pasted back into Spotify playlists. The script does not support collaborative playlists or playlist folders, as these are not accessible via the Spotify API.

Key features

  • Exports Spotify playlists to local tab-separated or JSON files
  • Supports browser-based Spotify API authorization flow
  • Allows manual OAuth token input for authorization issues
  • Can include Liked Songs in exports alongside playlists
  • Exported data can be re-imported to Spotify playlists
Best for: Spotify users who want local backups of their playlists and liked songs to preserve access if the service becomes unavailable.
Good for
  • Open-source under MIT license, free to use and modify
  • Supports both tab-separated and JSON export formats
  • Provides manual OAuth token option for authorization issues
Watch out for
  • Does not export collaborative playlists
  • Does not export playlist folders
  • Requires Python 3 to run the script

spotify-backup at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

spotify-backup alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Music Tools

Well-known listings from the same topic.

All 114

spotify-backup FAQ

What file formats are available for Spotify playlist exports?
Tab-separated files (compatible with Excel) and JSON.
Can I include my Liked Songs in the export?
Yes, use the --dump=liked,playlists flag when running the script.
What should I do if the browser authorization flow fails?
Generate an OAuth token with the playlist-read-private permission on the Spotify developer site and pass it via the --token option.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing