Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

YouTube likes to periodically delete videos that are on my favorites list:

warning about deleted videos

But they refuse to tell me what they were so I can go find another copy.

I would like a way to export my YouTube playlists, so that I can periodically diff them, and manually find other copies of the deleted songs.

How can I export my playlists (or a playlist) from YouTube?

share|improve this question

migrated from superuser.com Jun 2 '12 at 14:37

This question came from our site for computer enthusiasts and power users.

For some reason viewing the playlist on an Android phone will still yield the names of the videos that were deleted! – sinni800 May 28 '12 at 22:29
up vote 13 down vote accepted

As far as I am aware, there's no built in way to do this on Youtube.

You could of course use the Youtube API to easily get all of your playlists in xml using the following:


Example: https://gdata.youtube.com/feeds/api/users/oisinorion/playlists?v=2

That xml file will have the unique IDs for each of your playlists, which you can then use to get the details for each playlist, including Video URLs and titles. The following API call will again give you an xml file:


Example: https://gdata.youtube.com/feeds/api/playlists/D5F03C2BE1AA3E7E?v=2

Working with those XML files manually would be a nightmare however. It would be best to create a small web app (if you know a bit of web programming) to pull out and present the relevant info from those XML files.

You can read more about the API here: https://developers.google.com/youtube/2.0/developers_guide_protocol_playlists

share|improve this answer
It seems that only the first 25 items are returned by default. You can add max-results=x to the URL, but x > 50 is rejected. Add start-index=... for paging the results. – lunakid Aug 15 '14 at 18:06

This is not the most elegant way to accomplish what you ask, but here's a manual method that I just used to do it. Because I'm using Powershell for part of this, I'm assuming you're on a Windows machine.


  1. Go to Google Takeout
  2. On the Download Your Data page, deselect everything except for Youtube
  3. Expand Youtube and select "Select specific data" under "YouTube data", then click the "YouTube data" button and select only "Playlists", then change the "Subscriptions" dropdown to "JSON", then click Next
  4. Download your Takeout data when it's ready and unzip it to wherever
  5. Open a Powershell session and execute the below statements

Assuming your playlist is Favorites, you'll get a Favorites.json. Let's say I want just the title of each video in the playlist and a link to it, in a text file called YoutubeFavorites.txt:

$json = ConvertFrom-Json (Get-Content .\Favorites.json -Raw)
foreach ($vid in $json) { "$($vid.snippet.Title) - Link: https://www.youtube.com/watch?v=$($vid.contentDetails.videoId)" | Out-File -FilePath .\YoutubeFavorites.txt -Append }

Voila, enjoy.

share|improve this answer

How about we make this more easy..

Go to: http://www.williamsportwebdeveloper.com/FavBackUp.aspx

Put in the playlist-url you want to create in excel-format, that's all :)

Here's a preview how it looks like. Have exported my short-film playlist which is located sorry not enough credits to post 2 links enter image description here

The creator: 'All my web application does is use the YouTube developer’s API to get the feed data. You could do the same yourself but it would be in a complicated XML format and not very readable. I think most people would rather have it in an Excel spreadsheet. If you do not have Microsoft Office then you can download Open Office for free.'

share|improve this answer
That works for all playlists except favourites and liked. – tobylane Oct 10 '15 at 8:43

In light of deprecation of v2, the current answer is no longer works. v3 is the new version.

The documentation link - https://developers.google.com/youtube/v3/docs/playlistItems/list

This limits to only 50 results. Fill in the following

Example link - https://www.googleapis.com/youtube/v3/playlistItems?part=contentDetails&maxResults=50&pageToken=NNNNN&playlistId=PLXxxx=key=yyyy

share|improve this answer

What I did was go to my playlist and right clicked on the name of my playlist then selected "email with Windows Live". It sends a link to your email and when you click the link you have your entire playlist.

share|improve this answer

Why don't you just open the playlist and copy/paste it to Excel, Word, or whatever? It's not exactly elegant, but the information is there as a backup.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.