Skip to main content
This page covers two categories of tools: Optimize & Repair for improving performance and fixing damaged files, and Secure PDF for protecting, signing, and controlling access to your documents.

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.
Compression levels:
LevelImage qualityDPI targetBest for
Light90%150 DPIPreserving visual quality
Balanced75%96 DPIEveryday documents
Aggressive50%72 DPIEmail attachments
Extreme30%60 DPIMaximum size reduction
Rasterize PDF Convert every page of a PDF into a raster image and reassemble them into a new PDF. This flattens all layers, removes selectable text, and produces an image-only PDF. Useful before printing when you need to ensure consistent rendering across devices. Font to Outline Convert all embedded fonts to vector outlines (paths). The PDF will render identically on any device even if the original fonts are not installed. Uses Ghostscript WASM.

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:
FormatExtensionsNotes
PKCS#12.pfx, .p12Most common — bundles private key and full certificate chain
PEM.pemText-based; must contain both certificate and private key
Your private key never leaves the browser. An optional visible signature block can be placed on any page with configurable position, size, image, and text.
Signing may require an internet connection if your certificate’s AIA (Authority Information Access) extension points to external certificate authority servers. Many CA servers do not include CORS headers, so a CORS proxy is required for certificates that need chain validation. See the CORS proxy setup for deployment instructions.
Validate Signature Verify digital signatures embedded in a PDF. Displays:
  • Certificate subject and issuer
  • Validity period
  • Whether the document has been modified after signing
  • Certificate chain validity

Content sanitization

Sanitize PDF Perform a comprehensive cleanup of a PDF by removing: metadata, embedded JavaScript, annotations, form fields, embedded files, hidden layers, and other potentially sensitive or executable content. Useful before distributing documents externally. Remove Metadata Strip all standard PDF metadata fields (title, author, subject, keywords, creator, producer, timestamps) from a PDF. A lighter-weight alternative to Sanitize PDF when you only need to remove identifying information. Flatten PDF Convert interactive form fields and annotations into static page content. The PDF looks identical but fields can no longer be edited or extracted. Use this before distributing final versions of forms. Redact Content Permanently remove sensitive content from PDF pages. Redacted areas are replaced with solid black boxes that are burned into the page content — the original text or images cannot be recovered by any means.
For a complete secure distribution workflow: Redact ContentRemove AnnotationsEncrypt PDF → download. You can automate this sequence using the PDF Workflow Builder.

Build docs developers (and LLMs) love