PDFMathTranslate turns scientific PDFs into bilingual output while keeping formulas, figures, tables, and structure. It supports many translation backends and can be used from the command line, GUI, Docker, or reference-manager plugins.
Overview
PDFMathTranslate focuses on academic and technical papers where ordinary translation breaks math, charts, and page layout. It can preserve formulas, charts, tables of contents, and annotations, and route text through multiple translation providers including cloud APIs and local model stacks. Development has moved to PDFMathTranslate-next under the PDFMathTranslate organization.
Users can run a public online demo, install via Python packaging tools, launch a graphical interface, use a Windows executable, or deploy a container that exposes a web UI in the browser. Batch directory translation, compatibility modes, ultrafast layout for native-text PDFs, and experimental precise or OCR-assisted paths address different document types.
Optional OCR can run on image-only pages before translation, regrouping recognized text into paragraphs while leaving figures and formulas untouched when detected. Integrations include MCP modes for agent workflows and a Zotero plugin for library-driven translation.
Downstream callers can embed the tool through documented Python and HTTP APIs. A newer translation kernel is also being developed under a separate organization repository for advanced precise mode experiments.
Key features
- Layout-aware bilingual PDF output
- Multiple translation service backends
- CLI, GUI, and Docker deployment
- Formula and figure preservation
- Ultrafast mode for native-text PDFs
- Experimental OCR for scanned pages
- Zotero plugin integration
- MCP stdio and SSE modes
Use cases
- Translating research papers for reading
- Bilingual archival copies of PDFs
- Batch translation of paper folders
- Reference-library driven translation
- Agent-driven document translation via MCP