Home / Use cases / Download a YouTube Transcript as SRT or VTT Subtitles

Updated

Download a YouTube Transcript as SRT or VTT Subtitles

Video editors, translators and accessibility teams need the captions of a video as a subtitle file with timings (SRT for most editors, VTT for the web), not as loose text.

Try it now on Apify YouTube Transcript for AI: RAG Chunks, Chapters, SRT · $0.002 per one video whose transcript was returned · failed items are free

How to do it, step by step

  1. Paste the video URL in Videos.
  2. Turn on Include SRT and/or Include VTT.
  3. Pick the caption language in Preferred languages (for example en, es); fallback to another language is on by default.
  4. Run, then save the srt or vtt field as a .srt / .vtt file.

The exact input used for the example below:

{
  "videos": [
    "https://www.youtube.com/watch?v=jNQXAC9IVRw"
  ],
  "includeSrt": true,
  "includeVtt": true,
  "includeChunks": false,
  "includeSegments": false
}

Real result

Run MJfveFx8XcDQFzsJg on 2026-12-05: status SUCCEEDED, 1 item(s), 3.9 s of run time. Output shortened for reading (long text cut with “…”).

The 19-second test video returned an SRT with 6 cues and the matching VTT, both from the manual English captions. Timings are the caption timings published on YouTube, not re-aligned.

[
  {
    "videoId": "jNQXAC9IVRw",
    "title": "Me at the zoo",
    "language": "en",
    "captionType": "manual",
    "srt": "1\n00:00:01,200 --> 00:00:03,360\nAll right, so here we are, in front of the elephants\n\n2\n00:00:05,318 --> 00:00:07,974\nthe cool thing about these guys is that they have really...\n\n3\n00:00:07,974 --> 00:00:12,616\nreally really long trunks\n\n4\n00:00:12,616 --> 00:00:14,367\nand that's cool\n\n5\n00:00:14,421 --> 00:00:15,733\n(baaaaaaaaa…",
    "vtt": "WEBVTT\n\n00:00:01.200 --> 00:00:03.360\nAll right, so here we are, in front of the elephants\n\n00:00:05.318 --> 00:00:07.974\nthe cool thing about these guys is that they have really...\n\n00:00:07.974 --> 00:00:12.616\nreally really long trunks\n\n00:00:12.616 --> 00:00:14.367\nand that's cool\n\n00:00:14.421 --> 00:00:15.733\n(baaaaaaaaaaa…"
  }
]

Try it now with your own input

FAQ

Is SRT or VTT better?

SRT is accepted by almost every desktop editor (Premiere, DaVinci Resolve, CapCut). VTT is the web standard for the HTML video element and supports styling.

Can I get subtitles in another language?

Yes, when the video has captions in that language (manual or automatic). The item lists availableLanguages so you can see what exists.

Does it translate subtitles?

No. It returns the captions that exist on YouTube; translate the SRT with your own tool if needed.

Related