Translate HTML
Do4U translates the text in your HTML and leaves every tag, link, attribute and placeholder ({name}, %s, shortcodes) unchanged. Afterwards the code checks that the structure is the same as before.
Who it is for
For website owners, shop operators and agencies who want to translate content from a CMS, newsletters or templates without fixing the HTML by hand afterwards.
Typical uses
- Translate a product description with formatting and links
- Translate email templates with placeholders like {name}
- Translate WordPress content with shortcodes
- Keep brand and product names unchanged with the glossary
Example
Input
Target language: English <p>Hallo {name}, dein <a href="/preise">Paket</a> ist bereit.</p>
Result
<p>Hello {name}, your <a href="/preise">package</a> is ready.</p> Check: 2 tags and 1 placeholder unchanged.
A fixed example, shortened. Real results are AI-generated: please check them.
Price and limits
- Price
- usually 1–4 credits
- Available with
- Free, With package
- Input limit
- One page with up to 15,000 characters of HTML
Privacy
Processed on our own servers in the EU (Poland). Inputs and results are deleted after 7 days (Free) or 30 days (packages), or right after you see the result if you choose not to store them. Images are deleted right after processing.
In the API
Tool name: translate_html. Create a job with POST /api/v1/jobs and fetch the result with GET /api/v1/jobs/{id}. You find your API key in your account.
curl -X POST https://do4u.eu/api/v1/jobs \
-H "Authorization: Bearer d4u_…" -H "Content-Type: application/json" \
-d '{"tool": "translate_html", "html": "<p>…</p>", "options": {"target": "en"}}'
Questions and answers
What happens if the structure does not match?
Then the code rejects the answer and asks again. If it still does not fit after three tries, the task costs nothing.
How does the glossary work?
Under Glossary you enter terms that are never translated, such as brand names, or that always get a fixed translation. Do4U uses only the terms that appear in your text.
Is my text stored?
Only as long as needed: 7 days on Free, 30 days with a package – or not at all if you choose not to store it. Processing happens on our own servers in the EU (Poland).
Can I use the result right away?
Results are AI-generated. Please read them before you publish or send them.
Related tools
- Translate
Into EU languages, with notes on unclear passages.
- SEO title & description
Three variants of page title and meta description, with the length checked.
- Rewrite
Make a text simpler, shorter, more formal or friendlier.