Skip to main content
Compress

How to Compress a PDF and Reduce File Size

A PDF that is too large will not send, will not upload, and will not fit the attachment limit you hit every day. This guide explains what compression actually does to your file, why some PDFs shrink dramatically and others hardly move, and how to choose the right target size before you compress.

Updated 2026-09-23PDFZento Guides

What compression actually changes

A PDF stores two very different kinds of data: vector content (text, fonts, lines, shapes, form fields) and raster content (photographs, scanned pages, and other images). Compression targets the raster side. The engine re-encodes each image stream with tighter encoding — for example re-drawing a photo as an optimized JPEG or shrinking a full-res scan — and keeps only the smallest encoding of each image. Vector text and page layout are left untouched, which is why a compressed document still looks crisp even when it is a fraction of the original size.

PDFZento skips image streams that are already efficiently encoded, such as JPEG (DCTDecode) and JPEG2000 (JPXDecode) streams, and only replaces an image when the re-encoded version is genuinely smaller. That check keeps quality losses to a minimum and never inflates a file.

Image-heavy vs. text-heavy PDFs

The single biggest factor in how much you can compress is how a document was created:

  • Scanned and photographed PDFs — every page is a large image. These are where compression does the most work, often cutting a 40 MB scan to a few megabytes with a modest quality setting.
  • Mixed documents — reports, decks, and invoices with photos or screenshots alongside text. Good compression headroom, with the text staying perfectly sharp.
  • Text-only PDFs — born-digital documents with no embedded images are often already tiny. Compression may only save a few percent because there is little image data to re-encode.

Quality vs. file-size trade-offs

Smaller files come from more aggressive image re-encoding, and that is a trade with consequences:

  • Mild compression lowers JPEG quality slightly and preserves fine detail — ideal for documents that keep their image quality.
  • Target-size compression (100 KB, 200 KB, 500 KB, 1 MB, and so on) iterates the quality and image scale repeatedly until the file fits the requested ceiling. Very small targets mean visibly softer images.
Tip: For a document that must look its best, choose mild compression. For a file that must pass a hard upload limit, choose the exact target-size preset and accept softer images inside.

Choosing the right target size

Pick a target based on the limit you have to satisfy — not a round number that sounds nice:

  • Documents under 100–200 KB — civil-service and KYC upload forms with strict micro limits.
  • Documents under 500 KB – 2 MB — job applications, ATS systems, student assignments, and university portals.
  • Documents under 5–10 MB — email attachments, brochures, and large scanned manuals that need a moderate ceiling without trashing images.

Compress PDF handles a quick reduction with no fixed target, and it links to dedicated target-size tools whenever you need an exact ceiling from 100 KB up to 10 MB.

How to compress a PDF step by step

  1. Open the compressor. Go to Compress PDF. If a form or portal imposes a hard byte limit, use the target-size tool it links to for that exact ceiling.
  2. Upload your file. Drag and drop the PDF or select it from your device. The file is read into browser memory — it is never uploaded to a server.
  3. Pick a preset or target. Use mild compression for quality-sensitive files, or a specific size preset when you must stay under a limit.
  4. Process and download. Run the compression, check the resulting size, and download the new PDF. Your original file is never modified.

Why some PDFs cannot compress much

If a file refuses to get much smaller, it is usually one of these situations:

  • The PDF was already optimized by its creator (PDF/A exports and some design tools produce heavily compressed files).
  • The document is mostly vector text with few images — there is no raster data to shrink.
  • The images already use efficient JPEG encoding and any further reduction would visibly damage them.

In those cases the honest answer is that the file simply has little fat to cut. A different approach — such as removing unneeded pages with Split PDF or waiting to insert photos until the end — often reduces size more than any compressor could.

Privacy note: Compression runs entirely in your browser using WebAssembly and Web Workers. Your document bytes never leave your device, so you can compress confidential contracts, medical records, and tax documents without sharing them with a server.
Ready to do it yourself?

Open Compress PDF — reduce a file on your own device to any size you need, free and without an account.

Compress PDF

Frequently Asked Questions

Will compressing a PDF make my text blurry?

No. PDFZento compresses the image data inside the PDF and leaves vector text and layout intact, so headings, paragraphs, and page structure keep their original sharpness. Only embedded photos and scanned images are re-encoded at lower quality.

Why did my PDF hardly shrink at all?

If a PDF already uses efficient image encoding (for example JPEG or JPEG2000 streams) or contains mostly text and vector graphics, there is little redundant data left to remove. Compression mainly helps when a document stores large, uncompressed or PNG-style image data.

Does compression change my page layout or document structure?

No. The page count, text, fonts, and layout are preserved. Compression reduces the byte size of the file by re-encoding image streams; it does not reformat or restructure your document.

What is the best target file size for compression?

It depends on the destination. Email clients and university portals commonly accept 10–25 MB, job portals often allow 500 KB to 2 MB per file, and some government or KYC uploads demand 100–200 KB. PDFZento offers presets from 100 KB up to 10 MB so you can match the exact limit you face.

More PDF How-To Guides