How to Compress a PDF Without Losing Quality

By UpnixTools · Updated September 20, 2026 · 6 min read

Skip the reading — try it now
Free · No signup · Works in your browser
Open PDF Compressor →

A PDF that should be 2 MB somehow becomes 47 MB, and now Gmail refuses to send it. This happens because PDFs quietly carry everything at full fidelity: every photo at its original resolution, every embedded font, every scanned page as a full-color image. The good news is that most of that weight is unnecessary, and removing it barely touches what you actually see. Here is exactly how to shrink a PDF without visibly hurting it.

What actually makes a PDF so large?

Before touching any settings, it helps to know where the megabytes live. In almost every oversized PDF, the culprit is one of these four:

The 4 settings that control the quality-vs-size tradeoff

Every decent PDF compressor exposes some version of these controls. Understanding them takes two minutes and saves you from the two classic failures: a file that is still huge, or one that looks like a fax from 1994.

1. Compression level: start with Medium

Think of the compression level as a preset bundle. As a rule of thumb:

LevelTypical reductionQuality impact
Low10–25%Visually identical; safe for anything
Medium30–55%Slight softening only on close zoom; fine for email and web
High60–85%Visible artifacts in photos and gradients; use only when size is the priority

Start with Medium. Open the result and zoom to 150% on a photo-heavy page. If it looks clean, you are done. Only step up to High if the file is still over your limit — and never compress an already-compressed file twice, because quality losses stack with every pass.

2. Image resolution (DPI): the biggest lever

DPI (dots per inch) describes how much detail an image carries when printed. The numbers that matter:

Downsampling a 600 DPI image to 150 DPI cuts its data to roughly one-sixteenth — that single change is where dramatic 70–80% reductions come from. If your compressor lets you set a target DPI, choose 150 for anything that lives on screens, and 300 only for print.

3. JPEG quality for photos: 60–75 is the sweet spot

Photos inside PDFs are usually stored as JPEGs, and the quality slider (often 1–100) decides how aggressively they are squeezed. Between 60 and 75, the difference from the original is nearly invisible at normal zoom while file size drops sharply. Below 50, blocky artifacts appear around edges and in smooth gradients like skies. Above 85, you are paying double the bytes for detail nobody can see.

4. Fonts and vector graphics: leave them alone

Text, logos, and line art are vectors — tiny and infinitely scalable, so they cost almost nothing. Do not rasterize them (convert them to images) to save space; it does the opposite of what you want. Modern compressors subset embedded fonts automatically, keeping only the characters actually used, which is safe to allow.

How to compress a PDF step by step

You do not need desktop software for this. Here is the whole process using UpnixTools’ free PDF Compressor — it runs entirely in your browser, so your file is never uploaded to a server:

  1. Open the PDF Compressor and drop in your file.
  2. Choose Medium compression to start. You can re-run at High only if needed — but always start from the original file, never from the compressed copy.
  3. If there is a DPI option, set 150 DPI for screen and email use.
  4. Click compress and wait a few seconds.
  5. Download the result, zoom to 150% on the most detailed page, and check text edges and photos. Clean? Done. Still too big? Re-run the original at High.

Special case: scanned PDFs

Scans are the worst offenders because every page is a photo. Two fixes do most of the work:

If your scan has no selectable text, that is a separate problem — you need OCR, not compression. Compress first, then run OCR if you need searchable text.

5 mistakes that destroy quality

When compression is not enough

Sometimes the honest answer is that one file should not be one file:

Quick checklist before you hit send

Ready? Compress your PDF free with UpnixTools — no signup, no watermark, and your file never leaves your browser.

Frequently Asked Questions

Will compressing a PDF reduce its quality?

It depends on the settings. At Low or Medium compression with 150 DPI images, the difference is virtually invisible: text stays razor sharp because it is vector, not image data, and photos lose only detail you would need a magnifier to spot. Quality visibly drops only at High compression or very low DPI. The safe workflow is to compress at Medium, zoom to 150%, and inspect the result before sending.

What is a good file size for a PDF sent by email?

Aim for under 10 MB. That sits comfortably inside Gmail's 25 MB cap and below most corporate filters, which often flag or strip attachments above 10–15 MB. For upload forms such as job applications or government portals, the limit is frequently 5 MB, so compress to 2–4 MB to be safe. If the PDF must be pixel-perfect for professional printing, send a download link instead of an attachment.

Can I compress a scanned PDF?

Yes, and scans compress the best because they start out the most bloated. Convert color scans to grayscale, drop resolution to 150–200 DPI, and a 30 MB scan routinely becomes 3–5 MB with perfectly readable text. Just remember that compression will not make scanned text selectable — for that you need OCR software, which is a separate step from shrinking the file.

Why is my PDF still large after compression?

Usually one of three things: the file was already compressed (there is nothing left to squeeze), it is mostly vector content or embedded fonts (already tiny), or it was compressed twice from a compressed copy, which compounds quality loss without much size benefit. Also check for embedded videos or 3D objects — no image compressor touches those. Try splitting the document or removing duplicate pages instead.

Is it safe to compress PDFs online?

With browser-based tools, yes — the key question is where the processing happens. UpnixTools compresses files locally in your browser, so your document is never uploaded to a server at all. Avoid services that require uploads for sensitive documents like contracts or medical records unless you trust their privacy policy and data-retention terms.

Ready to try it yourself?
PDF Compressor is free forever — no account needed.
Open PDF Compressor →