Get YouTube Subscriptions RSS Feed From an OPML File
I’ve found that my YouTube homepage is often filled with recommended videos rather than the latest uploads from channels I’m actually subscribed to. This makes it easy to miss out on new content from creators I want to follow.
Today I learned a simple way to solve this: using RSS feeds. While YouTube no longer provides a native feature to export subscriptions, you can use a community-built tool to generate an OPML
file, which is a standard format for sharing subscription lists between RSS readers.
How to Generate the OPML File
We will use the script provided by YouTube-Subscriptions-RSS. The process involves running a small piece of JavaScript on your subscriptions page.
- Navigate to your YouTube subscriptions page. You must be logged in.
- Open the JavaScript console in your browser.
- Copy the JavaScript code from the YouTube-Subscriptions-RSS repository and paste it into the console, then press Enter. Alternatively, you can create a bookmarklet for easier reuse.
- The script will run and automatically trigger the download of an OPML file.
Import into Your RSS Reader
The downloaded OPML file contains the name and the RSS feed URL for every channel you are subscribed to. You can directly import this file into most modern RSS readers (I like Miniflux). The reader will automatically parse the file and add all the channels to your feed list.
This way, I can get chronological updates from all my subscriptions in one place, putting me back in control of my own feed.