How to translate a document
What each file type keeps
| File | Result | What is kept |
|---|---|---|
| Word (.docx) | Translated .docx | Paragraphs, headings, styles, tables, headers, footers, footnotes, images. Mixed formatting inside one paragraph (for example a single bold word) is simplified, because each paragraph is translated as a whole. |
| Translated .txt | Text in page order. Layout, images and fonts are not reproduced. Scanned PDFs need OCR first. | |
| HTML | Translated .html | All tags, links, images and scripts; visible text, alt and title attributes are translated. The lang attribute is updated. |
| TXT / Markdown | Same format | Every line break; Markdown symbols stay in place. |
| SRT / VTT | Same format | Numbering and timings – see the Subtitle Translator. |
Right-to-left languages
When you translate into Arabic, Hebrew, Persian or Urdu, translated Word paragraphs are marked as right-to-left and HTML pages get dir="rtl", so they display correctly.
Before you share a translated document
- Read it through: machine translation can mistranslate terms, names and numbers.
- Check tables and lists, which contain short fragments that are harder to translate.
- For contracts, certificates and official letters, use a certified translator.
Limitations
Older .doc files are not supported – save them as .docx first. Text inside images, charts and text boxes in Word is not translated. Very long documents take time, because each paragraph is translated in turn.
Which browsers can translate?
| Browser | Built-in translation |
|---|---|
| Google Chrome 138+ on Windows, macOS, Linux, ChromeOS | Yes |
| Microsoft Edge 148+ on Windows and macOS | Yes |
| Chrome or Edge on Android and iPhone | Not yet |
| Firefox, Safari | Not yet |
| Older Chrome or Edge versions | No – update the browser |
How the translation works
Docelora does not run its own translation server. The tool calls the Translator API built into your browser – an on-device translation model provided by Google in Chrome (version 138 and later, on Windows, macOS, Linux and ChromeOS) and by Microsoft in Edge (version 148 and later). The model and the language packs are downloaded by the browser itself and run on your computer. Your text stays on your device, which also means translation works the same whether you are signed in or not and costs nothing.
The Translator API is not yet available in mobile browsers, Firefox or Safari. On those, the page tells you that translation is unavailable rather than pretending to work. Which language pairs are offered depends on the browser and its version; the tool checks before translating.
How accurate is machine translation?
Machine translation is good for understanding a text, drafting a reply or translating everyday content quickly. It is not a substitute for a professional translator when accuracy matters. Common weaknesses are idioms, humour, tone and politeness, ambiguous short phrases, specialist terminology, and names. For legal, medical, immigration, financial or safety-critical documents, use a qualified or certified translator.
Related tools
Frequently asked questions
How do I translate a Word document?
Choose the .docx file, pick the languages and select Translate document. You get a new .docx with the same structure.
Is the formatting of my Word file kept?
Paragraph-level formatting – headings, styles, tables, lists, headers and footers – is kept. Formatting that changes within a paragraph is simplified to the first style of that paragraph.
Can I translate a PDF?
Yes, if it contains selectable text. The result is a text file; the PDF layout is not recreated.
What about scanned PDFs?
Run them through Scanned PDF to Text (OCR) first, then translate the text.
Can I translate a web page?
Save the page as an HTML file and translate it here: tags, links and scripts are left untouched.
Are .doc files supported?
No. Open them in Word, LibreOffice or Google Docs and save as .docx.
Is the original file changed?
No. A new translated file is created for download.
How long does a large document take?
It depends on your computer and the amount of text; each paragraph is translated in turn, and progress is shown.
Is my text sent to a server?
No. Translation is done by the model built into your browser, on your computer. Docelora does not receive or store your text.
Why does it say translation is unavailable?
Your browser does not include the Translator API. It is available in Google Chrome 138 or later and Microsoft Edge 148 or later on a computer. Mobile browsers, Firefox and Safari do not offer it yet.
Does it work on my phone?
Not yet. The browsers’ built-in translation models are currently available only on desktop and laptop computers.
Why is the first translation slow?
The first time a language pair is used, the browser downloads its language pack. Later translations of that pair start straight away.
Is it free?
Yes. There is no account, no character limit per day and no cost: the browser’s own model does the work.
How accurate is it?
Usually good for everyday text and for understanding the meaning, but not perfect. Check names, numbers, dates and anything important, and use a professional translator for legal or medical documents.
Can I translate a whole document?
Yes – the Document Translator handles TXT, Markdown, HTML, Word (.docx) and PDF files, and the Subtitle Translator handles SRT and VTT files.
How much text can I paste?
Up to 50,000 characters at a time in the text box. Longer texts are translated line by line, so very long pastes take longer.
Are line breaks and paragraphs kept?
Yes. The text is translated line by line, and blank lines and paragraph breaks are preserved.
Can I use the translation commercially?
You can use the output as you wish, but you remain responsible for checking it. Machine translation can be wrong, so have important published text reviewed.
Does it remember my text?
No. Nothing is saved; reloading the page clears the boxes. The browser keeps only its downloaded language packs.
Which languages can I choose?
The list shows more than 50 languages, but the browser decides which pairs it can translate. If a pair is not available, the tool tells you before anything happens.
Last reviewed: 8 November 2026.