subtitle-translator
Translate a whole season of subtitles in one pass — .srt/.ass/.vtt/.lrc, 120+ languages, 27 LLM providers, timing untouched | 整季字幕一次译完,时轴不动,支持
What is subtitle-translator?
Translate a whole season of subtitles in one pass — .srt/.ass/.vtt/.lrc, 120+ languages, 27 LLM providers, timing untouched | 整季字幕一次译完,时轴不动,支持 120+ 语言
Overview of subtitle-translator
What it is
Subtitle Translator is a free, browser-based batch subtitle translation tool for .srt, .ass, .vtt, and .lrc files. It strips timing information locally and sends only dialogue text to the translation engine, preventing timecode corruption. It supports batch uploading a whole season at once, connecting to 8 traditional translation APIs and 27 LLM providers and gateways, and translating into 120+ languages. Everything runs locally in the browser; subtitle content and API keys never touch a server. A CLI drives the same engine headlessly.
Key features
- Real-Time Translation: Chunked compression and parallel processing achieve approximately 1 second per episode (GTX is slightly slower).
- Batch Processing: Drop hundreds of subtitle files at once; each file translates and downloads independently with its original filename, and an aggregated success/failure summary is shown.
- Multi-Language Output: Translate into multiple target languages in a single pass; each language is exported as its own file with the language code appended.
- Format Compatibility: Auto-detects .srt, .ass, .vtt, and .lrc. WebVTT NOTE/STYLE/REGION non-cue blocks are correctly skipped. One-click format conversion (SRT ↔ VTT, SRT/VTT → ASS) during translation.
- Bilingual Output: Insert the translation above or below the original; alignment preserved across formats. For SRT/VTT sources, ASS can be exported with separate styles for original and translation.
- Context-Aware Translation (LLM only): Sends surrounding lines as context for more coherent dialogue and consistent character voice.
- Private by Design: Fully client-side — subtitle content and API keys stay in the browser; LLM requests go directly from the browser to the configured API endpoint.
Use cases
Batch translating a whole season of subtitles for TV series or anime. Translating subtitles for movies, lectures, or music lyrics. Converting subtitle formats while translating. Extracting clean dialogue text for AI summarization or content repurposing. Using a CLI for headless or scripted translation workflows.
Getting started
See the repository README for installation and usage instructions. The tool is available online at the project's homepage.
License and pricing
The license is MIT. The tool is open source and free to use.
Based on the project's public README and repository metadata.