How to Get YouTube Transcripts in 2026: 5 Ways Compared
Transcripts turn YouTube into text you can search, summarize, translate or feed to an LLM. There are five practical ways to get them, from a free button in YouTube to fully automated bulk exports of entire channels. Here's how they compare.
TL;DR
| Method | Cost | Bulk | Formats | Works from servers? | Best for |
|---|---|---|---|---|---|
| 1. "Show transcript" in YouTube | Free | No | Copy-paste text | n/a | One video |
2. youtube-transcript-api (Python) | Free | Yes (your code) | Text, timestamps | Often blocked on cloud IPs | Developers, local scripts |
3. yt-dlp | Free | Yes (CLI) | VTT/SRT files | Sometimes blocked | Power users |
| 4. YouTube Data API | Free quota | Only your own videos | SRT/VTT | Yes | Channel owners |
| 5. Hosted transcript scrapers (Apify) | ~$1-5 per 1,000 videos | Yes, whole channels | Text, SRT, VTT, JSON | Yes | Bulk, no maintenance, AI pipelines |
1. YouTube's built-in "Show transcript"
Open the video, click ...more under the title, then Show transcript. You can toggle timestamps and copy the text.
- Pros: free and instant.
- Cons: one video at a time, manual copy, no file formats.
2. youtube-transcript-api (Python)
The popular open-source Python library fetches transcripts by video ID:
from youtube_transcript_api import YouTubeTranscriptApi transcript = YouTubeTranscriptApi().fetch("dQw4w9WgXcQ", languages=["en"]) print(" ".join(s.text for s in transcript)) - Pros: free, simple, scriptable.
- Cons: YouTube often blocks requests from cloud providers (AWS, GCP, Azure), so scripts that work on your laptop can fail on a server unless you add proxies. You also write the channel/playlist expansion yourself.
3. yt-dlp
The well-known downloader can save subtitles without the video:
yt-dlp --skip-download --write-auto-subs --sub-langs en --sub-format vtt "https://www.youtube.com/@TED/videos" - Pros: free, handles channels and playlists, writes VTT/SRT files.
- Cons: you get subtitle files to clean up yourself, and heavy use can trigger "sign in to confirm you're not a bot".
4. YouTube Data API (captions)
The official API can download caption tracks, but only for videos you own (it requires edit permission on the video).
- Pros: official and stable.
- Cons: useless for other people's videos.
5. Hosted transcript scrapers
Several tools on the Apify Store fetch transcripts in bulk with no code, priced per video. Prices range from about $1 to $5 per 1,000 videos, so compare features rather than price alone:
- Can it expand whole channels and playlists, or only single videos?
- Can you choose the language and get SRT/VTT files?
- Does it handle YouTube's bot checks (retrying through other IPs) so bulk runs don't fail halfway?
- Does it report per-video errors (no captions, private video) instead of failing the run?
Disclosure: I built one of these, the YouTube Transcript Scraper. It takes videos, Shorts, playlists or entire channels, lets you pick the language, returns plain text, timestamped segments, SRT and VTT, and retries through residential IPs when YouTube asks for a bot check. It costs $4 per 1,000 transcripts on paid Apify plans, which is not the cheapest; some simpler tools charge around $1 per 1,000 for single videos.
{ "startUrls": ["https://www.youtube.com/@TED"], "maxVideosPerSource": 200, "language": "en", "includeSrt": true } Which one should you use?
- One video: the built-in transcript button.
- A few hundred videos from your laptop:
youtube-transcript-apioryt-dlp. - Your own channel: the YouTube Data API.
- Whole channels, servers, scheduled jobs or AI pipelines: a hosted scraper, so you don't maintain proxies and bot-check handling.
FAQ
Can I get transcripts for videos without captions?
Only if YouTube generated automatic captions. If a video has none, you need speech-to-text (for example Whisper) on the audio.
Can I translate transcripts?
YouTube can auto-translate caption tracks, but it heavily rate-limits translation requests. For bulk work, fetch the original language and translate with an LLM or translation API.
Is it allowed?
Transcripts of public videos are publicly visible, but they're the creators' content: use them for research, accessibility, summaries and analysis, and respect copyright when republishing.
Disclosure: I'm the author of one of the hosted tools mentioned. Prices of other tools are approximate and may change.