Where the weight of a PDF is, and what this tool does with it
In almost every large PDF the bytes are in the images: a scanned page saved at 600 ppi, phone photos placed at full resolution, or print artwork stored uncompressed. The Compress PDF tool opens the file in your browser with pdf-lib, finds the photos and scans the pages use, scales down any that have more pixels than the page needs at the strength you pick (200, 150 or 100 pixels per inch), and re-encodes them as JPEG. Text, fonts, vector drawings, links and form fields are copied across untouched, so text stays sharp and selectable.
An image is only replaced when the new version is clearly smaller, and if the finished file isn't smaller than yours, you get your original back. In our tests a US Constitution PDF with one 600 ppi scanned page went from 4.0 MB to 531 KB, and a PDF of six phone photos from 18.2 MB to 4.1 MB on the Balanced setting. A text-only document or a form barely changes, because there is nothing heavy in it to shrink.
How to use Compress PDF, step by step
- Drop one PDF on Drop a PDF; its name and size are listed.
- Pick a Strength: Light (200 ppi, JPEG quality 85), Balanced (150 ppi, quality 75, the default) or Strong (100 ppi, quality 60). It only affects images; text and drawings are copied as they are.
- Click Compress & download PDF. While it works, the button counts through the images it is checking.
- The download, compressed-pixohub.pdf, starts when it finishes. The note under the size boxes says how many images were re-encoded, how many were kept as they were and why, and warns if the file was signed.
- Read the Original, Compressed and Change boxes. If nothing could be made smaller, you get your original file back unchanged.
- Click Start over for another file, or change the strength and compress again.
Real example: a signed government PDF and a photo PDF
The GPO's signed US Constitution (4.02 MB, 85 pages) is all text except one page: a 600 ppi scan stored as a 3.5 MB JPEG. On Balanced, that scan was scaled from 2,642 × 4,177 to 1,044 × 1,650 pixels and the file came back at 531 KB, 86.8% smaller, in about a third of a second. Every page still matched the original at 0.996 SSIM or better at 100 dpi, and the extracted text was identical.
A PDF of six phone photos made with Image to PDF (18.2 MB) came back at 4.1 MB on Balanced and 1.6 MB on Strong. Before November 2026 this tool only re-saved the file structure, which took the Constitution to 3.98 MB (−0.9%) and left the photo PDF 5 bytes larger. Text-only files, forms and archive scans in JPEG 2000 and JBIG2 still change by a few percent at most.
| Before | Light | Balanced | Strong | |
|---|---|---|---|---|
| US Constitution (GPO, signed) | 4.02 MB | 0.72 MB | 0.53 MB | 0.42 MB |
| Six phone photos | 18.17 MB | 8.73 MB | 4.10 MB | 1.64 MB |
Last updated
Compress PDF compared with other ways to do it
macOS Preview
Preview's File › Export with the Reduce File Size Quartz filter also downsamples images, but with one fixed setting that can leave scanned text pages blurry. Here you pick 200, 150 or 100 ppi, and text is never rasterised.
Adobe Acrobat
Acrobat Pro's Optimize PDF can also recompress JPEG 2000 and JBIG2 images, handle CMYK properly, remove embedded fonts and discard hidden data. It is the right tool for print files and archive scans, which this page leaves as they are.
Upload-based compressors
Server-side compressors work like this page, re-encoding images, and some handle more image types. The difference is that the document has to leave your device; here it is processed in your browser.
What it leaves alone, and why
Images with transparency or masks, JPEG 2000 and JBIG2 images (common in archive scans, which are already compressed hard), and CMYK JPEGs from print workflows are kept exactly as they are, because re-encoding them safely in a browser isn't possible without risking wrong colours or lost transparency. Uncompressed CMYK artwork is converted to RGB JPEG, which is fine on screen but not what a print shop wants.
Encrypted PDFs (with a password or permission settings) are returned unchanged: their contents can't be read without decrypting them. Digitally signed PDFs can be compressed, but any change means the signature no longer validates, so keep the original wherever the signature matters. Government forms with Adobe Reader extension rights lose those rights too; the fields still work in current PDF readers.