explaingit

toto-sys28/freetranslate

Analysis updated 2026-05-18

5JavaScriptAudience · generalComplexity · 3/5Setup · moderate

TLDR

A fully local, offline-capable translation app supporting 200+ languages via open-source AI models, with a web interface and browser extension, no API keys needed.

Mindmap

mindmap
  root((FreeTranslate))
    What it does
      Text translation
      Document translation
      In-page browser extension
      Auto language detection
    Privacy
      100 percent local
      No data sent out
      Offline after download
    Tech Stack
      Python backend
      CTranslate2
      NLLB-200 models
      Docker
    Setup
      Docker Compose
      Manual Python install
      Browser extension loader
    Audience
      Privacy-conscious users
      Offline workers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Translate documents or text across 200+ languages without your content leaving your machine.

USE CASE 2

Highlight foreign-language text on any webpage and see an instant translation overlay in your browser.

USE CASE 3

Run a private translation service on a home server or air-gapped machine using Docker.

What is it built with?

PythonJavaScriptCTranslate2FastAPIDockerNLLB-200

How does it compare?

toto-sys28/freetranslateijzereen/branch-of-thoughtarata-ae/purupurupngtuber
Stars554
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderateeasymoderate
Complexity3/52/53/5
Audiencegeneralgeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Docker or a Python 3.8+ environment and downloads ~5 GB of model files on first run, GPU acceleration needs NVIDIA Container Toolkit.

The README does not specify a license.

In plain English

FreeTranslate is a translation application that runs entirely on your own computer. It uses open-source AI models to translate text across more than 200 languages without sending anything to an external server. Once the models are downloaded, the app works offline. No API keys or accounts are required. The application has two parts: a web interface you open in a browser at a local address, and an optional browser extension. The web interface lets you type or paste text, select source and target languages, and translate with a button click. It also supports file translation for DOCX, PDF, and plain text files. The browser extension adds a separate layer: highlight any text on a webpage and a translation card appears automatically, or click the extension icon to translate an entire page at once. Under the hood the app uses Facebook's NLLB-200 models, which were built for low-resource languages and cover a wide range of scripts and dialects. The inference runs through CTranslate2, a library that converts these models into a faster format. If you have an NVIDIA graphics card, the app detects it and uses the GPU for noticeably faster translations. If not, it falls back to the CPU, which is slower but still functional. Installation comes in two flavors. The Docker path is the simpler one: clone the repo, run docker-compose up, and the app is available at localhost:8000. The manual path installs Python dependencies in a virtual environment and starts a local server with one command. The browser extension is loaded into Chrome, Edge, Firefox, or other browsers in developer mode by pointing the browser at the extension folder. The default model uses 1.3 billion parameters and needs at least 8 GB of RAM. A smaller 600-million-parameter model is available for machines with less memory. Both models are downloaded on first run. The app stores them in a local directory and reuses them on subsequent starts. The README says storage needs around 5 GB minimum for the model files.

Copy-paste prompts

Prompt 1
I want to run FreeTranslate locally using Docker. Walk me through the docker-compose setup and how to enable GPU acceleration for faster translations.
Prompt 2
I installed FreeTranslate manually and the server starts but translations are slow. How do I check if CUDA is being used and switch to the smaller 600M model to reduce memory?
Prompt 3
How do I load the FreeTranslate browser extension in Chrome so I can highlight text on webpages and see translations in an overlay?
Prompt 4
I want to translate a PDF file with FreeTranslate. What file types are supported and how does the document upload work in the web interface?

Frequently asked questions

What is freetranslate?

A fully local, offline-capable translation app supporting 200+ languages via open-source AI models, with a web interface and browser extension, no API keys needed.

What language is freetranslate written in?

Mainly JavaScript. The stack also includes Python, JavaScript, CTranslate2.

What license does freetranslate use?

The README does not specify a license.

How hard is freetranslate to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is freetranslate for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub toto-sys28 on gitmyhub

Verify against the repo before relying on details.