LibreTranslate
Translation tool with 17 available languages
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Text Analysis
- Documentation / URL
- https://libretranslate.com/docs
Overview
LibreTranslate is an open-source machine-translation API (Argos Translate backend) — a privacy-friendly alternative to Google Translate. The project is designed to be self-hosted: you can run your own instance for free, forever.
⚠️ Status (verified 2026-08): the public instance at libretranslate.com now requires an API key (POST /translate returns
400: Visit https://portal.libretranslate.com to get an API key). The free, unlimited path is self-hosting — which is the project’s intended model anyway.
Quick Start
On a self-hosted instance (or with your portal key):
curl -X POST "http://localhost:5000/translate" \
-H "Content-Type: application/json" \
-d '{"q": "Hello world", "source": "en", "target": "es"}'
{"translatedText": "Hola mundo"}
Detect language:
curl -X POST "http://localhost:5000/detect" \
-H "Content-Type: application/json" \
-d '{"q": "Hola mundo"}'
List supported languages:
curl "http://localhost:5000/languages"
Authentication
- Public instance: requires a (free) API key from portal.libretranslate.com.
- Self-hosted: no auth by default (add
api_keysin the config if you want keys).
Rate Limits & Notes
- The public instance is rate-limited; self-hosting removes limits entirely.
- ~130+ languages; translation quality varies by language pair (Argos models).
- Docker deployment is one command:
docker run -p 5000:5000 libretranslate/libretranslate. - Privacy-friendly: self-hosted means your text never leaves your server.
FAQ
Is LibreTranslate free? The software is free and open-source. The public instance now requires a free key; self-hosting is free forever.
Do I need a key? On the public instance, yes. On your own instance, no (by default).
How do I self-host?
docker run -p 5000:5000 libretranslate/libretranslate — then use localhost:5000.
More in Text Analysis
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| apilayer languagelayer Language Detection JSON API supporting 173 languages | OAuth | Yes | Unknown | ↗ |
| Audexum Text-to-speech REST API with 43 voices and 33 languages | API Key | Yes | Yes | ↗ |
| Aylien Text Analysis A collection of information retrieval and natural language APIs | API Key | Yes | Unknown | ↗ |
| Cloudmersive Natural Language Processing Natural language processing and text analysis | API Key | Yes | Yes | ↗ |
| Code Detection Detect, label, format and enrich the code in your app or in your data pipeline | OAuth | Yes | Unknown | ↗ |