PDF scientific paper translation and bilingual comparison.
- 📊 Preserve formulas, charts, table of contents, and annotations (preview).
- 🌐 Support multiple languages, and diverse translation services.
- 🤖 Provides commandline tool, interactive user interface, and Docker
Feel free to provide feedback in GitHub Issues or Telegram Group.
For details on how to contribute, please consult the Contribution Guide.
Updates
- [Jun. 4, 2025] The project is renamed and move to PDFMathTranslate/PDFMathTranslate-next (by @awwaawwa)
- [Mar. 3, 2025] Experimental support for the new backend BabelDOC WebUI added as an experimental option (by @awwaawwa)
- [Feb. 22 2025] Better release CI and well-packaged windows-amd64 exe (by @awwaawwa)
- [Dec. 24 2024] The translator now supports local models on Xinference (by @imClumsyPanda)
- [Dec. 19 2024] Non-PDF/A documents are now supported using
-cp(by @reycn) - [Dec. 13 2024] Additional support for backend by (by @YadominJinta)
- [Dec. 10 2024] The translator now supports OpenAI models on Azure (by @yidasanqian)
Preview
Online Service 🌟
[!NOTE]
pdf2zh 2.0 does not currently provide an online demo
You can try our application out using either of the following demos:
- v1.x Public free service online without installation (recommended).
- Immersive Translate - BabelDOC 1000 free pages per month. (recommended)
Note that the computing resources of the demo are limited, so please avoid abusing them.
Installation and Usage
Installation
- Windows EXE Recommand for Windows
- Docker Recommand for Linux
- uv (a Python package manager) Recommand for macOS
Usage
- Using WebUI
- Using Zotero Plugin (Third party programm)
- Using Commandline
For different use cases, we provide distinct methods to use our program. Check out this page for more information.
Advanced Options
For detailed explanations, please refer to our document about Advanced Usage for a full list of each option.
Secondary Development (APIs)
[!NOTE]
Currently, no relevant documentation is provided. It will be supplemented later. Please wait patiently.
Language Code
If you don't know what code to use to translate to the language you need, check out this documentation
Acknowledgements
-
Immersive Translation sponsors monthly Pro membership redemption codes for active contributors to this project, see details at: CONTRIBUTOR_REWARD.md
-
1.x version: Byaidu/PDFMathTranslate
-
New backend: BabelDOC
-
Document merging: PyMuPDF
-
Document parsing: Pdfminer.six
-
Document extraction: MinerU
-
Document Preview: Gradio PDF
-
Multi-threaded translation: MathTranslate
-
Layout parsing: DocLayout-YOLO
-
Document standard: PDF Explained, PDF Cheat Sheets
-
Multilingual Font: Go Noto Universal
Before submit your code
We welcome the active participation of contributors to make pdf2zh better. Before you are ready to submit your code, please refer to our Code of Conduct and Contribution Guide.
Contributors
Star History
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pdf2zh_next-2.0.7.tar.gz.
File metadata
- Download URL: pdf2zh_next-2.0.7.tar.gz
- Upload date:
- Size: 5.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee4114ba0ae429a2ce95c2572e48e4820c139f1753dfc3c04002cc20a6cc4537
|
|
| MD5 |
e99a8cb9642c49aff338d7d0a1cc0278
|
|
| BLAKE2b-256 |
73ff37bc961d26a351523f2c925b20405a6db31f043ba084b717350621f1f245
|
Provenance
The following attestation bundles were made for pdf2zh_next-2.0.7.tar.gz:
Publisher:
release.yml on PDFMathTranslate/PDFMathTranslate-next
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pdf2zh_next-2.0.7.tar.gz -
Subject digest:
ee4114ba0ae429a2ce95c2572e48e4820c139f1753dfc3c04002cc20a6cc4537 - Sigstore transparency entry: 232858975
- Sigstore integration time:
-
Permalink:
PDFMathTranslate/PDFMathTranslate-next@c021d63e7607acd6f9ed4ee25702c43f891bc7ab -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PDFMathTranslate
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c021d63e7607acd6f9ed4ee25702c43f891bc7ab -
Trigger Event:
push
-
Statement type:
File details
Details for the file pdf2zh_next-2.0.7-py3-none-any.whl.
File metadata
- Download URL: pdf2zh_next-2.0.7-py3-none-any.whl
- Upload date:
- Size: 73.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30d83657cb016dcdee9aa74d4b3aea48d03d649d938ebd2376fb80b27b9e7c48
|
|
| MD5 |
b99ea97ac13bfcc7c4656002b5b1b499
|
|
| BLAKE2b-256 |
76d968252d6968b2b7ff04fd26ee97b9b20d14d024e19171d965c73e9229038f
|
Provenance
The following attestation bundles were made for pdf2zh_next-2.0.7-py3-none-any.whl:
Publisher:
release.yml on PDFMathTranslate/PDFMathTranslate-next
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pdf2zh_next-2.0.7-py3-none-any.whl -
Subject digest:
30d83657cb016dcdee9aa74d4b3aea48d03d649d938ebd2376fb80b27b9e7c48 - Sigstore transparency entry: 232858976
- Sigstore integration time:
-
Permalink:
PDFMathTranslate/PDFMathTranslate-next@c021d63e7607acd6f9ed4ee25702c43f891bc7ab -
Branch / Tag:
refs/heads/main - Owner: https://github.com/PDFMathTranslate
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c021d63e7607acd6f9ed4ee25702c43f891bc7ab -
Trigger Event:
push
-
Statement type: