DeepL for Developers

The Language AI platform for developers. Translate text, documents, or speech through simple APIs.

Start free, no credit card required.

translate.sh
Showing the cURL example
# Choose a target language, then select Run to translate.
curl -X POST https://api.deepl.com/v2/translate \
  --header "Content-Type: application/json" \
  --header "Authorization: DeepL-Auth-Key $YOUR_API_KEY" \
  --data '{ "text": ["Hello, world!"], "target_lang": "" }'
$ sh translate.sh

Our APIs

Translate API

Translate text and HTML with world-leading accuracy.

  • 100+ supported languages
  • Glossary & formality control
  • HTML/XML support

Voice API

Transcribe and translate speech in real time with both speech-to-text and speech-to-speech.

  • 30+ supported languages
  • Low-latency streaming
  • Specialized vocabulary support

Document API

Translate documents like PDF, DOCX, PPTX, and more, while preserving original formatting and design.

  • 15+ supported formats
  • Support for images, tables, and rich text
  • Up to 100 MB per document

Get started in 5 minutes

Translate API - your first API call

Showing the Python example

1. Get your API key

Sign up for free (no credit card required) and copy your API key from the Console.

2. Install the SDK

pip install deepl

3. Make your first call in Python

Copy this code, paste your API key, and run it.

import deepl

deepl_client = deepl.DeepLClient("YOUR_API_KEY")
result = deepl_client.translate_text("Hello, world!", target_lang="DE")
print(result.text)  # "Hallo, Welt!"

Start building with DeepL

Free API key. No credit card required.

Translate, transcribe and write in 30+ languages.