Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Translates scientific PDFs into other languages while preserving math formulas, tables, figures, and layout via PDFMathTranslate.
64% 100%+36 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 14 of 22 without it.
3 of 3 safety checks passed
Not used yet
PDFMathTranslate is an open-source tool designed specifically for translating scientific and technical PDF documents while preserving mathematical formulas, tables, figures, and the overall layout structure. Traditional PDF translators often mangle equations and destroy formatting, making translated papers difficult to read. PDFMathTranslate solves this problem by intelligently detecting and preserving mathematical content during the translation process.
The tool leverages large language models for high-quality translation while maintaining the integrity of LaTeX-rendered equations, chemical formulas, and complex table structures commonly found in academic publications. It supports translation between dozens of language pairs, making it invaluable for researchers who need to read papers published in languages outside their expertise.
PDFMathTranslate has gained significant traction in the academic community with over 32,000 GitHub stars, reflecting the widespread need for reliable scientific document translation that respects the specialized formatting requirements of research papers.
Install PDFMathTranslate using pip in a Python environment (Python 3.8 or higher required):
pip install pdf2zh
For GPU-accelerated processing, install with CUDA support:
pip install pdf2zh[cuda]
Configure your translation backend by setting the appropriate environment variable. The tool supports multiple LLM providers:
# Using OpenAI-compatible APIs
export OPENAI_API_KEY=$OPENAI_API_KEY
export OPENAI_BASE_URL=$OPENAI_BASE_URL
# Using Google Translate (free, no key required)
pdf2zh input.pdf -s google
# Using DeepL
export DEEPL_AUTH_KEY=$DEEPL_AUTH_KEY
pdf2zh input.pdf -s deepl
You can also launch the web-based GUI for interactive use:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.