talira

PDFMathTranslate (pdf2zh)

Translate scientific PDFs while keeping formulas, charts and layout

open sourceAGPL-3.0-onlyself-hostablefree

PDFMathTranslate (pdf2zh) translates scientific PDF papers into other languages while preserving their layout: formulas, charts, tables of contents and annotations stay in place, and it can produce bilingual output. It works with translation services such as Google, DeepL, Ollama and OpenAI-compatible models, and runs as a command-line tool, a graphical interface, a Docker image or a free public web service, with a Zotero plugin from the community. Version 2.0 continues in the PDFMathTranslate-next repository.

Problems it solves

  • translate a scientific paper PDF without breaking the formulas
  • read an English research paper in Chinese with the layout kept
  • bilingual PDF translation with a local LLM

Features

  • layout-preserving PDF translation
  • keeps formulas, charts and annotations
  • Google, DeepL, Ollama and OpenAI-compatible backends
  • CLI, GUI, Docker and a free web service
  • OCR and an ultrafast mode for native-text PDFs