How to translate a subtitle file
- Paste your subtitles, click Open file, or drop an SRT or WebVTT file onto the editor.
- Choose the languages in From and Translate to, and a Translator (see below).
- Press Translate. The page shows how far it has got and about how long is left.
- Check the result, then click Download. The file is named after the original with the language code added, for example
film.si.srt.
If you press Stop, or something goes wrong, the subtitles translated so far are kept. Press Continue translating to finish the rest.
What stays the same
Only the text of each subtitle is translated. These stay exactly as they were:
- every start and end time
- the order and number of subtitles
- with Google Gemini, line breaks inside a subtitle and tags such as
<i>and{\an8}(the in-browser translator keeps only tags around a whole subtitle)
To change the format, choose SRT or WebVTT in Save as.
Two translators
In your browser (the default for Sinhala). The first time, your browser downloads a translation model, Meta’s NLLB-200, about 900 MB from Hugging Face, and keeps it. It then translates on your computer, one sentence at a time, so your subtitles never leave your computer. On a laptop it takes about 1 to 3 seconds per subtitle: roughly 15 to 60 minutes for a full film. It needs a computer rather than a phone, and it cannot detect the language, so set From. It keeps <i> tags that wrap a whole subtitle but joins the lines of a two-line subtitle into one.
Google Gemini. Faster and usually more natural, and it keeps line breaks and tags. The subtitle text is sent to our server, which passes it to Google’s Gemini API and returns the translation. Our server does not store or log the text. Google’s terms for its free tier say that Google may use the text to improve its products and that people may read it, so don’t translate subtitles for private or confidential video. When Gemini is busy, our server uses a backup translator from Cloudflare, which is less accurate. Google’s terms also don’t allow the free tier in the European Economic Area, the United Kingdom or Switzerland, so Gemini is switched off there; the in-browser translator works everywhere.
Tips for a better translation
- Fix the timing first. If the subtitles are out of sync, use the Subtitle Shifter before translating.
- Pick the source language. The in-browser translator needs it, and it helps Gemini with short lines.
- Check names and slang. Machine translation handles everyday dialogue well, but jokes, slang and names can come out wrong.
- Character set problems. If the original text shows symbols like
é, choose the right Character set before translating. Old Sinhala subtitles made with legacy fonts such as FM Abhaya need converting to Unicode first.