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
- Authenticate with Spotify using your own Client ID and Secret
- Provide a playlist link in the
.env
file - 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