Translate an HTML file
Drop an .html file. The visible text is translated; tags, links, scripts and styles are left untouched.
Don't upload confidential documents on the free tier. Why?
Saved web pages, email templates, help-centre exports and static site pages are all HTML. Pasting the source into a translator scrambles tags, and pasting the rendered page loses the markup. DropTranslate parses the HTML, translates the visible text between tags and writes the document back with the same structure, so links, classes, scripts and styles keep working. It is a quick way to get a translated version of a single page or template; for a whole website you would still need your site's own localisation setup.
How it works
Drop the .html
We count the words of visible text and show the credit cost.
Pick the language
Choose the target language for the page.
Download the .html
Same markup, translated text. Update the lang attribute on the html tag for the new language.
What changes, what stays
Translated
- Visible text between tags: headings, paragraphs, lists, table cells, link text and buttons
Kept as-is
- Tags, classes, IDs and link URLs
- Scripts and styles
- Attribute text, such as image alt text and title tooltips
Layout: Exact: markup kept
The HTML structure is unchanged, so the page renders the same, with longer or shorter text where the language needs it.
- Attribute text (image alt text, title tooltips, meta descriptions) is not translated in this version. Translate those by hand if they matter for accessibility or search.
- Text that JavaScript inserts when the page runs isn't in the file, so it isn't translated.
- For right-to-left languages, add dir="rtl" to the html tag so the browser lays the page out from the right.
Tips
- Set the lang attribute on the html tag to the new language code, for example lang="es".
- Email templates: check that merge fields such as {{first_name}} are unchanged.
Not a certified translation
Machine translation, not a certified or sworn translation. If your document goes to an authority, check what it requires first.
Certified, sworn or machine translation: which one do you need?
Questions
Will my tags and links survive?
Yes. Only the text between tags is translated. Tags, classes, link URLs, scripts and styles stay exactly as they are.
Is alt text translated?
Not in this version. Alt text and other attribute text stay in the original language, so translate them by hand if they matter.
Can you translate my whole website?
Not as a site. You can translate pages one HTML file at a time, but for a live multilingual website you need your site's own localisation setup.