Compress PDF File Size

Reduce PDF file size in your browser with no upload. Shrinks oversized scans and photos inside the PDF, keeps text sharp, never returns a bigger file.

How to use Compress PDF

  1. 1Select or drag in the PDF you want to compress.
  2. 2Pick a strength: Light, Balanced or Strong.
  3. 3Press Compress; the images are processed on your device.
  4. 4Download the smaller PDF and check the size against the original.

Features

  • Scales down and re-encodes oversized images; text and vectors untouched
  • Three strengths: 200, 150 or 100 ppi
  • Never returns a bigger file than the one you gave it
  • Runs locally, so confidential files stay private

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.

PDFBeforeLightBalancedStrong
US Constitution (GPO, signed)4.02 MB0.72 MB0.53 MB0.42 MB
Six phone photos18.17 MB8.73 MB4.10 MB1.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.

Frequently asked questions

My scanned book PDF barely shrank. Why?

Archive scans, such as those from the Internet Archive, are usually stored as JBIG2 text layers over JPEG 2000 images, which are already compressed hard and can't be re-encoded in a browser. Two 1890 scans we tested changed by 0.0% and 0.4%.

Will compressing break a digital signature?

Yes. Any rewrite changes the bytes the signature covers: poppler reported “Total document signed” for the original Constitution and “Not total document signed” for every compressed copy. The tool warns you; keep the signed original for anything that needs proof.

Which strength should I choose?

Balanced suits email and screen reading. Choose Light for anything that will be printed, and Strong when the size limit is tight and the file will only be read on screen; on slide decks it took photos down far enough to look soft when zoomed in.

How much smaller will my PDF get?

It depends on what is inside. In our tests, PDFs made from high-resolution scans or photos shrank by 77–94% on Balanced, while slide decks and reports with some pictures lost 5–25%. Text-only documents, forms and archive scans changed by a few percent at most, because there is nothing heavy left to shrink.

Does compressing reduce quality?

Only for images, and only where they had more detail than the page needs. Text, fonts and vector drawings are copied as they are. Light (200 ppi) is hard to tell from the original; Strong (100 ppi) is meant for reading on screen.

Why did my file barely shrink?

Either it has no large images (text, forms, vector charts), or its images are already compressed with JPEG 2000 or JBIG2, as many archive scans are, or they are CMYK JPEGs or have transparency, which the tool keeps as they are to avoid colour errors.

Will text stay selectable and searchable?

Yes. Only image data is changed, so the text layer, including any OCR text in a scanned PDF, is kept exactly as it was.

Can I compress a signed or password-protected PDF?

A password-protected or permission-locked PDF is returned unchanged, because its contents are encrypted. A signed PDF can be compressed, but the signature will no longer validate afterwards, so send the original when the signature matters.

Are my files uploaded to compress them?

No. Everything happens in your browser, so your document never leaves your device.

From the blog

More PDF tools