Skip to content

Libre Translate

Free, open-source machine translation API that can be self-hosted with a simple web interface.

Self-hostedNot yet verified
Report issueDemo online
MIT★ 11000

Open the official app on libretranslate.com

This tool is hosted by its maintainers. Click below to open libretranslate.com in a new tab — it's their official demo.

Browse text & tools tools →

What's next with Libre Translate?

Choose how you want to get started.

Use it free

Open the official tool or demo — no account needed.

Free

Self-host it

Run the open-source version on your own infrastructure.

Open

What is Libre Translate?

LibreTranslate is an open-source machine translation API designed to provide free, accessible language translation services. Developed under the AGPL-3.0 license, it enables users to translate text and files between supported languages without relying on proprietary cloud services. The tool is particularly useful for developers, data scientists, and organizations seeking to integrate translation capabilities into their applications or workflows. By offering offline operation and self-hosting options, LibreTranslate addresses the need for privacy, data sovereignty, and reduced dependency on third-party services. Its popularity, reflected in over 11,000 GitHub stars, underscores its value in scenarios where control over data and infrastructure is critical. The primary purpose of LibreTranslate is to facilitate cross-lingual communication through automated translation. It leverages pre-trained neural machine translation models, allowing users to translate text or files between languages with minimal setup. The tool is commonly used in multilingual content creation, localization projects, and data processing pipelines. Its ability to run offline and be self-hosted makes it ideal for environments where internet connectivity is limited or where data privacy is a priority. Users benefit from a flexible solution that can be integrated into existing systems or used as a standalone service, ensuring that translation capabilities are both accessible and customizable.

How it works

LibreTranslate supports a range of languages, including English, Spanish, French, and others, based on the models it uses. It requires Python 3.x and depends on libraries such as Flask for the web framework, PyTorch or TensorFlow for machine learning operations, and other supporting packages. The tool is compatible with modern web browsers and can be accessed via HTTP/HTTPS protocols. Data flows from the user's request through the API server to the translation model, which processes the input and returns the translated output. Privacy is maintained by allowing users to host the service locally or on private servers, ensuring that sensitive data is not transmitted to external servers.

How to use it

  1. 1Download and install the LibreTranslate software from its GitHub repository. 2. Configure the server by setting up the necessary dependencies and environment variables. 3. Start the service using the provided command-line interface or Docker container. 4. Access the API endpoint to send translation requests and receive translated content. When setting up the service, ensure that all required libraries and dependencies are installed. For production use, consider deploying the service on a secure server with appropriate firewall settings to protect against unauthorized access.

What it can do

  • self-hosted translation API

Use cases

Assumptions and limitations

Assumptions

  • source: https://github.com/LibreTranslate/LibreTranslate
  • license: AGPL-3.0 — free to use
  • privacy: Self-hosted — you control your data

Limitations

  • Translation accuracy may vary for less common language pairs -> Users should review critical translations -> Implement post-translation validation processes.
  • Performance depends on hardware resources -> Low-end systems may experience delays -> Upgrade hardware or optimize resource allocation.
  • Limited support for dialects and specialized terminology -> Translations may lack nuance -> Use domain-specific models or manual review.
  • Self-hosting requires technical expertise -> Non-technical users may struggle -> Provide training or documentation for setup.
  • No built-in spell-checking or grammar correction -> Translations may contain errors -> Integrate with third-party tools for editing.

Understanding the result

Free, open-source machine translation API that can be self-hosted with a simple web interface.

Tool details

  • Clearly flagged when a network request is needed.
  • No account, no sign-up, and no tracking of your content.
  • Powered by (MIT).
Built with
(LibreTranslate/LibreTranslate)
License
MIT
Runs locally
No — requires a network request
Verification
Not yet verified
Input
Query
Output
Text
Open-source source & license

Built with LibreTranslate/LibreTranslate. OpenToolVault provides the discovery and browser interface while crediting the original project maintainers.

Built with
License
MIT
View source on GitHub

Open-source project

OpenToolVault is an independent directory. We are not affiliated with or endorsed by this project.

References

Frequently asked

How can I translate text using LibreTranslate?

To translate text using LibreTranslate, first install the LibreTranslate API on a server or local machine. Then, send a POST request to the API endpoint with the text to be translated, specifying the source and target languages. The API will return the translated text in the response. For file translation, upload the file through the API interface, and the service will process and return the translated content.

How does LibreTranslate handle multiple languages?

LibreTranslate uses pre-trained neural machine translation models that support multiple languages. These models are trained on large multilingual datasets, enabling the system to understand and generate translations between different languages. The tool supports a range of languages, including English, Spanish, French, and others, depending on the specific models used. Users can specify the source and target languages when making translation requests, ensuring accurate cross-lingual communication.

How can I set up LibreTranslate on my local machine?

To set up LibreTranslate on your local machine, first download the software from its GitHub repository. Then, install the required dependencies, such as Python and any necessary libraries. Once the dependencies are installed, run the setup script to configure the service. Finally, start the service using the command-line interface or a Docker container. Ensure that the server is running and accessible through the specified API endpoint.

How does LibreTranslate compare to Google Translate or DeepL?

LibreTranslate differs from Google Translate and DeepL in that it is an open-source, self-hosted solution, whereas Google Translate and Deep, L are proprietary services. LibreTranslate allows users to maintain control over their data and infrastructure, while Google Translate and DeepL operate as cloud-based services. Additionally, LibreTranslate supports offline operation and can be customized for specific use cases, making it a flexible alternative to commercial translation tools.

What should I do if I encounter an error while using LibreTranslate?

If you encounter an error while using LibreTranslate, first check the error message for specific details. Common issues may include incorrect API endpoints, missing dependencies, or configuration errors. Verify that the server is running and accessible, and ensure that all required libraries and dependencies are installed. If the issue persists, consult the project's documentation or community forums for additional troubleshooting guidance.

Spotted something wrong with Libre Translate, or want to maintain it? See how to help.