Spotify Playlist Exporter

A simple Python script to export song titles and artists from a Spotify playlist into a CSV file.



🎢 Spotify Playlist Exporter

This project is a small Python script that connects to the Spotify Web API and exports the songs from any public Spotify playlist into a neat CSV file.
It’s useful if you want to back up playlists, analyze your music, or just keep a record of your favorite tracks outside Spotify.


✨ Features

  • Export all tracks from a public playlist
  • Saves track title and artist(s) into track_info.csv
  • Supports playlists of any length (pagination included)
  • Easy setup with a .env file (no secrets in the code)


πŸš€ How It Works

  1. Authenticate with Spotify using your own Client ID and Secret
  2. Provide a playlist link in the .env file
  3. Run the script β†’ get a CSV with all tracks and artists


πŸ“‚ Repository

πŸ”— View on GitHub


πŸ› οΈ Tech Stack

  • Python
  • Spotipy (Spotify Web API wrapper)
  • dotenv for environment management


πŸ“Έ Screenshots

Example image of .csv file