I had a few thousand old songs cluttering my Spotify library from 2018, and I couldnt bring myself to click the heart icon on every single one of them to clean it up. The official app doesnt let you bulk delete.
So I built SongNull. Local first dashboard to search, select, and batch delete (or restore) tracks.
It runs in your browser using the official API. Theres no backend, and your data stays with you.
You need a Spotify Developer account to run this locally.
- Create an app on the Spotify Developer Dashboard.
- Add
http://localhost:5173/callbackas a Redirect URI. - Grab the Client ID.
Clone the repo and install the packages:
npm installCreate a .env.local file in the root. Drop your credentials in:
VITE_SPOTIFY_CLIENT_ID=your_client_id_here
VITE_REDIRECT_URI=http://localhost:5173/callback
Start the dev server:
npm run devOpen http://localhost:5173 and log in.
Spotifys API caps track deletions at 40 (or 100 for playlists) per request. If you highlight 500 songs in SongNull and hit delete, the app silently chunks them into optimal batches and fires them off sequentially.
It uses the PKCE authorization flow. This means you authenticate directly with Spotify through the browser, skipping the need for a backend server to guard a client secret. Everything stays client-side.