# Download YouTube Transcripts and Subtitles

**Use case:** 

Get full YouTube transcripts in SRT, VTT, XML or plain text, with auto-caption fallback — repurpose videos into articles or feed them to an LLM.

## Input

```json
{
  "searchType": "transcript",
  "startUrls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  ],
  "searchQueries": [],
  "youtubeHandles": [],
  "maxItems": 0,
  "sort": "relevance",
  "uploadDate": "all",
  "videoDuration": "all",
  "videoType": "all",
  "features": [],
  "maxResults": 30,
  "maxResultsShorts": 0,
  "maxResultStreams": 0,
  "includePlaylists": false,
  "oldestPostDate": "",
  "maxComments": 100,
  "commentsSort": "top",
  "includeReplies": true,
  "downloadSubtitles": false,
  "subtitlesLanguage": "en",
  "subtitlesFormat": "plaintext",
  "preferAutoGeneratedSubtitles": true,
  "saveSubsToKVS": false,
  "gl": "US",
  "hl": "en",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "customProxyUrl": "",
  "maxRetries": 5
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "array"
  },
  "videoUrl": {
    "label": "Video url",
    "format": "array"
  },
  "language": {
    "label": "Language",
    "format": "array"
  },
  "isAutoGenerated": {
    "label": "Is auto generated",
    "format": "array"
  },
  "transcriptText": {
    "label": "Transcript text",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [YouTube Scraper API — Videos, Transcripts, Comments & Channels](https://apify.com/pro100chok/youtube-scraper-all-in-one) with a specific input configuration. Visit the [Actor detail page](https://apify.com/pro100chok/youtube-scraper-all-in-one) to learn more, explore other use cases, and run it yourself.