youtube-translate

Translate YouTube subtitles and local media captions into multiple languages as SRT files.

38|4|Updated Nov 5, 2026
Ready to run
npx skills add https://github.com/0xSero/youtube-translate-skill --skill youtube-translate-0xsero
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: youtube-translate
Source: https://github.com/0xSero/youtube-translate-skill
Command: npx skills add https://github.com/0xSero/youtube-translate-skill --skill youtube-translate-0xsero

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yt-dlp, and includes scripts (resource) and references (resource) components.

What problem does it solve? You have YouTube videos or local media with captions in one language, but your audience speaks multiple languages. Manually translating and timing subtitles is prohibitively time-consuming. This Skill automates the entire pipeline: ingest captions from YouTube or local files, translate them into your target languages, and produce broadcast-ready SRT files ready to upload. ## Core Features & Use Cases - Multi-language translation: Translate into 6+ languages simultaneously (default: English, Ukrainian, German, French, Spanish, Polish). - Dual-mode operation: Use an OpenAI-compatible endpoint for fast batch translation, or have the calling model translate without an endpoint (agent mode). - Multiple input formats: Accept YouTube videos, channels, playlists, or local .srt, .vtt, .json3 subtitle files and media files (.mp4, .mkv, .mov, .webm, .mp3, .m4a, .wav). - Accuracy QA: Run structural checks on every translation (cue counts, timing, language detection) and optional GEMBA-MQM scoring to grade translation quality by error category and severity. - Use Case: You publish a 20-minute tech tutorial on YouTube in English with auto-generated captions. Run this Skill to produce Ukrainian, German, French, Spanish, and Polish subtitle files in under 5 minutes, then upload each to YouTube Studio. ## Quick Start Prepare your YouTube video for translation by running the prepare command to extract captions, then translate each work item yourself in agent mode, and finally assemble the translated SRT files.

Frequently Asked Questions about youtube-translate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate YouTube video captions into multiple languages?▼

Use the run command with a YouTube video URL and specify target languages via --langs. The Skill extracts captions using yt-dlp, translates each language chunk through your endpoint, and writes aligned SRT files ready for YouTube upload.

Can I translate without an OpenAI-compatible endpoint?▼

Yes. Use agent mode: run prepare to extract and write translation work items, have your model translate each item into .out.json files, then run assemble to validate and generate the final SRT files. No API key required.

Does this work with local video files and subtitles?▼

Yes. Pass local folders or file paths instead of YouTube URLs. The Skill accepts .srt, .vtt, .json3 subtitle files and media (.mp4, .mkv, .mov, .webm, .mp3, .m4a, .wav). If media has no sidecar subtitle, it transcribes using faster-whisper, mlx_whisper, or whisper if installed.

How does accuracy QA work for translations?▼

Structural checks validate every language: cue count parity, timing alignment, empty lines, script detection (Russian leak in Ukrainian), and length ratios. Optional GEMBA-MQM judge grades individual lines by error category (accuracy/mistranslation, omission, terminology, fluency) and severity (critical/major/minor).

What happens if a YouTube video has no captions?▼

Videos marked no-captions are skipped and logged. The rest of the run continues. If captions are disabled or music-only, the item is reported as no-captions status.

Can I translate dubbed videos or videos with multiple audio tracks?▼

Dubbed videos expose multiple *-orig ASR tracks. The Skill selects only the declared-language original track; other dubbed *-orig variants are skipped to ensure you translate the true original, not a dubbed audio.