How to Download YouTube Captions: SRT, VTT, and TXT Files Explained
YouTube stores two kinds of text alongside every video: the caption files creators upload and the auto-generated subtitles YouTube produces from speech. Whether you need a timed SRT for a video editor, a raw TXT for analysis, or a machine-readable VTT, the download path depends on which type you have and who owns the video. This guide walks through every reliable method.
Auto-Generated vs. Uploaded Captions: What's the Difference?
Short answer: Auto-generated captions are created by YouTube's speech recognition and are available on most videos within hours of upload. Uploaded captions are manually created (or edited) SRT/VTT files that a creator or professional captioner added to the video. Uploaded captions tend to be more accurate and may include multiple languages; auto-generated captions exist only in the video's primary language and are sometimes wrong on proper nouns, technical terms, and accented speech.
Why does this matter for downloading? When you pull a caption file from YouTube, you're either getting the human-curated version (if one exists) or the auto-generated fallback. The download methods below can target either track — but you should know which one you're working with before you rely on the output.
Method 1: YouTube Studio (Your Own Videos Only)
Short answer: YouTube Studio is the only official path for downloading your own video's caption file as a formatted SRT or VTT. It does not work on other creators' videos.
If you're a creator who wants the caption file for a video on your own channel:
- Go to studio.youtube.com and sign in.
- Click Subtitles in the left sidebar.
- Select the video you want.
- Next to the language track you want, click the three-dot menu (⋮).
- Select Download and choose your format: .srt, .vtt, or .sbv.
That's it. YouTube Studio gives you a clean, timestamped file — whichever track is listed (auto-generated or manual). If you uploaded a corrected SRT previously, you'll get that corrected version back. If only the auto-generated track exists, you'll get that.
Limitation: This only works for videos on channels you own or manage. For any other video, you need one of the methods below.
Method 2: yt-dlp (Command Line, Any Public Video)
Short answer: yt-dlp with --write-subs or --write-auto-subs downloads caption files from any public YouTube video in SRT, VTT, or JSON3 format. It's the most flexible free option.
yt-dlp is an open-source command-line tool. Once installed (pip install yt-dlp or via your package manager), the relevant flags are:
Download manually uploaded subtitles (if available):
yt-dlp --write-subs --skip-download --sub-langs en "https://www.youtube.com/watch?v=VIDEO_ID"
Download auto-generated subtitles (always available on most videos):
yt-dlp --write-auto-subs --skip-download --sub-langs en "https://www.youtube.com/watch?v=VIDEO_ID"
Download both and convert to SRT format:
yt-dlp --write-subs --write-auto-subs --convert-subs srt --skip-download --sub-langs en "https://www.youtube.com/watch?v=VIDEO_ID"
Download all available subtitle languages:
yt-dlp --write-auto-subs --sub-langs all --skip-download "https://www.youtube.com/watch?v=VIDEO_ID"
By default, yt-dlp outputs VTT files. The --convert-subs srt flag converts them to SRT on the fly. Output files are saved to your current directory named after the video title.
For a deeper dive into every yt-dlp subtitle flag and format option, see the complete yt-dlp subtitles guide.
Method 3: youtube-transcript-api (Python, Programmatic Access)
Short answer: youtube-transcript-api is a Python library that returns timestamped transcript data as a Python list — no video download required. It's the fastest option if you want to process captions in code.
Install it:
pip install youtube-transcript-api
Basic usage:
from youtube_transcript_api import YouTubeTranscriptApi
ytt_api = YouTubeTranscriptApi()
fetched = ytt_api.fetch("VIDEO_ID")
for snippet in fetched:
print(f"{snippet.start:.1f}s: {snippet.text}")
Each snippet has three attributes: start (seconds), duration (seconds), and text (the caption line). You can reassemble this into SRT manually or use the built-in formatters:
from youtube_transcript_api import YouTubeTranscriptApi
from youtube_transcript_api.formatters import SRTFormatter, WebVTTFormatter
ytt_api = YouTubeTranscriptApi()
fetched = ytt_api.fetch("VIDEO_ID")
# Save as SRT
with open("captions.srt", "w") as f:
f.write(SRTFormatter().format_transcript(fetched))
# Save as VTT
with open("captions.vtt", "w") as f:
f.write(WebVTTFormatter().format_transcript(fetched))
This library fetches captions from YouTube's internal API without requiring authentication for public videos. It will return auto-generated captions if no manual track exists. For a full tutorial including multi-language support and error handling, see the youtube-transcript-api guide.
Method 4: Third-Party Web Tools
Short answer: Browser-based tools like Downsub, SaveSubs, and similar sites let you paste a YouTube URL and download a caption file without installing anything — useful for a one-off export but not suitable for automation or bulk work.
Several sites wrap the same underlying YouTube caption API:
- Downsub.com — Paste the video URL, select a language, download SRT or TXT.
- SaveSubs.com — Similar workflow, supports multiple languages and formats.
- YouTube's own "..." menu — On some videos (not all), the three-dot menu under the video offers a "Show transcript" option that lets you copy text, though not download a formatted file.
These tools work for occasional use. They do not expose format control beyond basic SRT/TXT, and they can break when YouTube changes its internal API. For any kind of reliable or repeated use, yt-dlp or youtube-transcript-api are better choices.
SRT vs. VTT vs. TXT: Which Format Should You Use?
Short answer: SRT is the most universally compatible caption format for video editors and players. VTT is the web standard used in HTML5 video. Plain TXT strips all timing and is useful when you want only the words.
| Format | Timestamps | Styling | Best For |
|---|---|---|---|
| SRT | Yes (HH:MM:SS,ms) | None | Video editors (Premiere, DaVinci), most media players, subtitle burners |
| VTT | Yes (HH:MM:SS.ms) | Basic CSS | HTML5 video players, web-based players, browser-native subtitle rendering |
| TXT | No | None | Text analysis, search indexing, feeding into an LLM, quick reading |
| JSON3 | Yes (ms) | Full | Machine processing, custom parsers (yt-dlp's native format before conversion) |
The difference between SRT and VTT is mostly punctuation: SRT uses a comma before milliseconds (00:01:23,456), VTT uses a period (00:01:23.456). Most tools that accept one will accept the other after a one-character find-and-replace. If you're not sure which you need, download SRT — it's the safe default.
When You Want Meaning, Not Just a Caption File
Short answer: Raw caption files give you the words and timestamps. If what you actually need is to understand what the video is about — the key points, a summary you can act on, or the ability to ask questions about the content — a caption file is the starting point, not the destination.
This is the gap that SkipTheWatch fills.
Instead of handing you a 10,000-word SRT file to parse yourself, SkipTheWatch reads any public YouTube video and returns:
- A structured AI summary with key takeaways
- Timestamped highlights you can click back to
- A chat interface so you can ask questions about the video content directly — "What did they say about pricing?" or "Summarize the part about onboarding"
No extension to install, no command line, no file management. Paste the URL, get the meaning.
If you're monitoring a creator, podcast, or channel regularly, SkipTheWatch also lets you follow channels and get notified when new content drops — so you catch what matters without watching every video. That's a different job than downloading a caption file, but if that's actually the job you're trying to do, it's worth knowing the option exists.
SkipTheWatch costs $9/month after a 7-day free trial. Cancel anytime in the trial for $0. A card is required at sign-up.
Putting It Together: Which Method to Use
- Own video, need the file for video editing → YouTube Studio download
- Someone else's video, one-off export → Third-party tool (Downsub, SaveSubs)
- Any video, need automation or format control → yt-dlp with
--write-auto-subs - Building something in Python → youtube-transcript-api
- You want to understand the video, not just get the text → SkipTheWatch
For working with transcript text once you have it — adding timestamps, aligning with a video, using it in a research workflow — see how to use YouTube transcripts with timestamps and the general guide to getting YouTube transcripts.
Frequently Asked Questions
Can I download captions from any YouTube video, or only my own? You can download captions from any public video using yt-dlp or youtube-transcript-api — these tools access YouTube's public caption data the same way your browser does when you turn on subtitles. YouTube Studio is the only tool limited to your own videos, and it's also the only official method that gives you clean SRT/VTT file exports through YouTube's own interface.
What's the difference between subtitles and captions on YouTube? On YouTube, the terms are used interchangeably in the UI. Technically, captions include sound descriptions for accessibility (e.g., "[music]", "[applause]"), while subtitles are purely dialogue. In practice, YouTube's auto-generated tracks and most downloaded files contain both, and the file formats (SRT, VTT) are identical regardless of which label YouTube applies.
Why does yt-dlp output VTT files instead of SRT?
VTT is YouTube's native format for caption delivery. yt-dlp downloads whatever YouTube serves, which is VTT. Adding --convert-subs srt to your command converts the output automatically. If you forget the flag, you can convert VTT to SRT manually — the only difference is a comma vs. period before milliseconds in the timestamp.
Can I download captions in languages other than English?
Yes. If a video has multiple caption tracks (auto-generated or manually uploaded), you can target any of them. With yt-dlp, use --sub-langs LANG_CODE (e.g., --sub-langs es for Spanish) or --sub-langs all to download every available track. With youtube-transcript-api, pass the language code as the second argument: get_transcript("VIDEO_ID", languages=["es"]).
What if a video has no captions at all? Very few public videos have zero caption data — YouTube generates auto-captions for most English-language videos with audible speech. If a video genuinely has no captions (live streams, some older videos, videos with music only), yt-dlp and youtube-transcript-api will return an error rather than an empty file. In that case, there is no caption file to download; you would need to generate your own using a transcription tool like Whisper.