# Microsoft Translator

Category: [Language and text](https://free-web-services.com/web-services/language/)  
Page: https://free-web-services.com/web-services/language/microsoft-translator.html  
Documentation: https://learn.microsoft.com/azure/ai-services/translator/

Microsoft Translator (Azure AI Translator) translates text between more than 100 languages through a REST API, and can also detect languages, transliterate between scripts and look up dictionary translations. Document translation keeps the layout of Word, PDF and other files. Responses are JSON. Free tier of 2 million characters per month with an Azure account; paid above that.

- API key: Needed, free
- Pricing: Free tier of 2 million characters per month with an Azure account; paid above that.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST
- Provider: learn.microsoft.com
- Last checked: Working on November 15th, 2026

Example request:

```sh
curl -X POST 'https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=de' \
  -H 'Ocp-Apim-Subscription-Key: YOUR_API_KEY' \
  -H 'Ocp-Apim-Subscription-Region: westeurope' \
  -H 'Content-Type: application/json' \
  -d '[{"Text": "hello"}]'
```

Replace YOUR_API_KEY with your own key. The JavaScript works in a web page as well as in Node.js 18 or newer.

