AI HTML Translator
Translate HTML pages and snippets with AI. Text, alt and title attributes and SEO meta tags are translated, while markup, scripts and styles stay untouched.
Input
Protected by Cloudflare Turnstile
Output
Readme
Tool description
This tool translates HTML pages and snippets with AI. Open an HTML file, pick the language, and you get the same page with translated text. It is useful for landing pages, email templates, static sites and help pages.
The page is parsed in your browser. Each paragraph, heading, list item or button is sent as one piece, including links and bold words inside it, so sentences stay whole and read naturally. The AI is told to keep every tag and attribute, and scripts, styles and code are never sent.
Features
- Translates text in the head and body, including the page
<title>. - Translates
alt,title,placeholder,aria-labeland buttonvalueattributes. - Translates SEO and social tags:
meta description, Open Graph and Twitter titles and descriptions. - Keeps inline markup such as
<a>,<strong>and<span>in the translated sentence. - Skips
<script>,<style>,<pre>blocks, SVG and anything markedtranslate="no"orclass="notranslate". Inline<code>inside a sentence is kept unchanged. - Sets
langon the<html>element to the target language, anddir="rtl"for Arabic, Hebrew, Persian and Urdu. - Works with full documents and with fragments.
Examples
<p>
Read the <a href="/guide">setup guide</a> before you <strong>start</strong>.
</p>
<img src="team.jpg" alt="Our team at the office" />
<p translate="no">ACME Cloud</p>translated into Italian:
<p>
Leggi la <a href="/guide">guida all'installazione</a> prima di
<strong>iniziare</strong>.
</p>
<img src="team.jpg" alt="Il nostro team in ufficio" />
<p translate="no">ACME Cloud</p>Tips
Add translate="no" to brand names, product names and anything else that must stay the same. The tool follows the attribute, just like browser translators do.
Up to 10,000 characters of text can be translated at once. Markup is sent together with the text inside a sentence, so pages with a lot of inline markup reach the limit sooner.
FAQ
Will the formatting of my file change? The browser writes the HTML again after the translation, so the markup is the same but some details can change, such as attribute quotes or the case of tag names.
Is my file uploaded? No. The HTML is parsed in your browser, and only the text is sent to the AI. Scripts and styles are never sent.