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

I would like download all my YouTube history in various formats like CSV. I don't think YouTube allows to do that directly so I've tried to check each Ajax call on this page https://www.youtube.com/feed/history, but it seems very difficult to get it automatically. Any ideas?

By the way, I am also having the same problem with my Google search history. Is anyone able to provide a good solution to this?

share|improve this question

Google provides a way to download your uploaded videos with their "Take Out" archive tool. Link here

It is possible with the Youtube API but requires an authenticated GET request. Here is more information on how to write one.

share|improve this answer
Google's own docs are kind of sparse, but this page lists which products Takeout supports. Unfortunately, the search history is not one of them. – phantom42 Apr 2 '13 at 17:27
After trying this myself. Phantom42 statement is correct. The search history is not downloaded in Takeout. It does allow you to download all your original uploaded videos. – designerWhoCodes Apr 3 '13 at 17:31
I updated the answer to reflect this new information. I did find a way but it requires coding a GET request. – designerWhoCodes Apr 3 '13 at 19:34

An enterprising fellow made a Python script to do this using Scrapy. It can output results as JSON or write to a SQLite database.

share|improve this answer

A basic solution is to Save-As the page as a text file. This is pretty messy, but you get the data. You can clean it up in Excel, Notepad++ or some other text editor. If you are doing it once this might be a workaround.

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.