# Download YouTube subtitles as SRT

**Use case:** 

Download a video's captions as a ready-to-use SRT subtitle file plus timestamped segments, in your preferred language with fallback to the spoken one. Paste any video, Short or video ID.

## Input

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=t4wsYSDeZC4",
    "https://www.youtube.com/watch?v=aircAruvnKk"
  ],
  "maxVideosPerSource": 25,
  "channelContent": "videos",
  "languages": [
    "en"
  ],
  "fallbackToOriginalLanguage": true,
  "preferManualCaptions": true,
  "allLanguages": false,
  "maxLanguages": 30,
  "includeSegments": true,
  "subtitleFormat": "srt",
  "includeDescription": true,
  "includeChapters": true,
  "includeMostReplayed": false,
  "chunkWords": 0,
  "onlyNew": false,
  "maxVideos": 0,
  "dryRun": false
}
```

## Output

```json
{
  "url": {
    "label": "Url",
    "format": "string"
  },
  "language": {
    "label": "Language",
    "format": "string"
  },
  "srt": {
    "label": "Srt",
    "format": "string"
  },
  "vtt": {
    "label": "Vtt",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The YouTube Transcript, Subtitles & Captions Scraper Actor is ready to run with the inputs already set for "Download YouTube subtitles as SRT". [Sign up or log in](https://console.apify.com/create-task-from-example/aZGXYUd8mB5biTHsd) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Download YouTube subtitles as SRT" task

The YouTube Transcript, Subtitles & Captions Scraper Actor will start running based on the input automatically. You can also change all the input fields, like videos, shorts, channels or playlists, max videos per channel / playlist / search, and more, to match your specific use case.

### 3. Receive the "Download YouTube subtitles as SRT" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as url, language, srt, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Download YouTube subtitles as SRT" task via API](https://apify.com/verbatim-labs/youtube-transcript.md).

## FAQ

### Am I charged for videos without captions?

Videos with no captions, private or deleted videos come back from the SRT subtitle task as free rows with a status and errorCode. Only rows with status ok are billed.

### What does each row contain?

Each row has the video title, channel, publish date, language, caption type, word count and the full transcript text, plus optional timestamped segments, chapters and SRT/VTT.

### Can I get VTT instead of SRT?

Set subtitleFormat to vtt, or both, and the SRT subtitle task returns WebVTT as well. Segments with start and end times come back too, for custom caption formats.

### Can I use the transcripts with an AI agent or n8n?

The SRT subtitle task works over the Apify API, MCP, Make, n8n and Zapier. Every row has stable status and errorCode fields, so a workflow can branch without parsing error text.

## About this Actor

This example demonstrates how to use [YouTube Transcript, Subtitles & Captions Scraper](https://apify.com/verbatim-labs/youtube-transcript.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/verbatim-labs/youtube-transcript.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/verbatim-labs/youtube-transcript.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
