TidyData Tools

How to get the transcript of a YouTube video

YouTube shows the transcript of most videos, but copying it by hand is slow and impossible for a whole channel. Here are the options, from one video to thousands.

1. One video, by hand

  1. Open the video on a computer and click …more under the title.
  2. Scroll down and click Show transcript.
  3. Use the ⋮ menu of the transcript panel to hide timestamps, then select and copy the text.

2. In Python (your own computer)

Libraries such as youtube-transcript-api read captions directly. They work on a laptop, but servers and cloud functions usually get "Sign in to confirm you're not a bot".

3. Many videos, playlists, channels or searches

The YouTube Transcript Scraper takes video links, playlists, @channels or search terms and returns clean text, timed segments, SRT/VTT subtitles and chapters for every video — $2 per 1,000 transcripts, videos without captions free. Code examples: github.com/tidydata-dev/youtube-transcript-scraper.

How it works

More YouTube data: comments and replies ($0.25 per 1,000) and channels, videos, Shorts and search results with exact views and likes.

FAQ

Can I download the transcript as SRT subtitles?

Yes: the YouTube Transcript Scraper returns SRT and WebVTT for every video.

Can I get transcripts in another language?

You get the caption languages the video really has (manual or auto-generated). YouTube no longer serves its machine translations to tools.

How do I get all transcripts of a channel?

Paste the channel link or @handle in the YouTube Transcript Scraper and set how many videos to take (newest first).

More free data tools →