RetainPDF is currently the only open-source project built for layout-preserving translation of image-based and scanned PDFs, with translation and typesetting quality that matches or even surpasses comparable commercial products.
Its in-house typography algorithm restores complex formulas and multi-column paper layouts. Scanned PDF translation, PDF structure optimization, code protection, custom translation strategies, and an open API are all included.
The translation system is also built in-house, with dedicated handling for cross-column and cross-page passages, broken sentences, and continued paragraphs. It restores complete semantic units before translation instead of translating isolated OCR boxes and losing context.
Inline formulas are RetainPDF's defining advantage: formulas, surrounding text, and inline layout remain stable after translation—something other open-source PDF translators do not currently achieve.
The code, API, and deployment stack are fully open, with support for self-hosting and further development.
Core capability comparison:
| Project | Scanned PDFs | Complex inline formulas | Protect code from translation | Table control | Custom translation strategy | Layout preservation | PDF size optimization | API automation |
| ---------------- | ------------ | ----------------------- | ----------------------------- | ------------- | --------------------------- | ------------------- | ----------------------- | -------------- |
| PDFMathTranslate | ❌ | ❌ | ❌ | Limited | Limited | Average | Average | ✅ |
| PolyglotPDF | ❌ | ❌ | ❌ | Limited | Limited | Average | Average | ✅ |
| Doc2X | ✅ | ✅ | ❌ | Moderate | Limited | Strong | Limited | ❌ Not public |
| RetainPDF | ✅ | ✅ Strong preservation | ✅ | ✅ Optional | ✅ Rule-based | Strong | ✅ Continuously improved | ✅ |
Publisher’s description
What is RetainPDF?
RetainPDF is an open-source pdf tool program for Windows from wxyhgk.
Installation and requirements
Official installers exist for 64-bit as EXE (NSIS). It can be installed for the current user only, without administrator rights. The installer supports unattended (silent) installation.
Pros / Cons
Pros
- Open source: the code can be inspected and built by anyone
- Documented silent install
- Installs without administrator rights
- Updated in the last two months
Cons
- No native ARM64 build
In short: RetainPDF is an open-source pdf tool tool for 64-bit PCs. Administrators can deploy it unattended.
Is RetainPDF safe to download?
- The file is served by github.com, the publisher’s own domain
- The download link uses HTTPS
- A SHA256 hash is published, so you can verify the file:
FFFBA3CC7B3CBDB635EE64272F709F371A10202B106850C308F21B3D248D8A22· Open the VirusTotal report for this hash - The link has not been checked yet
- The source code is public
- ExeAtlas does not host, wrap or modify installers
Related guide: How to check a file’s SHA256 hash on Windows
Recent versions
All 1 versions ›| Version | Date | Size | Files |
|---|---|---|---|
| 4.2.6Latest | October 6, 2026 | — | 64-bit EXE (NSIS)64-bit EXE (NSIS) |
Install from the command line
Silent install ›winget install --id wxyhgk.RetainPDF -eRetainPDF-Windows-4.2.6-Setup.exe /SRelated guide: How to use winget: install and update apps
Information
- Publisher
- wxyhgk
- Category
- PDF tools
- Licence
- MIT
- Price
- Free
- Requires
- Windows 11 / 10
- Architecture
- 64-bit
- Installer
- EXE (NSIS)
- Version
- 4.2.6
- Released
- October 6, 2026
- Added to the catalogue
- November 11, 2026
- Versions listed
- 1
- Website
- github.com
- winget ID
- wxyhgk.RetainPDF
Ratings and reviews
No reviews yet. Be the first to rate it.
Alternatives to RetainPDF
See all ›-
Adobe Acrobat Reader (64-bit)26.003.22075The free global standard for reliably viewing, printing, signing, and commenting on PDF documents.Proprietary694.6M ↓ -
Open source556.2K ↓ -
Open source703.5K ↓ -
Proprietary4.4M ↓ -
Free514.9K ↓ -
Open source24.1K ↓ -
Open source7.5K ↓ -
PdfCraft0.18.1The PDF workbench; an open-source, clean-room reimplementation of Adobe Acrobat, rebuilt in pure RustOpen source3.3K ↓
Frequently asked questions
Is RetainPDF free?
Yes. RetainPDF is open-source software under the MIT licence.
Is RetainPDF safe to download?
The download comes from github.com, which belongs to the publisher; ExeAtlas does not host or change the file. Compare its SHA256 hash with the one shown here, or open the VirusTotal report for that hash.
How do I install RetainPDF with winget?
Open PowerShell or Windows Terminal and run the winget command shown on this page. winget downloads the official installer and checks its SHA256 hash before running it.
Can RetainPDF be installed silently?
Yes. The silent install page lists the exact command for each installer.
Does RetainPDF run on ARM (Windows on Arm)?
There is no ARM64 build; Windows 11 on Arm can run the 64-bit version through emulation.
Can I use RetainPDF without administrator rights?
Yes, there is a per-user installer that does not need administrator rights.
What are alternatives to RetainPDF?
Adobe Acrobat Reader (64-bit), wkhtmltox, NAPS2, PDF24 Creator and MiKTeX. The alternatives page compares them.