How to use it
- Add one subtitle file
SRT, VTT or ASS. We detect the language and the text encoding.
- Pick the languages and press Translate
The first time, the browser downloads the translation model once (about 110 to 370 MB). Next time it starts straight away, even offline.
- Review, edit, download
Every line is shown next to the original and can be corrected before you download the file with the same timings.
How the offline translation works
The page loads an open translation model (Helsinki-NLP Opus-MT, the same family used by many offline translators) and runs it with WebAssembly inside your browser. Your subtitle file is read and translated in memory on your device; it is never sent to a server. The model files are downloaded once from the Hugging Face model hub and kept in your browser's storage, so later translations start immediately and also work without a connection.
What is kept from the original file
- Timings and numbering stay exactly the same, so the file stays in sync with your video.
- Sentences split over two or three subtitles are translated as one sentence, then spread back over the same subtitles. Translating each piece alone gives much worse results.
- Italics around a whole subtitle, position tags like {\an8}, ASS styles and the "- " dashes of two-speaker lines are kept. Formatting on single words inside a line is removed.
- Long lines are re-wrapped into two balanced lines. For Arabic, invisible RLM marks keep punctuation on the correct side in players (you can turn this off).
How good is it?
Good enough to understand a video and to start a translation you then correct, but not at the level of a professional translator or a large online service. We measured the models on our own test lines before publishing: English to Arabic uses the larger tc-big model, which got about 2 of our 53 test lines clearly wrong, against 7 for the lighter model. Jokes, slang, names and very short lines ("Fine." or "Promise?") are where it fails most, so read the result before you share it. You can edit every line on this page.
Speed and device
On a recent laptop expect roughly half a second per subtitle line, so a 45-minute episode (about 600 lines) takes a few minutes. Phones are slower and the larger model needs a few hundred MB of free memory. If your browser supports WebGPU you can try the graphics card option; it is experimental.
Models and licences
Translation models by the Language Technology Research Group at the University of Helsinki (Helsinki-NLP): opus-mt-tc-big-en-ar (CC BY 4.0) and opus-mt-en-ar, ar-en, en-fr, fr-en, en-es, es-en (Apache 2.0), converted to ONNX by the Transformers.js community. They run with Transformers.js (Apache 2.0). We did not change the model weights.
Please translate only subtitles you have the right to use, for example your own videos, lectures or public-domain films.