PDFMathTranslate
A scientific PDF translator that preserves layouts and formulas, supports Ollama and cloud services, and runs locally or in Docker.
Alternative to:
PDFMathTranslate translates scientific papers for readers who need the text in another language while keeping equations and figures in context. It produces translated and bilingual PDFs so readers can compare the result with the original.
- Document formatting: Preserve formulas, charts, tables of contents and annotations alongside translated text.
- Translation services: Translate between multiple languages using services including Google, DeepL, Ollama, OpenAI and MiniMax; Google is the default service.
- Interfaces and integrations: Use a command-line tool or interactive interface, with Zotero integration and MCP support for compatible applications.
- Faster text-only processing: An optional command-line mode speeds up PDFs with native text by skipping OCR and model-based layout detection; normal mode is better suited to complex tables or formulas.
The project runs locally or in Docker and is open source under AGPL-3.0. Choosing an external translation service sends the text it translates to that service.
The optional faster mode leaves pages without native text unchanged and produces larger output files. It isn't available through the graphical interface or server mode.