Skip to main content
The Translate API converts text between any of the supported languages through two endpoints:
  • Text translation (/v2/translate): translate one or many strings per request, with automatic source language detection. Suited for UI strings, messages, and any text your application handles directly.
  • Document translation (/v2/document): upload complete files, including Word, PowerPoint, PDF, and HTML, and download the translation with the original formatting intact.

Start here

Translate Text Quickstart

Send your first translation request and batch multiple strings into one call.

Translate Documents Quickstart

Upload a Word document, poll its status, and download the translated file.

How to Use the Context Parameter

Improve translation quality for short or ambiguous text by passing surrounding context.

XML and HTML Handling

Translate markup without breaking it: tag handling for XML, HTML, and structured content.

API Reference

Full request and response schemas for the text and document translation endpoints.

Customize translations

Beyond per-request parameters, three features let you tailor translations to your domain and keep terminology consistent:
  • Glossaries: enforce specific translations for individual terms, like product names or industry vocabulary
  • Custom instructions: steer tone, style, and phrasing with natural-language instructions
  • Translation memories: reuse your previously approved translations for matching segments