# YouTube Transcript to Text — Bulk, Any Language

**Use case:** 

Paste YouTube video, playlist or channel links and get the full transcript as clean text, with timestamps. Works in any language, including Arabic. Uses manual captions first and auto captions as a fallback, and can translate a missing language. Videos with no captions are never charged.

## Input

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "https://www.youtube.com/watch?v=4i7c8g5lA5U"
  ],
  "preferredLanguages": [
    "ar",
    "en"
  ],
  "allowAutoGenerated": true,
  "allowTranslation": true,
  "fallbackToAnyLanguage": true,
  "outputFormat": "segments",
  "includeChapters": true,
  "includeChapterText": false,
  "maxVideos": 100,
  "maxVideosPerList": 50,
  "autoProxyFallback": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "requestDelayMs": 300
}
```

## Output

```json
{
  "status": {
    "label": "Status"
  },
  "title": {
    "label": "Title"
  },
  "channel": {
    "label": "Channel"
  },
  "language": {
    "label": "Language"
  },
  "isAutoGenerated": {
    "label": "Auto",
    "format": "boolean"
  },
  "isTranslated": {
    "label": "Translated",
    "format": "boolean"
  },
  "wordCount": {
    "label": "Words",
    "format": "number"
  },
  "durationSec": {
    "label": "Seconds",
    "format": "number"
  },
  "text": {
    "label": "Text"
  },
  "url": {
    "label": "Link",
    "format": "link"
  }
}
```

## How it works

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

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

### 2. Start the "YouTube Transcript to Text — Bulk, Any Language" task

The YouTube Transcript & Subtitles Scraper — Any Language, SRT Actor will start running based on the input automatically. You can also change all the input fields, like videos, playlists or channels, preferred languages, in order, and more, to match your specific use case.

### 3. Receive the "YouTube Transcript to Text — Bulk, Any Language" 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 status, title, channel, 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 "YouTube Transcript to Text — Bulk, Any Language" task via API](https://apify.com/dottti/youtube-transcripts-reliable.md).

## FAQ

### What outputs does the YouTube Transcript to Text task provide for each video?

The YouTube Transcript to Text task provides the status, title, channel, language, word count, duration, and the full transcript text.

### How does the task determine the transcript language for videos?

The task uses the first available language from the user's preferred languages list and defaults to English if none are specified.

### What happens if a YouTube video does not have captions?

Videos without captions are marked as \`no_captions\`, and they do not incur any charges.

### Can this task process an entire YouTube channel or playlist?

Yes, the task can take a playlist or channel link and expand it to process the videos, limited by user-defined caps.

### What formats can the transcript output be in?

The task supports output formats including segments, plain text, SRT subtitles, or combined formats.

### Does the task automatically translate transcripts if the preferred language is unavailable?

Yes, when the translation option is on. The task asks YouTube for a machine translation into your first language. YouTube refuses some requests. Then the task returns the original language if fallback is on.

### What specific status codes can the task return for each video?

The task can return the status codes \`ok\`, \`no_captions\`, \`blocked\`, or \`unavailable\`.

## About this Actor

This example demonstrates how to use [YouTube Transcript & Subtitles Scraper — Any Language, SRT](https://apify.com/dottti/youtube-transcripts-reliable.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dottti/youtube-transcripts-reliable.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/dottti/youtube-transcripts-reliable.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`).
