DesktopTranslator is a free desktop app that translates text and text files on your own computer. Nothing is sent to a server, and once you have downloaded a translation model, you do not need an Internet connection. It supports translation between 200 languages through open-source models; in addition, you can add your own models.
Updated in November 2026 for DesktopTranslator v0.4.0.

- The source language is detected, and each sentence is translated on its own, keeping your paragraphs
- The translation appears as it is made, and you can cancel and keep what is done
- Long files are translated in the background with File menu > Translate Document…
- Right-to-left languages such as Arabic are edited right to left, and the app follows the dark mode of your system
DesktopTranslator supports NLLB-200 (200 languages), M2M-100 (100 languages), and bilingual models such as OPUS-MT. The code is open source under the MIT license.
Download
Download the Windows installer or the macOS app the following links:
Change log is available Releases. Your system might show a warning the first time, which you can avoid safely as follows:
- macOS. Open System Settings > Privacy & Security, and click Open Anyway.
- Windows. If SmartScreen shows a warning, click More info > Run anyway.
Quick Start
DesktopTranslator needs a translation model. The NLLB-200 600M model is a good first choice, because it is the smallest and fastest, and it translates between 200 languages.
- Choose Help menu > Get Models… and download the NLLB-200 600M model, or download it here. Then extract the
.ziparchive. - Click the Open Model... button and select the extracted folder,
nllb-200-distilled-600M-int8. The SentencePiece model in the same folder is found automatically. - Select the language you want in the To list. You can type to search the list. The source language is detected, but you can also select it in the From list.
- Type or paste your text on the left, or use File menu > Open Text… to open a
.txtfile. - Click the Translate button. You can click Cancel at any time, and the part that is already translated is kept.
When the translation is ready, click Copy or use File menu > Save Translation…
Everyday Use
- Translation quality. In Edit menu > Preferences, you can choose Fast, Balanced (the default), or Accurate. Accurate is slower, but it can give better translations.
- Long texts. The text area accepts up to 20,000 words. For a longer text, use File menu > Translate Document…, which translates a plain text file into another file in the background, with a progress bar and the time left. If you cancel, the translated part is saved.
- File formats. Only plain text (
.txt) files are supported. For a PDF or Word document, save or copy the text as a plain text file first. - Memory. Larger models need more memory. The app warns you if your computer may not have enough free memory for the model you open.
Translation Models
DesktopTranslator runs CTranslate2 models, together with their SentencePiece subwording model. Help menu > Get Models… lists the NLLB-200 600M and 1.3B models, the two M2M-100 models, and a small French-to-English model to try the app. The README has all the download links, including the NLLB-200 3.3B model.
- NLLB-200 comes in three sizes. The 600M model is the smallest and fastest. The 1.3B model is slower and needs more memory, but it is sometimes more accurate. The 3.3B model is the largest. Note that Meta released the NLLB-200 models under the CC-BY-NC 4.0 license, which does not allow commercial use.
- M2M-100 has a 418M and a 1.2B model, released under the MIT license. Select the target language in the To list, as with NLLB-200.
- Bilingual models, such as OPUS models, can be more efficient. Convert the model to the CTranslate2 format first, for example.
ct2-opus-mt-converter --model_dir opus_model_dir --output_dir ct2_model_dir --quantization int8
If you have a model for OpenNMT-py, OpenNMT-tf, or FairSeq, you can also convert it to the CTranslate2 format. When you open the folder of a model, the app asks you for the SentencePiece model if it finds none in that folder, or finds several, as with a bilingual model that has one for each language.
How It Works
The translation code is separate from the interface. engine.py loads the models and translates, and qt_app.py is the interface, built with Qt for Python (PySide6). The steps for a text are as follows.
- Language detection. If you do not select the source language, the app detects it with the fastText language identification model, which is included in the app.
- Sentence splitting. The text is split into paragraphs and sentences, with a splitter that suits the language (pysbd, sentence-splitter, or the Indic NLP Library). This keeps your paragraphs and line breaks in the translation.
- Translation. SentencePiece splits each sentence into subwords, and CTranslate2 translates batches of sentences on the CPU. Each sentence is translated on its own, because NMT models such as NLLB-200 are usually trained on sentences, and translating several sentences together can make them drop content. A sentence that repeats in the text is translated once and reused, so it is translated the same way everywhere.
- Display. Each batch is shown as soon as it is ready, so you can read the beginning of a long translation while the rest is still running.
The repetition penalty, an option that discourages repeated words, is off by default. In tests/repetition_penalty_eval.py, translations scored higher without it on the FLORES-200 test set, with NLLB-200, M2M-100, and a French-to-English model. You can still turn it on in the Preferences.
For long files, Engine.translate_file reads the file in parts of about 200 lines and writes each translated part to the output file straight away. This is why any length works, and why cancelling keeps what is done.
Build or Contribute
To run the app from the source code, you need Python 3.11 or later.
git clone https://github.com/ymoslem/DesktopTranslator.git
cd DesktopTranslator
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python qt_app.py
The README explains how to build the Windows installer and the macOS app yourself, and the installers of each release are built with a GitHub Actions workflow. The tests are in the tests folder. If you find a problem, please open an issue. The earlier version of the app, with a Tkinter interface, is in the tk branch. The licenses of the software and models that DesktopTranslator uses are in NOTICE.md.
See Also
- Web Interface for Machine Translation, a browser-based translator built with CTranslate2 and Streamlit
- CTranslate-NMT-Web-Interface, the code for a CTranslate2 web interface
References
- Efficient and High-Quality Neural Machine Translation with OpenNMT, Klein et al., 2020
- Beyond English-Centric Multilingual Machine Translation, Fan et al., 2020
- No Language Left Behind: Scaling Human-Centered Machine Translation, NLLB Team et al., 2022