Optimize & Repair
Compression and file size
Compress PDF Reduce PDF file size using one of two compression algorithms:- Condense (recommended) — removes structural dead weight, recompresses images at a target DPI, subsets fonts to strip unused glyphs, and removes embedded thumbnails. Text stays selectable, links remain functional. Requires PyMuPDF WASM.
- Photon — renders each page to JPEG and reassembles them into a new PDF. Best for scan-heavy files where Condense cannot squeeze much out. Trade-off: text becomes non-selectable.
| Level | Image quality | DPI target | Best for |
|---|---|---|---|
| Light | 90% | 150 DPI | Preserving visual quality |
| Balanced | 75% | 96 DPI | Everyday documents |
| Aggressive | 50% | 72 DPI | Email attachments |
| Extreme | 30% | 60 DPI | Maximum size reduction |
Performance and compatibility
Linearize PDF Optimize a PDF for fast web viewing (also called “web optimization” or “fast web view”). Rearranges the PDF’s internal structure so that the first page can be displayed before the entire file is downloaded. Fix Page Size Standardize all pages to a uniform size (e.g., normalize a mix of A4 and Letter pages to a single paper size). Supports standard paper sizes and custom dimensions. Page Dimensions Analyze and report the size, orientation, and unit of measurement for each page in a PDF. Useful when diagnosing layout issues or before running Fix Page Size.Archiving
PDF to PDF/A Convert a standard PDF into the ISO-standardized PDF/A format for long-term archival storage. PDF/A prohibits encryption, external dependencies, and other features that could prevent future rendering. Supported output profiles: PDF/A-1b, PDF/A-2b, PDF/A-3b. Uses Ghostscript WASM.Repair and correction
Repair PDF Attempt to recover data from a corrupted or damaged PDF file. BentoPDF uses PyMuPDF’s repair routines to reconstruct the cross-reference table and object stream where possible. Deskew PDF Automatically detect and straighten tilted pages in scanned documents using an OpenCV-based algorithm. Each page is analyzed independently, so mixed-angle documents are handled correctly.Secure PDF
Encryption and access control
Encrypt PDF Add password protection to a PDF. Supports setting both an owner password (controls permissions) and a user password (required to open the file). Uses 128-bit RC4 or 256-bit AES encryption. Decrypt PDF Remove password protection from a PDF. The password is required to perform the decryption. Change Permissions Set or modify the permission flags on a PDF: printing, copying content, editing, and form filling. Permissions are enforced by PDF viewers when a user password is set. Remove Restrictions Remove password protection and security restrictions from PDFs that have been digitally signed. This tool specifically handles signed PDFs where the signing process applied restrictions that need to be removed.Digital signatures
Digital Signature Add a cryptographic digital signature using an X.509 certificate. The signature provides verifiable proof of who signed the document and that it has not been altered since signing. Supported certificate formats:| Format | Extensions | Notes |
|---|---|---|
| PKCS#12 | .pfx, .p12 | Most common — bundles private key and full certificate chain |
| PEM | .pem | Text-based; must contain both certificate and private key |
- Certificate subject and issuer
- Validity period
- Whether the document has been modified after signing
- Certificate chain validity
