LibreTranslate
Translation tool with 17 available languages
LibreTranslate is a free, open-source machine translation API that you can self-host. It supports 30+ languages using the Argos Translate engine. The public instance requires no API key for basic use, and self-hosting gives you unlimited translation with no rate limits or costs.
For OpenClaw agents, LibreTranslate is the best free translation option. The public API works for light use, and self-hosting (via Docker) gives you unlimited, private translation. It's ideal for privacy-conscious setups or high-volume translation where commercial API costs would add up.
Tags: text-processing, nlp, translation
Category: Text Analysis
Use Cases
- Self-host unlimited free translation for multilingual agent workflows
- Translate user messages in real-time for international chat groups
- Build a translation skill that works offline or in air-gapped environments
Tips
- Self-host via Docker for unlimited, private, zero-cost translation
- Use source='auto' for automatic language detection before translation
- Pair with Detect Language API for more reliable language identification before translating
Known Issues & Gotchas
- Translation quality is below Google/DeepL, especially for Asian and less common languages
- Self-hosting requires 2-4GB RAM for the language models
- Public API may have intermittent availability — self-hosting is more reliable
Frequently Asked Questions
How does LibreTranslate quality compare to Google Translate?
LibreTranslate is decent for common language pairs (EN↔ES, EN↔FR, EN↔DE) but noticeably worse for less common pairs. Google Translate is significantly better overall. LibreTranslate's advantage is being free and self-hostable.
How do I self-host LibreTranslate?
Run 'docker run -ti --rm -p 5000:5000 libretranslate/libretranslate'. It downloads language models on first run. Needs 2-4GB RAM depending on how many languages you load.
Does it support auto-detection of source language?
Yes. Set source to 'auto' and LibreTranslate will detect the language automatically before translating.