PDF translator
Translate a PDF without sending it to a translation service. The text of every page is read in your browser and translated by OPUS-MT neural translation models from the University of Helsinki, which run on your device. Translate between English and Spanish, French, German, Italian, Dutch, Russian, Chinese, Japanese, Korean (to English), Arabic or Hindi; other pairs go through English. You see the original and the translation side by side for every page and can download the result as text or Markdown.
The first translation downloads the language model (75–150 MB); after that it's cached.
Translation by OPUS-MT (University of Helsinki, CC-BY 4.0) running in your browser.
How to use the PDF Translator
- 1
Open a PDF
Documents with selectable text; scans need OCR PDF first.
- 2
Choose the languages
From the document's language to the one you want.
- 3
Translate
The model downloads once (about 75–150 MB per language pair), then runs on your device.
- 4
Review and download
Compare page by page and download TXT or Markdown.
How it works
pdf.js extracts each page's text and rebuilds paragraphs from line positions. Paragraphs are split into sentence groups under 400 characters, the size the models handle well, and translated in order with transformers.js.
Each pair uses a dedicated OPUS-MT model (CC-BY 4.0). When there's no direct model, such as French to German, the text is translated to English first and then to the target, which can lose some nuance.
When to use it
- Read a foreign-language contract, manual or article.
- Get a first draft translation of a report.
- Translate a confidential document without uploading it.
Limits
- The layout isn't rebuilt: the result is text page by page.
- Machine translation can be wrong on legal, medical or technical terms; have important documents checked.
- Up to 60,000 characters per document; longer files take too long in a browser.
Privacy
Translation runs on your device. The PDF and its text are never uploaded; only the translation model files are downloaded from Hugging Face.
Frequently asked questions
Is my PDF uploaded to a translation service?
No. The text is translated on your device. Only the model files are downloaded, once, from the Hugging Face CDN.
Which languages are supported?
English to and from Spanish, French, German, Italian, Dutch, Russian, Chinese, Japanese, Arabic and Hindi, and Korean to English. Other pairs go through English.
Does it keep the PDF layout?
No. You get the translated text page by page, which you can paste into a document.
How accurate is it?
OPUS-MT gives readable translations of everyday text. It's less reliable for legal or specialist wording, so have important documents reviewed by a translator.
Why is the first translation slow?
The model for your language pair is downloaded first (75–150 MB). It's cached, so later translations start straight away.
Can it translate a scanned PDF?
Not directly. Run OCR PDF first to add a text layer, then translate.
Related tools
People also use
Last updated November 30, 2026 · How we build and test our tools