{"name":"Subtitle Translator: Fast, Accurate, and Batch Subtitle Translation","description":"Subtitle Translator is a free and open-source tool designed for fast, accurate, and batch translation of subtitle files like .srt, .ass, and .vtt. It supports over 50 languages using various translation APIs and AI models, significantly enhancing workflow efficiency for content creators and educators. With features like real-time processing, translation caching, and multi-language output, it streamlines subtitle localization.","github":"https://github.com/rockbenben/subtitle-translator","url":"https://osrepos.com/repo/rockbenben-subtitle-translator","source":"osrepos.com","sourceDescription":"This repository profile is provided by osrepos.com, an open source repository discovery platform.","repositoryProfile":"https://osrepos.com/repo/rockbenben-subtitle-translator","generatedFor":"open source discovery and AI-assisted research","markdown":"https://osrepos.com/repo/rockbenben-subtitle-translator.md","json":"https://osrepos.com/repo/rockbenben-subtitle-translator.json","topics":["srt","subtitles","translator","TypeScript","video-localization","AI-translation","batch-processing"],"keywords":["srt","subtitles","translator","TypeScript","video-localization","AI-translation","batch-processing"],"stars":null,"summary":"Subtitle Translator is a free and open-source tool designed for fast, accurate, and batch translation of subtitle files like .srt, .ass, and .vtt. It supports over 50 languages using various translation APIs and AI models, significantly enhancing workflow efficiency for content creators and educators. With features like real-time processing, translation caching, and multi-language output, it streamlines subtitle localization.","content":"## Introduction\nSubtitle Translator is a powerful, free, and open-source tool engineered for efficient and accurate batch translation of subtitle files. Supporting popular formats like `.srt`, `.ass`, and `.vtt`, this application leverages multiple translation APIs and advanced AI models to translate subtitles into over 50 languages. It's an invaluable resource for anyone needing to localize video content, from filmmakers and educators to content creators, offering features like real-time processing, translation caching, and the ability to generate multi-language subtitles from a single source file.\n\nYou can try Subtitle Translator online: [https://tools.newzone.top/en/subtitle-translator](https://tools.newzone.top/en/subtitle-translator){:target=\"_blank\"}\n\n## Installation\nTo get started with Subtitle Translator, ensure you have Node.js 18.18 or later installed. The application supports macOS, Windows (including WSL), and Linux.\n\nshell\n# Installation\nyarn\n\n# Local Development\nyarn dev\n\n# Build and start\nyarn build && npx serve@latest out\n\n# Deploy for a single language (example for English)\nyarn build:lang en\n\n\nAfter installation, open [http://localhost:3000](http://localhost:3000){:target=\"_blank\"} in your browser to access the application.\n\n## Examples\nSubtitle Translator excels in automating complex translation workflows. For instance, you can upload hundreds of `.srt` files and translate them simultaneously into multiple target languages, such as English, Chinese, and Spanish. The tool intelligently handles format detection and preserves original file names. It also allows for the extraction of subtitle text, useful for AI summarization or content repurposing. With support for various translation APIs like DeepL, Google Translate, Azure, and several AI LLM models, users can choose the best option for quality and cost, tailoring the translation style with customizable prompts and temperature controls for AI models.\n\n## Why Use Subtitle Translator?\nSubtitle Translator stands out due to its comprehensive feature set designed for maximum efficiency and flexibility:\n*   **Batch Processing and Speed**: Translate hundreds of subtitle files in real-time, significantly boosting productivity.\n*   **Multilingual Support**: Access translation into 50 major languages, with the unique ability to generate bilingual or multilingual subtitles from a single source.\n*   **Diverse Translation Options**: Choose from 3 free translation APIs, 3 commercial-grade APIs, and 5 AI LLM interfaces, including OpenAI and DeepSeek, to match your specific needs for quality, cost, and style.\n*   **Translation Caching**: Automatically stores translation results locally, reducing redundant API calls and saving time and money.\n*   **Format Compatibility**: Seamlessly handles `.srt`, `.ass`, and `.vtt` formats with automatic detection and adaptation, ensuring timeline accuracy and preventing encoding issues.\n*   **Privacy and Security**: All data, including API keys, remains locally cached in your browser, ensuring user privacy.\n\n## Links\n*   **GitHub Repository**: [https://github.com/rockbenben/subtitle-translator](https://github.com/rockbenben/subtitle-translator){:target=\"_blank\"}\n*   **Online Demo**: [https://tools.newzone.top/en/subtitle-translator](https://tools.newzone.top/en/subtitle-translator){:target=\"_blank\"}\n*   **Deploy with EdgeOne**: [![Use EdgeOne Pages to deploy](https://cdnstatic.tencentcs.com/edgeone/pages/deploy.svg)](https://edgeone.ai/pages/new?repository-url=https%3A%2F%2Fgithub.com%2Frockbenben%2Fsubtitle-translator&output-directory=out&install-command=yarn+install&build-command=yarn+build%3Alang+en){:target=\"_blank\"}\n*   **API Key Registration**:\n    *   Google Translate: [https://cloud.google.com/translate/docs/setup?hl=zh-cn](https://cloud.google.com/translate/docs/setup?hl=zh-cn){:target=\"_blank\"}\n    *   Azure Translate: [https://learn.microsoft.com/zh-cn/azure/ai-services/translator/reference/v3-0-translate](https://learn.microsoft.com/zh-cn/azure/ai-services/translator/reference/v3-0-translate){:target=\"_blank\"}\n    *   DeepL Translate: [https://www.deepl.com/your-account/keys](https://www.deepl.com/your-account/keys){:target=\"_blank\"}","metrics":{"detailViews":17,"githubClicks":8},"dates":{"published":null,"modified":"2025-12-22T00:00:52.000Z"}}