Compress PDF files for free in your browser. Choose a level and review the resulting size and document properties; savings depend on the source PDF.
Compressing a PDF can help when an email or CMS has a size limit. OpenPDF tries to recompress images and optimise streams locally; the result depends on the source PDF and selected level. Medium and high settings can rasterize pages, remove selectable text or invalidate signatures, so inspect the output. The original file remains available for another export.
The result depends on the source PDF and selected level. Some PDFs become smaller, while others show little improvement or keep the original when an attempted result is larger; inspect the output before sharing.
Medium and high compression can rasterize pages, remove selectable text and invalidate existing signatures. Review readability and required PDF properties after compression, especially for scans or signed documents.
Compression accepts files up to 150 MiB. The page limit depends on the document: the engine allows up to 600 pages for text-dominant PDFs and up to 200 pages for raster-dominant PDFs. Browser/device resources can impose a lower practical limit.
No. pdf-lib recompresses images and optimises streams locally in your browser. Nothing is uploaded.
OpenPDF is an independent project where PDF document processing runs in the browser using WebAssembly and modern JavaScript APIs. The toolkit includes merge, split, sign, organize, annotate, compress, watermark, page numbers, add image and fill forms. Practical limits depend on the operation, document and device. The page source and privacy policy describe consent controls, analytics, advertising and optional services before you use the tool with sensitive documents.
By Marco B. · Last updated: