Document Translator – everything it can do:

HTML Translator

Translate the visible text of an HTML page and keep all tags, styles, links and scripts.

🔒 Your files are processed on your device and never uploaded.

HTML Translator at a glance

Price
Free
Account
Not needed
Watermark
None
Privacy
The text is sent to a translation service to be translated and is not stored by us.
Works on
Windows, Mac, Linux, Android and iPhone – in any modern browser
Install
Nothing to install
Same format backYou get a translated HTML file file, not just plain text.
Formatting keptAll HTML tags, CSS, links and scripts stay untouched; the lang attribute is updated.
100+ languagesTranslate into or from Urdu, Arabic, Hindi, English, Spanish, French, Chinese and many more.

How to use HTML Translator

  1. Press Select file and choose your HTML web page (.html) – or paste text into the box.
  2. Choose the language it is in (or “Detect language”) and the language you want.
  3. Press Translate, check the preview and download your translated HTML file.

Safe for your code

Only the words a visitor can read are translated – headings, paragraphs, buttons, the page title, image alt text, tooltips and placeholders. Code inside script, style and code blocks is skipped, and the page language (and direction for Urdu or Arabic) is set for you.

Tips for the best translation

Frequently asked questions

Is it free?
Yes – free, with no sign-up and no watermark. A fair daily limit applies on phones and non-Chrome browsers; in Google Chrome on a computer you can translate as much as you like.
Which languages are supported?
More than 100 languages, including English, Urdu, Arabic, Hindi, Spanish, French, German, Italian, Portuguese, Turkish, Chinese, Japanese and Korean. Choose “Detect language” and the original language is found for you.
Will my links and scripts still work?
Yes. Links, scripts and styles are not changed; only visible text and a few text attributes are translated.
How good is the translation?
It is machine translation – great for understanding a document, sharing a draft or preparing a first version. For contracts, medical papers or a book you will publish, have a fluent speaker check the result before you use it.
Is my document uploaded?
Your file itself is opened and rebuilt on your own device. In Google Chrome on a computer the translation also happens on your device. On other browsers and phones only the words that need translating are sent securely to our translation service and are not kept with your name or file; the finished file is made on your device.

More free tools