Skip to content

Best PicksGPU

Best Local AI PDF Translators for Your PC in 2026

Want to translate a PDF without uploading it or losing the layout? We pick the best open source tools that keep formulas and formatting and can use a local AI model on your PC: PDFMathTranslate 2.0, PDFMathTranslate 1.x, BabelDOC and Argos Translate Files.

By , Buying Guides & Peripherals Editor

4 min read

Best Local AI PDF Translators for Your PC in 2026

Our picks at a glance

  1. 1
    NVIDIA GeForce RTX 5090 Founders Edition
  2. 2
    ASUS RTX 5070 Ti 16GB TUF Gaming OC
    ASUS RTX 5070 Ti 16GB TUF Gaming OC
  3. 3
    PowerColor RX 9070 XT 16GB Reaper
    PowerColor RX 9070 XT 16GB Reaper
  4. 4
    Intel Arc B580 Limited Edition 12GB

Translating a PDF usually means copying text into a website and losing the layout. A handful of open source tools can instead translate the PDF itself, keep formulas, charts and page layout in place, and send the text to an AI model running on your own PC rather than to a cloud service.

Quick picks

Tool

Best for

Interface

Local AI option

PDFMathTranslate 2.0 (pdf2zh-next)

Best overall

Windows EXE, WebUI, command line, Docker

OpenAI-compatible engine; WebUI has an Ollama host field

PDFMathTranslate 1.x (pdf2zh)

Simplest Ollama set-up

Command line, browser GUI, Windows ZIP, Docker

Built-in ollama service

BabelDOC

Scripts and developers

Command line and Python API

Any OpenAI-compatible endpoint, including Ollama

Argos Translate Files

Fully offline without an LLM

Python library

Offline Argos Translate language models

1. PDFMathTranslate 2.0: best overall

PDFMathTranslate 2.0, also called pdf2zh-next, describes itself as PDF scientific paper translation and bilingual comparison based on BabelDOC, and says it preserves formulas, charts, table of contents and annotations. It's also the official reference implementation for using BabelDOC to translate PDFs.

It's the easiest one to get running on Windows. The project recommends its Windows EXE: download the "with-assets" ZIP from the release page, which includes fonts and models, unzip it and double-click pdf2zh.exe. A web page then opens in your browser at http://localhost:7860/, where you drop in a PDF and click Translate. Docker is recommended for Linux and uv for macOS, and there's a command-line version too.

For local AI, the project lists OpenAI and an OpenAICompatible engine among its officially supported (Tier 1) translation engines, and its WebUI guide tells Docker users running Ollama to fill in the "Ollama host" field. It's released under the AGPL v3 licence, and the maintainers say they don't offer usage support, so expect to rely on the documentation.

2. PDFMathTranslate 1.x: simplest Ollama set-up

The original PDFMathTranslate (the pdf2zh package) remains the stable release, according to its README. It does the same core job of translating scientific PDFs while preserving layout, and offers a command-line tool, a browser interface (pdf2zh -i), a Windows ZIP and Docker images. Its research paper was accepted at the EMNLP 2025 System Demonstrations conference.

Its advantage for local AI is a dedicated ollama service. You set OLLAMA_HOST and OLLAMA_MODEL, then run pdf2zh document.pdf -s ollama. Watch out for one thing: Google is the default translation service, so if you forget the -s option your text goes to Google rather than staying on your PC. It produces a translated -mono.pdf and a bilingual -dual.pdf. Our guide to translating PDFs locally with PDFMathTranslate and Ollama walks through it.

3. BabelDOC: best for scripts and developers

BabelDOC is the PDF translation library that sits underneath PDFMathTranslate 2.0. It offers a command-line interface and a Python API and is mainly designed to be embedded into other programs, although it can be used directly for simple jobs. You install it with uv (uv tool install --python 3.12 BabelDOC).

It only supports OpenAI-compatible LLMs, but that includes local servers: its README says that for local models such as Ollama you can use any value as the API key. Bear in mind that BabelDOC says its CLI is mainly for debugging, it doesn't provide technical support for end users, and it mainly focuses on English-to-Chinese translation. We compare it in detail in PDFMathTranslate vs BabelDOC.

4. Argos Translate Files: fully offline without an LLM

If you don't want to run a large language model at all, Argos Translate is an open source offline translation library written in Python that uses OpenNMT, with downloadable language packages for each translation direction. The separate Argos Translate Files package translates .txt, .odt, .odp, .docx, .pptx, .epub, .html, .srt and .pdf files. It's a Python library rather than an app, and it doesn't claim to preserve formulas and layout the way the PDFMathTranslate tools do. For plain text translation with the same engine, see our LibreTranslate guide and our best offline translation apps.

What hardware do you need?

With the LLM-based tools, the translation itself is done by the local model you choose, so what matters is whether your PC can run that model well. Our best GPU for local LLMs guide and how much VRAM you need explain the trade-offs. Examples in our database include the NVIDIA GeForce RTX 5090 Founders Edition, the ASUS RTX 5070 Ti 16GB TUF Gaming OC, the PowerColor RX 9070 XT 16GB Reaper and the Intel Arc B580 Limited Edition. If you're new to Ollama, start with running AI models locally.

The bottom line

PDFMathTranslate 2.0 is the best starting point for most people: it has a Windows EXE and WebUI, keeps formulas and layout, and can use a local model through its OpenAI-compatible engine or Ollama. Choose PDFMathTranslate 1.x for the simplest built-in Ollama option, BabelDOC if you're writing scripts, and Argos Translate Files if you want offline translation without an LLM. Whatever you use, set a local service explicitly so your documents stay on your PC.

Sources

  1. 01PDFMathTranslate-next on GitHub (PDFMathTranslate 2.0 README)
  2. 02PDFMathTranslate 2.0 docs: Install via Windows EXE
  3. 03PDFMathTranslate 2.0 docs: Documentation of Translation Services
  4. 04PDFMathTranslate 2.0 docs: WebUI
  5. 05PDFMathTranslate on GitHub (1.x README)
  6. 06PDFMathTranslate 1.x: Advanced usage (docs/ADVANCED.md)
  7. 07BabelDOC on GitHub (funstory-ai)
  8. 08Argos Translate on GitHub
  9. 09Argos Translate Files on GitHub

About the author

Hannah Vance

Buying Guides & Peripherals Editor

Hannah edits Forge PC's buying guides and component roundups across gaming monitors, mechanical keyboards, mice, cases and power supplies. She specialises in OLED and Mini-LED panel characteristics, low-latency wireless peripherals, acoustic damping and value-for-money component selection for UK PC builders.

More from Hannah Vance

Read next

How to Rename Your PC in Windows 11

How-To

How to Rename Your PC in Windows 11

Stuck with a random PC name like DESKTOP-something? We show how to check your current computer name and rename your PC in Windows 11 using Settings or PowerShell's Rename-Computer, following Microsoft's documentation, plus the naming rules that keep the new name working on your network.

Marcus Thorne3 min

The Best Steam Features Every PC Gamer Should Be Using in 2026

Best Picks

The Best Steam Features Every PC Gamer Should Be Using in 2026

Steam is much more than a shop and launcher. Using Valve's own support pages and documentation, we pick the best built-in Steam features for PC gamers, from Game Recording and the Performance Monitor to Steam Cloud, Steam Families, Remote Play, Big Picture mode, Steam Input and file verification.

Hannah Vance5 min

How to Customise the Lock Screen in Windows 11

How-To

How to Customise the Lock Screen in Windows 11

Windows 11's lock screen doesn't have to stay on the defaults. Following Microsoft's support guide, we show how to set Windows spotlight, a picture or a slideshow, turn off the tips and fun facts, show the same image on the sign-in screen, and add, reorder or hide lock screen widgets.

Marcus Thorne3 min

PDFMathTranslate vs BabelDOC: Which Local PDF Translator Should You Use?

Versus

PDFMathTranslate vs BabelDOC: Which Local PDF Translator Should You Use?

PDFMathTranslate and BabelDOC both translate PDFs while keeping layouts and can use local AI models through Ollama. Using their official docs, we compare how they're related, ease of use, local model support, output options and which one you should install.

Callum Reid3 min