Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure Translator in Foundry Tools is a cloud-based REST API feature of Translator that uses neural machine translation technology to enable quick and accurate source-to-target text translation in real time across all supported languages. In this overview, you learn how the Text translation REST APIs enable you to build intelligent solutions for your applications and workflows.
Text translation documentation contains the following article types:
- Quickstarts. Getting-started instructions to guide you through making requests to the service.
- How-to guides. Instructions for accessing and using the service in more specific or customized ways.
- Reference articles. REST API documentation and programming language-based content.
Text translation features
With the latest preview release, you now can optionally select either the standard neural machine translation (NMT) or a Large Language Model (LLM) deployment (GPT-4o-mini or GPT-4o). However, using an LLM model requires you to have a Microsoft Foundry resource. For more information, see configure Azure resources.
Languages. Returns a list of languages supported by the Translate and Transliterate APIs. This request doesn't require authentication; just copy and paste the following
GETrequest into your preferred REST API tool or browser:https://api.cognitive.microsofttranslator.com/languages?api-version=2025-10-01-previewTranslate. Renders single source-language text to multiple target-language texts with a single
POSTrequest:Transliterate. Converts characters or letters of a source language to the corresponding characters or letters of a target language with a single
POSTrequest.
Text translation development options
Add Text translation to your projects and applications using the following resources:
| Development option | Description |
|---|---|
| Foundry | • Foundry (classic) portal is a cloud-based AI platform that supports hub-based projects and other resource types. •Foundry (new) portal is a cloud-based AI platform that provides streamlined access to Foundry models, agents, and tools through Foundry projects. |
| REST API | Integrate translation into your applications using the REST API (GA) version or REST API (preview) version. |
| Client libraries (SDKs) | Get started integrating translation capabilities into your applications using one of our client libraries (SDKs) available in various programming languages. |
| Docker container | • To use the Translator container, you must complete and submit the Foundry Tools application for Gated Services online request form for approval for access to the container. • The Translator container image supports limited features compared to cloud offerings. For more information, see Container: Translate Text. |
Data residency
Text translation data residency depends on the Azure region where your Translator resource was created:
Text translation data residency
✔️ Feature: Translator Text
| Service endpoint | Request processing data center |
|---|---|
Global (recommended):api.cognitive.microsofttranslator.com |
Closest available data center. |
Americas:api-nam.cognitive.microsofttranslator.com |
East US 2 • West US 2 |
Asia Pacific:api-apc.cognitive.microsofttranslator.com |
Japan East • Southeast Asia |
Europe (except Switzerland):api-eur.cognitive.microsofttranslator.com |
France Central • West Europe |
| Switzerland: For more information, see Switzerland service endpoints. |
Switzerland North • Switzerland West |
Switzerland service endpoints
Customers with a resource located in Switzerland North or Switzerland West can ensure that their Text API requests are served within Switzerland. To ensure that requests are handled in Switzerland, create the Translator resource in the Resource region Switzerland North or Switzerland West, then use the resource's custom endpoint in your API requests.
For example: If you create a Translator resource in Azure portal with Resource region as Switzerland North and your resource name is my-swiss-n, then your custom endpoint is https​://my-swiss-n.cognitiveservices.azure.com. And a sample request to translate is:
// Pass secret key and region using headers to a custom endpoint
curl -X POST "https://my-swiss-n.cognitiveservices.azure.com/translator/text/v3.0/translate?to=fr" \
-H "Ocp-Apim-Subscription-Key: xxx" \
-H "Ocp-Apim-Subscription-Region: switzerlandnorth" \
-H "Content-Type: application/json" \
-d "[{'Text':'Hello'}]" -v
Custom Translator isn't currently available in Switzerland.
Get started with Text translation
Ready to begin?
Create a Translator resource in the Azure portal.
Get your access keys and API endpoint. An endpoint URL and read-only key are required for authentication.
Explore our Quickstart "Learn to Use the Translator via REST and a preferred programming language.") and view use cases and code samples for the following programming languages:
Next steps
Dive deeper into the Text translation REST API: