Subtitle Translator: A Free, Open-Source Batch Subtitle Translation Tool
What is Subtitle Translator?
Subtitle Translator is a free, open-source batch subtitle translation tool that can quickly batch translate subtitle files. It supports multiple subtitle formats (such as .srt, .ass, .vtt) and 35 languages. It also utilizes various translation APIs and AI models (such as OpenAI's GPT-3.5, DeepL, etc.) to achieve efficient translation.

Subtitle Translator Features
Multi-language support: Supports translation in 35 mainstream languages, including Chinese, English, Japanese, Korean, French, German, Spanish, and more.
Batch translation: Supports single or batch translation of subtitle files, capable of processing hundreds of subtitle files at once, greatly improving translation efficiency.
Translation cache: Automatically caches translation results locally to avoid repeated calls to translation APIs, saving time and costs.
Format compatibility: Automatically matches mainstream subtitle formats and keeps the exported file names consistent with the original files.
Contextual translation: Includes contextual information during translation to improve accuracy and naturalness.
Privacy & security: All API keys and data are stored only in the local browser.
Subtitle Translator Technical Implementation
Core logic: The main translation logic is implemented in the subtitle-translator/src/app/[locale]/SubtitleTranslator.tsx file, including file upload, format detection, content extraction, translation processing, and result output.
Utility functions: Multiple practical utility functions are defined in files under the subtitle-translator/src/app/utils directory, such as convertTimeToAss for time format conversion and preprocessJson for JSON data preprocessing.
State management: Uses the useTranslateData custom Hook to manage translation-related state, including translation method, language settings, translation progress, etc.
Subtitle Translator Use Cases
Video production and content creation: Helps creators quickly generate multilingual subtitles and enhance content internationalization.
Education sector: Makes it easy for teachers to create multilingual teaching video subtitles, improving the learning experience for international students.
Personal entertainment: Allows movie enthusiasts to easily enjoy foreign-language films and TV works.
How to Use?
Upload or paste subtitle content, select the target language, extract with one click, and quickly complete the translation. All API keys and data are stored only in your local browser, ensuring privacy and security.
Github:https://github.com/rockbenben/subtitle-translator
Demo:https://tools.newzone.top/zh/subtitle-translator
Script Planner Assistant▸
AI Apps
AI News 