# YouTube Transcript Translator - Subtitles to Any Language

**Use case:** 

Get a YouTube video's transcript and translate it into another language with the timing kept, so the translated subtitles stay in sync with the video. Returns the original transcript, timed segments and SRT, plus the translated transcript, segments and SRT. No API key, no browser. This example translates an English video into Spanish; set any other target language.

## Input

```json
{
  "videoUrls": [
    "https://www.youtube.com/watch?v=OrElyY7MFVs"
  ],
  "playlistUrls": [],
  "channelUrls": [],
  "keywords": [],
  "maxVideosPerSource": 10,
  "languages": [
    "en"
  ],
  "includeSegments": true,
  "subtitleFormats": [
    "srt"
  ],
  "translateTo": "es",
  "skipShorts": false,
  "includeVideoDetails": true,
  "exactCommentCount": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "concurrency": 8
}
```

## Output

```json
{
  "title": {
    "label": "Title"
  },
  "channel": {
    "label": "Channel"
  },
  "transcript_status": {
    "label": "Transcript status"
  },
  "transcript_language": {
    "label": "Transcript language"
  },
  "transcript_chars": {
    "label": "Transcript chars"
  },
  "transcript": {
    "label": "Transcript"
  },
  "url": {
    "label": "Url"
  },
  "video_id": {
    "label": "Video id"
  }
}
```

## How it works

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

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

### 2. Start the "YouTube Transcript Translator - Subtitles to Any Language" task

The YouTube Transcript API & Translator - SRT Subtitles Actor will start running based on the input automatically. You can also change all the input fields, like video urls, playlists, and more, to match your specific use case.

### 3. Receive the "YouTube Transcript Translator - Subtitles to 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 title, channel, transcript status, 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 Translator - Subtitles to Any Language" task via API](https://apify.com/reportable_broth/youtube-transcript-scraper.md).

## About this Actor

This example demonstrates how to use [YouTube Transcript API & Translator - SRT Subtitles](https://apify.com/reportable_broth/youtube-transcript-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/reportable_broth/youtube-transcript-scraper.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/reportable_broth/youtube-transcript-scraper.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`).
