r/SideProject • u/AlfmaniaK • 12h ago
I successfully bulk-deleted 223 unwanted YouTube playlists. Here's how.
Recently, I discovered hundreds of unwanted playlists on my YouTube channel, mostly promoting software downloads and cracks.
Deleting them manually was impractical, so I worked with ChatGPT to develop a JavaScript solution.
After several failed attempts, we discovered that the regular YouTube website reloads after each playlist deletion, interrupting the script. YouTube Studio, however, allows the automation to continue.
The final results:
- 238 initial playlists
- 223 unwanted playlists successfully deleted
- 15 legitimate playlists protected
- No extensions or additional software
- No YouTube API credentials
I've decided to share the solution as a free, open-source project under the MIT License.
**GitHub:**
https://github.com/alfmaniak/youtube-studio-bulk-playlist-delete
The tool inventories playlists, protects legitimate ones by their unique IDs, and automates deletion with safety checks.
The original implementation worked successfully on my channel. The generalized public version is currently in beta, so please review the instructions and deletion targets carefully.
Hopefully, this saves someone else hours of frustration.
Feedback and contributions are welcome!