LibreTranslate
Free and open-source machine translation API that can be self-hosted, powered by Argos Translate, with no dependency on proprietary services like Google or Azure.
Smart Download
Visit Project Homepage
No installer available yet — head to the source repository
Self-hosted, open-source machine translation API that keeps your data private.
Core Features
- Fully self-hosted, no data sent to third parties
- Open-source neural translation engine supporting 100+ languages
- REST API and web interface with batch translation support
- Lightweight, deployable via Docker or pip
What It Can't Do
- •Model files (~1-2 GB) download on first launch; CPU-only by default, can be slow; translation quality may lag behind commercial engines for less common languages.
Use Cases
- Internal corporate translation without exposing sensitive data
- Integrating translation into apps without recurring API costs
- Privacy-preserving batch document translation
Detailed Introduction
LibreTranslate is a free and open-source machine translation API that you can host entirely on your own infrastructure. Unlike popular translation services, it does not rely on proprietary platforms like Google Translate or Azure Cognitive Services. Instead, it uses the open-source Argos Translate library, which provides neural machine translation for over 100 languages. The project offers a simple REST API, a web interface, and support for multiple output formats. It is designed to be lightweight, privacy-respecting, and easy to deploy via Docker or pip. Ideal for developers who want to integrate translation without sending data to third parties, or for organizations that need to keep translations internal.
Troubleshooting & FAQ (2)
TroubleshootingHow to fix Docker build error './venv/bin/python: can't open file '/app/scripts/compile_locales.py': No such file or directory' for LibreTranslate?
This error occurs when the Docker build context is not set to the LibreTranslate project root directory, so the scripts/compile_locales.py file is missing. Fix: run the build command from the project root, not inside the docker/ folder. Use docker build . -f docker/Dockerfile -t libretranslate (note the leading dot for context). If using docker-compose, set context: ./libretranslate/ (pointing to the project root) in the build section. Example docker-compose snippet:
libretranslate:
build:
context: ./libretranslate/
dockerfile: ./docker/DockerfileEnsure your directory structure contains the
scripts folder at the root.TroubleshootingHow to fix CVE-2024-49768 waitress vulnerability in LibreTranslate?
LibreTranslate pins waitress 2.1.2, which is vulnerable to CVE-2024-49768 (race condition). Upgrade waitress to version 3.0.1 or later. Use command: pip install waitress>=3.0.1. Monitor issue #965 for an official dependency bump.
Tags
Getting Started
Download installer
Click the button above to download the installer for your system
Install the software
Double-click the downloaded installer and follow the prompts
Docker: docker run -ti --rm -p 5000:5000 libretranslate/libretranslate
Pip: pip install libretranslate && libretranslate (requires Python 3.8+)
Open http://localhost:5000 in browser to use the web interface or API
- Docker: docker run -ti --rm -p 5000:5000 libretranslate/libretranslate
- Pip: pip install libretranslate && libretranslate (requires Python 3.8+)
- Open http://localhost:5000 in browser to use the web interface or API
Checksum not available
This project has not published a SHA-256 checksum on its GitHub Release page
SHA256 Checksum
No checksum available
Download directly from GitHub Releases and verify file integrity yourself
All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.
Open Source Transparency
View GitHub SourceUninstall Info
Docker: docker rm <container>; Pip: pip uninstall libretranslate
No Extra Dependencies
Ready to use after download. No additional runtime required.
Having issues? Check the FAQ below
2 FAQs
Similar Projects
goose
Goose is a general-purpose AI agent that runs on your machine. Use it for coding, research, writing, automation, and more. It offers a native desktop app (macOS, Linux, Windows), a full CLI, and an API. Works with 15+ providers (Anthropic, OpenAI, Google, Ollama, etc.) and connects to 70+ extensions via the Model Context Protocol. Built in Rust, part of the Linux Foundation.
Chatbox
Chatbox Community Edition is an open-source desktop client for interacting with multiple large language models. It supports OpenAI (ChatGPT), Azure OpenAI, Claude, Google Gemini Pro, Ollama (local models like Llama 2, Mistral), and ChatGLM-6B. All your chat data is stored locally on your device, ensuring privacy and preventing data loss. The app features a clean, ergonomic UI with dark mode, keyboard shortcuts, streaming replies, and full Markdown/LaTeX rendering with code highlighting. It also includes a prompt library, message quoting, and team collaboration for sharing API resources. Available on Windows, macOS, Linux, Web, iOS, and Android. The community edition is fully functional but may lack some advanced features from the pro version.
daily_stock_analysis
An open-source AI stock analysis system for A/H/US markets that generates daily decision dashboards and pushes them to WeChat Work, Feishu, Telegram, Discord, Slack, or email. Deploy via GitHub Actions for free.