ChatGPT Subtitle Translator
An SRT subtitle translator with browser and CLI interfaces that works with local Ollama models or OpenAI-compatible cloud APIs.

ChatGPT Subtitle Translator translates SRT subtitles for people who need translated text to stay matched to the original entries. It supports local Ollama models and OpenAI-compatible providers, so you can choose where translation runs.
- Subtitle alignment: Structured output keeps source and translated lines paired; an optional timestamp-aware mode lets the model merge entries when the context calls for it.
- Browser workspace: Import and export SRT files, view source text beside the translation, and choose languages, a model and custom translation instructions.
- Batch translation: The tool groups lines and reduces subtitle formatting in model requests to cut token overhead while retaining some context between lines.
- Resumable CLI jobs: The command-line interface can resume interrupted translations and stream results, with optional translation context designed to work with prompt caching.
- Content overview: Agent mode samples a file before translation to identify its source language, genre, tone and character names.
The project is open source under the MIT license. It provides a browser interface and a Node.js CLI. The browser stores your API key locally, but sends subtitle text to the backend you select. Ollama runs inference on your hardware; choosing a cloud API sends the text to that provider.