OfflaneAI

Translate text and subtitles —
private, offline, unlimited

English, Ukrainian, Russian, Polish, German, Spanish, French, Italian, Portuguese, Romanian, Turkish, Arabic, Chinese, Japanese and more. Paste text or drop an .srt/.vtt file — timecodes stay, only the lines are translated. The model downloads once and then works offline.

  • 🌐 25 languages
  • 💬 SRT / VTT subtitles
  • 🔒 Text never leaves your device
  • 💸 Free, no limits

Loading the tool… (JavaScript required)

How good is the translation?

It uses OPUS-MT models from the University of Helsinki (CC BY 4.0) — accurate for everyday text, documents and subtitles; pairs with English are best, other pairs go through English. An experimental mode runs Qwen3.5 (Alibaba, Apache 2.0), a compact neural language model, on a WebGPU graphics card: more fluent for English, Chinese, Spanish, French, German and Portuguese, but it makes mistakes in other languages. For literary or legal nuance, review the output.

Does it really work offline?

Yes. The first translation for a language pair downloads a 75–115 MB model and caches it in the browser. After that the page works with Wi-Fi off, and nothing you type is sent anywhere.

Can I translate a subtitle file for a movie?

Switch to “Subtitles”, drop the .srt or .vtt file, pick languages and download the translated file. Numbering, timecodes and tags are preserved; long lines are wrapped onto two lines.

Translating text

  1. Stay on the “Text” tab.
  2. Set both languages. Choose the original language under From and the target under To. The source language is not detected automatically, so a wrong From gives nonsense.
  3. Check the note under the selectors. It says whether the pair uses a direct model or goes through English, and how many megabytes will be downloaded the first time.
  4. Paste or type the text in the left field and press Translate. The first run for a language pair downloads its model; later runs start at once.
  5. Take the result. Use Copy translation or Download .txt. The line under the fields shows how long the job took and which engine produced it.

The ⇄ button swaps the languages and moves the translation into the input field. Translating it back is a quick way to spot sentences that changed meaning.

Translating a subtitle file

  1. Open the Subtitles (SRT / VTT) tab and drop an .srt or .vtt file. The number of cues appears next to the file name.
  2. Set From and To.
  3. Press Translate subtitles. A progress bar counts the cues.
  4. Check the preview of the first 24 lines and press Download. The file keeps its format and gets the language code in its name: film.srt becomes film.de.srt.

The two engines

OPUS-MT — recommendedExperimental — Qwen3.5 neural model
What it isDedicated translation models, one per language pairOne small general language model with 0.8 billion parameters
DownloadAbout 280 MB per modelAbout 650 MB once, for every pair
Runs onThe processor of any deviceA WebGPU graphics card; on a processor it is slow
Sees at onceOne sentenceUp to 12 lines or 600 characters
StrengthStays close to the source, predictableMore natural wording in English, Chinese, Spanish, French, German and Portuguese
WeaknessLiteral, no memory of the previous sentenceCan drop, add or reword content; unreliable in other languages
Source and licenceHelsinki-NLP, University of Helsinki, CC BY 4.0Alibaba Qwen, Apache 2.0

OPUS-MT is the default on every device. Choose Qwen3.5 only for the six languages it handles well, and read the result against the original. If Qwen3.5 cannot be loaded, the text is translated with OPUS-MT and a note says so.

Language pairs and how they are routed

All 25 languages can be combined, but not every pair has its own model. The route decides both quality and download size.

PairRouteFirst download
English → German, Spanish, French, Italian, Dutch, Swedish, Finnish, Romanian, Russian, Arabic, Hindi, Chinese, AfrikaansDirect modelAbout 280 MB
German, Spanish, French, Italian, Dutch, Swedish, Finnish, Russian, Arabic, Hindi, Chinese, Afrikaans → EnglishDirect modelAbout 280 MB
Any direction between German, Spanish and French; Spanish ↔ Italian; Spanish ↔ Russian; French ↔ Russian; French ↔ Romanian; Russian ↔ UkrainianDirect modelAbout 280 MB
English → Polish, Portuguese, Czech, Hungarian, Greek, Turkish, Japanese, Korean, Vietnamese, IndonesianOne multilingual modelAbout 290 MB
Ukrainian, Polish, Portuguese, Romanian, Czech, Hungarian, Greek, Turkish, Japanese, Korean, Vietnamese, Indonesian → EnglishOne multilingual modelAbout 290 MB
English → UkrainianTwo models: English → Russian → UkrainianAbout 560 MB
Every other pair, for example German → PolishThrough English, two models; three when the target is Ukrainian560–850 MB

Direct models give the best results. A multilingual model covers many languages in one file and is less precise than a dedicated one. A route through English translates twice, so details that English does not mark, such as grammatical gender or formal and informal “you”, can be lost on the way.

Models are shared between pairs. Once the model for Polish → English is on your device, Czech → English needs no new download, because both use the same multilingual file. Chinese output is Simplified Chinese.

What quality to expect

OPUS-MT models are compact research models trained on public collections of translated texts. Large online services such as Google Translate and DeepL run far bigger models on their servers and are better at idioms, long sentences, tone and rare words. What this page offers instead: the text never leaves your device, there is no length cap and it works without a connection.

TextResult with OPUS-MT
E-mails, instructions, news, product descriptionsClear and usable, some stiff phrasing
Technical text with standard termsGood; check terminology
Film and course subtitlesUnderstandable; short fragments can come out odd
Slang, jokes, idiomsOften literal
Poetry, fiction, advertising copyMeaning only, style is lost
Contracts, medical and official documentsGood for understanding, not for signing or submitting

For anything that will be published, signed or filed, have a fluent speaker review the output or use a professional translator.

How your text is processed

Sentence by sentence

Line breaks are kept exactly. Inside each line the text is cut into sentences at full stops, question marks and exclamation marks. OPUS-MT translates every sentence on its own. Two consequences:

  • The model does not know what the previous sentence said. A pronoun or a form of address can change from one sentence to the next.
  • Every full stop counts as the end of a sentence. An abbreviation such as “approx.”, a decimal number such as 3.5 and a web address are cut at the dot, the halves are translated separately and the result has a space after the dot. Write abbreviations out, and check numbers and links in the output.

Length

There is no limit on the total length; a long document simply takes longer. OPUS-MT needs a few seconds per paragraph on any device. One single sentence is limited to 512 output tokens, which only matters for very long passages without punctuation.

Input formats

The text tab takes plain text only. To translate a PDF, extract its text first with the PDF to Word converter set to plain text. For a photo or screenshot, use the image to text tool.

What happens to a subtitle file

Kept as it is

  • Cue numbers and every timecode line, including WebVTT position settings.
  • The number and order of cues.
  • The WebVTT header and its NOTE and STYLE blocks.

Changed

  • Formatting tags are removed. Italic tags such as <i>, position codes such as {\an8} and WebVTT voice tags are stripped before translation and are not put back.
  • Line breaks are rebuilt. A translated cue longer than 42 characters is split into two lines of similar length. Chinese and Japanese cues are not wrapped, because they contain no spaces to break at.

Cue by cue

Each cue is translated separately. When a speaker’s sentence runs over two or three cues, each fragment is translated without the rest, and the word order across them can be wrong. The Qwen3.5 engine reads up to 12 cues together, which helps in the languages it is good at.

Getting and using the file

No subtitle file yet: the transcription tool creates an SRT from the audio of a video. To show the translated lines inside the picture, load the video and the new file in the subtitle burner. Media players and media servers commonly pick up a file named like the video with a language code, such as film.de.srt.

Only .srt and .vtt are read. ASS, SSA and SUB files must be converted to SRT in a subtitle editor first.

Getting a better translation

  • Clean the source. Complete sentences with correct spelling and punctuation translate best. The grammar checker fixes the source text before you translate it.
  • Keep sentences short. Split a long sentence with several clauses into two.
  • Control the middle step. For a pair that goes through English, translate into English first, correct that text yourself and then translate it onward.
  • Check names and numbers. Personal names, product names and units are sometimes translated or altered, and decimals can come back as “3. 5”.
  • Translate back. Use ⇄ and compare with your original.

Downloads, storage and offline use

Where the models are kept

Models come from the Hugging Face model hub and are stored in your browser’s cache. A pair that needs two models stores two files, so a few language pairs can occupy more than a gigabyte. Clearing the site data in the browser settings removes them, and they download again on next use.

What stays on your device

After the download, the translation itself runs in a background thread of the browser tab. The text you type and the subtitle files you drop are not sent anywhere, and the page keeps working with the connection off. Up to two OPUS-MT models are held in memory at a time, each a few hundred megabytes, so close other heavy tabs on a phone before a long job.

Troubleshooting

The download stops or starts again

The connection dropped during a large file. Press Translate again; files that finished are taken from the cache.

The subtitle file shows broken characters

The file is not saved as UTF-8, which is common for older subtitles. Open it in a text editor, save it as UTF-8 and drop it again.

“No subtitle cues found. Use an .srt or .vtt file.”

The file has no timecode lines with -->. It is probably another subtitle format or a plain transcript.

A long sentence is cut off or repeats words

This happens on very long sentences and on text without punctuation. Add full stops and translate again.

Italics and positions are gone from my subtitles

Tags are removed during translation. Add them again in a subtitle editor where they matter.

“Choose two different languages.”

From and To are set to the same language. Change one of them.

Qwen3.5 is very slow

The device has no WebGPU, so the model runs on the processor. Switch Engine back to OPUS-MT.