DeepL
Translate website text and HTML with DeepL, the European translation AI. BYOK — bring your own DeepL API key (Free or Pro). Translate pages for a multilingual site, keep HTML markup intact, and check your monthly character usage.
setup_integration or the Dashboard Vault — they're encrypted
with AES-256-GCM and never exposed.
Required Credentials
Get your API key at www.deepl.com →
Try it with your AI assistant
Once WebsitePublisher is connected to your AI assistant, paste one of these into the chat.
@WebsitePublisher translate my homepage into German and French with my DeepL key and create the translated pages@WebsitePublisher use DeepL to translate all my product descriptions into Dutch, keeping the HTML as it is@WebsitePublisher how many DeepL characters have I used this month?With WebsitePublisher, translate my homepage into German and French with my DeepL key and create the translated pagesWith WebsitePublisher, use DeepL to translate all my product descriptions into Dutch, keeping the HTML as it isWith WebsitePublisher, how many DeepL characters have I used this month?With WebsitePublisher, translate my homepage into German and French with my DeepL key and create the translated pagesWith WebsitePublisher, use DeepL to translate all my product descriptions into Dutch, keeping the HTML as it isWith WebsitePublisher, how many DeepL characters have I used this month?Endpoints (3)
Translate one or more texts. Send text as a list of strings (up to 50 per call, 128 KiB in total) and a target_lang such as "DE", "FR", "NL" or "EN-GB". For page content send the HTML with tag_handling "html": markup stays as it is and only the text is translated. Returns translations[] in the same order, each with text and detected_source_language.
| Field | Type | Required | Description |
|---|---|---|---|
text |
array | ✓ Yes | Texts to translate, as a list of strings. Example: ["Welcome to our shop", "Opening hours"]. |
target_lang |
string | ✓ Yes | Target language code, e.g. "DE", "FR", "NL", "ES", "IT", "PL", "EN-GB", "EN-US", "PT-BR". list-languages with type "target" gives the full list. |
source_lang |
string | No | Source language code, e.g. "EN" or "NL". Leave out to let DeepL detect it. |
tag_handling |
string | No | "html" when the text is HTML (page content): tags and attributes stay untouched. "xml" for XML. |
formality |
string | No | "more" (formal, e.g. German Sie, Dutch u), "less" (informal), "prefer_more" or "prefer_less" (fall back silently where the language has no formality), or "default". |
context |
string | No | Extra context that guides the translation but is not translated itself, e.g. "Website of a garden centre in Meppel". |
preserve_formatting |
boolean | No | true keeps punctuation and casing as in the source. |
model_type |
string | No | "quality_optimized", "prefer_quality_optimized" or "latency_optimized". |
glossary_id |
string | No | Id of a glossary in the DeepL account; requires source_lang. |
Characters translated in the current billing period (character_count) and the limit of the plan (character_limit).
No input parameters required.
Languages the key supports, with code and name. type "target" lists target languages (with supports_formality), "source" (default) the source languages.
| Field | Type | Required | Description |
|---|---|---|---|
type |
string | No | "source" (default) or "target". |
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| translate | deepl_translate |
| get-usage | deepl_get_usage |
| list-languages | deepl_list_languages |
Website