PDF

How to Compress a PDF Without Losing Quality

8 min read

PDF files balloon for predictable reasons — embedded fonts, uncompressed images, and duplicated objects. Here is how to shrink one while keeping text crisp and images clean.

A 40 MB PDF that will not attach to an email is one of the most common file problems in daily office life. The frustrating part is that most oversized PDFs are not oversized because of their content — they are oversized because of how they were generated. Understanding the difference is what lets you compress a document aggressively while keeping it perfectly readable.

Why PDF files get so large

A PDF is a container. Inside it sit text objects, vector drawings, embedded fonts, raster images, metadata, and often invisible leftovers from whatever program created it. Each of those has a different weight profile.

  • Raster images are almost always the biggest contributor. A single page scanned at 600 DPI in full colour can exceed 8 MB on its own.
  • Embedded fonts add up. A document using six font families with full character sets can carry several megabytes of typeface data.
  • Duplicated objects appear when a logo or header image is re-embedded on every page instead of referenced once.
  • Metadata, annotations, form fields, and revision history persist even after they stop being useful.

Text itself is remarkably cheap. A 300-page novel as plain PDF text can be under 1 MB. So when a five-page document weighs 30 MB, images are the story.

Lossless versus lossy PDF compression

There are two fundamentally different ways to make a PDF smaller, and confusing them is why people end up with blurry documents.

Lossless compression

Lossless methods rewrite the file structure more efficiently: removing unused objects, de-duplicating repeated resources, compressing object streams, and stripping redundant metadata. Nothing visual changes. Every pixel and glyph is preserved exactly. Savings are usually modest — often 5% to 30% — but they are completely free of quality risk.

Lossy compression

Lossy methods re-encode the images inside the PDF at a lower quality or resolution. This is where the dramatic reductions come from — a 30 MB scan can become 2 MB. The trade-off is real but controllable: at moderate settings the difference is invisible on screen, and only becomes apparent when you zoom past 200% or print at high resolution.

The practical workflow that preserves quality

Rather than reaching for maximum compression immediately, work through these steps in order and stop as soon as the file is small enough.

Step 1: Try structural optimisation first

Run the document through a lossless optimisation pass. Our PDF Compressor rebuilds and re-optimises the document structure entirely inside your browser, so nothing is uploaded to a server. For PDFs generated by word processors or design software, this alone frequently solves the problem.

Step 2: Remove pages you do not need

It sounds obvious, but a large share of oversized PDFs contain pages nobody will read: appendices, blank separators, duplicated cover sheets. Extracting only the relevant range with Split PDF is the highest-quality compression there is, because the pages you keep are untouched.

Step 3: Right-size the images

If images dominate, deal with them directly. Ask what resolution the document actually needs. For screen reading, 150 DPI is ample. For office laser printing, 200 to 300 DPI is the sweet spot. Anything beyond 300 DPI is invisible to the human eye at normal viewing distance and is pure file weight.

When you control the source images, compress them before assembling the PDF using the Image Compressor, then rebuild the document with Image to PDF. Starting from optimised inputs always beats compressing a bloated output.

Step 4: Verify at 100% and at print size

Always check the result. Open the compressed file, view every page at 100%, and look specifically at small text, thin lines, tables, and logos. These are the first things to degrade. If the document will be printed, print one representative page before distributing it.

Settings that keep quality high

  • Keep text as text. Never convert a text-based PDF into images to save space — you lose searchability, accessibility, and sharpness at the same time.
  • Prefer 80–85% JPEG quality for photographic content. Below roughly 70% you start seeing blocking artefacts around edges.
  • Use PNG or lossless encoding for screenshots, diagrams, and anything with flat colour and sharp edges. JPEG handles these badly.
  • Downsample rather than over-compress. Halving the pixel dimensions of an oversized image usually looks far better than crushing its quality at full size.
  • Strip unnecessary metadata and form fields when they serve no purpose in the final document.

Common mistakes to avoid

The first mistake is compressing repeatedly. Every lossy pass discards information permanently, and re-compressing an already compressed file compounds the artefacts without meaningfully reducing size. Always compress once, from the highest-quality original you have.

The second is compressing archival or legal documents. If a PDF is a record of signed agreements, contracts, medical scans, or anything with evidential value, keep the original untouched and compress only the copy you share.

The third is ignoring where the file goes. Email attachments are typically capped around 20 to 25 MB; many corporate gateways are stricter. Web-hosted documents should be well under 5 MB so mobile visitors on slow connections are not stranded.

Why browser-based compression matters

Most free PDF compressors upload your document to a remote server, process it there, and hand back a download link. That means your document — which may contain contracts, invoices, medical information, or client data — leaves your device and sits on infrastructure you do not control.

Convert26 tools run entirely in your browser using JavaScript. The file is read from your disk into memory, processed locally, and written straight back out. There is no upload, no queue, and no retention policy to read, because there is nothing to retain.

Quick reference

  • Email attachment: aim for under 10 MB, 150 DPI images, moderate compression.
  • Website download: aim for under 5 MB, 150 DPI, and split long documents into sections.
  • Office printing: 200–300 DPI, lossless structure optimisation only where possible.
  • Professional print: do not compress. Send the original to your printer.

Compression is not about squeezing the smallest possible number out of a file. It is about matching the file to its destination. Once you know where a document is going, the right settings become obvious — and the quality question stops being a gamble.

Try the tools mentioned in this article

Every Convert26 tool runs entirely in your browser. Your files are never uploaded to a server.

Browse tools

Related reading