#5050th of 100 in Data and scraping for AIFor data and documents, documents and ocr, science, health and research, research and papers
pdfmathtranslate
Translates scientific PDFs while keeping formulas, figures and layout intact
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts pdfmathtranslate on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.pdfmathtranslate is on your watch list. Its new releases and problems show there.
- Stars
- 38.8k
- License
- AGPL-3.0
- Last commit
- Nov 2026
- Last release
- Jul 2025
- Language
- Python
31,916 on 25 Mar 202638,765 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
pdf2zh translates scientific PDFs and writes a translated-only and a bilingual (dual) PDF, preserving formulas, charts, table of contents and annotations. It runs as a CLI, a Gradio web UI on port 7860, a Python or HTTP API, or an MCP server, and calls a configurable translation service (Google by default). Layout detection uses a DocLayout-YOLO ONNX model, with optional OCR and an --ultrafast mode.
Who it is for: Researchers and self-hosters translating academic PDFs
Ranked among open-source alternatives to DeepL (#3 of 3).
Strengths
- Outputs both translated-only and side-by-side bilingual PDFs from one command
- Many interfaces: CLI, Gradio GUI, Docker, Python API, HTTP API, MCP stdio/SSE
- Selectable translation backends via -s, with Google as the default
- Optional OCR for scanned pages and --ultrafast mode for native-text PDFs
Weaknesses
- Python limited to 3.11 to 3.12
- OCR is experimental and targets white-background scans; handwriting may fail
- Last release is 2025-07-11; v2 work lives in a separate PDFMathTranslate-next repo
- --ultrafast is CLI fast mode only and is weaker on complex tables or formulas
What it needs
- no GPU
- Docker + Compose
- Needs DocLayout-YOLO ONNX model (Hugging Face download), Translation service (Google default, others configurable)
- Models: ONNX
- port 7860
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Data and scraping for AI
See all 100| Rank | Project | Score |
|---|---|---|
| #48 | grobidExtracts structured TEI/XML from scientific PDFs, including metadata and references | 63 out of 100 |
| #49 | curatorPython library for bulk LLM inference and synthetic data generation | 63 out of 100 |
| #51 | ai-youtube-shorts-generatorCLI that cuts long YouTube videos into ranked vertical shorts | 62 out of 100 |
| #52 | chubbyskillsAgent skills and CLI that save videos, podcasts and articles as searchable Markdown | 62 out of 100 |
| #53 | minicpm-ocr1.3B OCR model and SDK that parse PDFs and images into Markdown or JSON | 62 out of 100 |