Skip to content

PDFMathTranslate

[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

Install

$pip install uv

Install command taken from the project's README or registry entry. Always review code before running it.

Special thanks to:

	<h>Warp, built for coding with multiple AI agents</b>
	
	Available for macOS, Linux and Windows

English | 简体中文 | 繁體中文 | 日本語 | 한국어

PDFMathTranslate

  1. What does this do?

Scientific PDF document translation preserving layouts.

  1. Recent Updates
  • [October 3, 2026] Translated PDFs automatically add spaces between adjacent CJK and Latin letters, including accented letters, in normal and --ultrafast modes.

  • [October 2, 2026] Added the --ultrafast CLI mode for native-text PDFs. It uses pdf-inspector text positions for heuristic layout and skips ONNX layout and OCR. (by @reycn)

  • [September 8, 2026] Experimental OCR support, with paragraph regrouping and adaptive typesetting. (by @reycn)

  • [March 23, 2026] Experimental support for v2.0 translation kernel using isolated environment (--mode precise). (by @reycn)

  • [March 22, 2026] Supporting MiniMax (PR by @octo-patch)

  • [March 22, 2026] Fixing OpenAI-related issues (PR by @samqin123)

  • [March 22, 2026] Fixing HTTP-related issues (PR by @soukouki)

  • [March 22, 2026] Faster model loading on mac and OONX platforms, GUI starting-up, version printing, and continuous integration.(by @reycn)

  • [May 9, 2025] pdf2zh 2.0 Preview Version #586: The Windows ZIP file and Docker image are now available.

    [!NOTE]

    2.0 Moved to a new repository under the organization: PDFMathTranslate/PDFMathTranslate-next

    Version 2.0 official release has been published.

  1. Use 🌟 3.1 Online Service 🌟

You can try our application out using either of the following demos:

Note that the computing resources of the demo are limited, so please avoid abusing them.

3.2 Local Installation

For different use cases, we provide distinct methods to use our program:

3.2.1 Python: Install using uv

  1. Python installed (3.11 <= version <= 3.12)

  2. Install our package:

    pip install uv
    uv tool install --python 3.12 pdf2zh
    
  3. Execute translation, files generated in current working directory:

    pdf2zh document.pdf
    

3.2.2 Python: Install using pip

  1. Python installed (3.11 <= version <= 3.12)
  2. Install our package:

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io