pdftutorialcompression

How to Compress a PDF Without Losing Quality (2026 Methods)

Shrink a scanned or image-heavy PDF without making text fuzzy or images pixelated. Online, desktop, and command-line methods compared — pick what fits your file.

How to Compress a PDF Without Losing Quality (2026 Methods)
L
·
4 min read

Your bank wants the loan document. Your university wants the assignment. Your client wants the proposal. Every one of them caps uploads at 5 MB — and your PDF is 23 MB. You've been here.

Good news: what makes a PDF big is almost always images, and images are what compression shrinks — if you know what's making yours big. Here's the why, the four methods, and exactly which one fits your file.

⚡ The 30-second answer

  • What bloats a PDF: almost always images, not text.
  • Fastest fix: an online compressor — one click, no settings to choose.
  • Sensitive file? Use the offline Ghostscript method — nothing ever leaves your computer.
1 clickno settings to choose
~150 DPIimages downsampled, text untouched
2 hrsthen files self-delete

What's actually making your PDF huge? #

PDFs are containers — they hold text, images, fonts, and metadata. One of those is almost always the culprit, and it's rarely the text.

SourceWhy it's big
Scanned documentEach page is a 300 DPI image, often uncompressed
PowerPoint exportImages embedded at full phone-camera resolution
Phone "Scan to PDF"A multi-megapixel photo for every page
Word doc with imagesSame — images stored at full resolution
Plain-text PDFShould be tiny (<500 KB). If it's huge, it's bloated metadata or duplicated fonts
🔍
Rule of thumb: if your file is more than a few MB, open it and look for photos or scanned pages — that's your weight. Pure text almost never needs compressing.

Method 1: Online — best for most people #

No install, works on any device, finished before your coffee cools.

1
Open the PDF compressor.
2
Drag your PDF in — or tap to browse.
3
Press Compress PDF (one setting: images to about 150 DPI, text untouched).
4
Download the smaller PDF. That's it.
✅
Best when: you compress now and then and want it done in one click.

Method 2: Adobe Acrobat Pro #

Already paying for Acrobat Pro? Its built-in compressor is reliable, if gentle.

  1. Open the PDF in Acrobat Pro
  2. File → Save As Other → Reduced Size PDF
  3. Choose a compatibility level (Acrobat 10 or newer compresses best)
  4. Save

Expect 30–50% smaller — steady, not aggressive.

⚠️
There's no free version that compresses. The free Reader only views PDFs — you need the paid Pro tier.

Method 3: Mac Preview — free, built in #

Every Mac hides a basic compressor inside Preview.

  1. Open the PDF in Preview
  2. File → Export…
  3. In the Quartz Filter dropdown, choose Reduce File Size
  4. Save
⚠️
Preview's filter is heavy-handed — perfect for "just get it under 5 MB," too rough for anything you'd send a client. For finer control, use an online tool or the command line below.

Method 4: Command line (Ghostscript) #

For developers and anyone compressing PDFs in bulk. This is what most online tools — ours included — run under the hood.

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 \
   -dPDFSETTINGS=/ebook \
   -dNOPAUSE -dQUIET -dBATCH \
   -sOutputFile=compressed.pdf input.pdf

The -dPDFSETTINGS flag sets the trade-off:

SettingUse caseTypical reduction
/screenWeb viewing, low DPI80–90%
/ebookReading on devices60–75%
/printerHigh-quality print30–50%
/prepressPro print (CMYK)10–25%

Compress a whole folder at once:

for f in *.pdf; do
  gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 \
     -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH \
     -sOutputFile="compressed_$f" "$f"
done

Fewer pages = a smaller file, free #

If your PDF carries pages you don't need, the fastest "compression" is to delete them:

Trimming a 50-page document down to the 10 pages that matter is a 5× reduction — with zero quality loss.

Wrapping up #

For a scanned or image-heavy PDF, try one online pass first. For big batches or confidential files, the command-line route keeps everything on your own machine.

Compress your first PDF free, no signup: Open the PDF Compressor →

Need something else? We also merge, split, and convert between PDF and Word.

Frequently asked questions

Will compressing my PDF break OCR or text search?
No. Modern compressors keep the text layer intact even while shrinking the image layer, so search and copy-paste still work.
Can I compress a password-protected PDF?
You'll need the password first. Compress the file, then re-add the password. Online tools can't — and shouldn't — bypass PDF passwords.
Does compression remove a digital signature?
Any change to a signed PDF, including compression, invalidates the signature. Compress before signing, or re-sign after compressing.
How small can a PDF actually get?
It depends on the content. A pure-text 50-page PDF can drop from 4 MB to around 200 KB. An image-heavy 50-page PDF might only go from 50 MB to 10 MB — images have a floor set by their resolution and quality.
Is online compression safe for confidential documents?
Reputable services delete uploads after a short window — we delete files 2 hours after they're ready. For extremely sensitive legal, medical, or financial files, use the offline Ghostscript method so the file never leaves your machine.
Try it yourself

Free file converters & video downloaders

No sign-up, no watermark, no email. Convert and download files online, often within a minute.

Browse all converters

Keep reading