Logo LibreTranslate

Artificial Intelligence

LibreTranslate

LibreTranslate — your translation API on a VPS: Arabic, French, English, Spanish, API keys and a web interface, with no third-party service.

About LibreTranslate

LibreTranslate is an open-source machine translation API (AGPL-3.0 licensed), built on the offline models of Argos Translate. It runs entirely on your VPS: the texts your applications send for translation never leave your server, and there is no per-character bill.

The ServOrbit installation loads four languages — Arabic, French, English and Spanish — and locks the instance by default: every request, web interface included, requires an API key. Your applications call a simple JSON API (/translate, /detect, /languages), also translate files (docx, pdf, srt, html…), and you create one key per application, each with its own request limit. It is the building block for a multilingual website or SaaS, multilingual customer support or document pre-processing.

What gets installed

Ready when the VPS starts

Compatible OS
Choice of Linux distributions
Application
LibreTranslate
Tech stack
DockerPythonArgos Translate
Minimum RAM
2 GB minimum
Minimum CPU
2 vCPU
Default port
8117
Access
root over SSH

Key features

  • JSON translation API — /translate, /detect and /languages, callable from any language.
  • Arabic, French, English and Spanish — all four languages are loaded at install time, more can be added.
  • Automatic language detection — an "auto" source for texts whose language you do not know.
  • File translation — txt, docx, odt, pptx, epub, html, srt and pdf, from the API or the web interface.
  • One API key per application — each key carries its own requests-per-minute limit; without a key, the instance refuses everything.
  • Your data stays with you — offline models on the VPS, no text sent to a third party, no per-character cost.

When to use this solution?

A multilingual website or SaaS

Translate product pages, notifications or user-generated content on the fly between Arabic, French, English and Spanish, from your Laravel, Node.js or Python backend.

Multilingual customer support

Plug the API into your ticketing or chat tool: the message language is detected, it is translated for the agent, and the reply goes back in the customer's language.

Confidential documents

Contracts, HR files or medical records are translated on your own server, without handing them to an online service — useful when confidentiality or data location matters.

Guide

Deploy LibreTranslate on your VPS

  1. Create the VPS and choose the address

    Order an Ubuntu 24.04 VPS with 2 GB of RAM and 2 vCPUs (4 GB if several applications translate in parallel). LibreTranslate requires a domain: your applications call it over HTTPS, with an API key, on a stable name. It opens on a subdomain of one of your domains, or on the VPS's free subdomain (libretranslate.{dns_slug}.servorbit-dns.com), HTTPS included. No need to buy a domain name.

  2. Install LibreTranslate from the Marketplace

    In your client area, select LibreTranslate, choose the address and click Install. The script deploys the official image, generates your API key, locks the instance against any request without a key and sets up the nginx reverse proxy over HTTPS. On first start, the models for the four languages (about 750 MB) are downloaded: allow a few minutes.

  3. Log in for the first time

    Open https://your-domain, click the key icon ("Set API Key") at the top of the page and paste the key shown in your client area: the web interface then translates your texts and files. There is no account and no password, the key is the only access — keep it in a password manager.

  4. Call the API from an application

    Send a JSON POST to /translate with the text, the source language (or "auto"), the target language and the key: `bash curl -s https://your-domain/translate -H "Content-Type: application/json" -d '{"q":"Hello","source":"en","target":"ar","api_key":"YOUR_KEY"}'` The response contains translatedText. /languages lists the available pairs and /detect returns the language of a text.

  5. Create one key per application

    Give each application its own key, so you can revoke it without touching the others. On the VPS, over SSH: `bash docker exec -it $(docker ps -qf label=com.docker.compose.service=libretranslate) ./venv/bin/ltmanage keys add 60 The command prints the new key, limited to 60 requests per minute; ltmanage keys lists the keys and ltmanage keys remove <key>` removes one.

Frequently asked questions

Questions about LibreTranslate

← Back to Artificial IntelligenceAll applications
No, and it is worth knowing before you choose. Argos Translate models are smaller: translation is reliable for understanding a text, handling everyday content or sorting messages, but marketing or legal copy meant for the public deserves human review. In return, everything stays on your server and there is no per-character cost.

Need help?

Browse our help center and FAQ, or reach our team — callback, WhatsApp or email.

Message us on WhatsAppopens in a new tab