Back to Blog

How to Compress PDFs Without Losing Quality (2026 Guide)

Compress PDF file size for email, web upload, or storage. Free desktop, command-line, and online methods that keep your PDFs sharp and readable.

Posted by

How to compress PDFs without losing quality

Almost every email system has a 25 MB attachment limit. Most ATS and submission portals cap PDF uploads at 5-10 MB. Many courthouse and government e-filing systems are stricter. The PDF you scanned, exported, or downloaded is often two or three times the size of what you can actually attach. Compressing it (without making the text fuzzy or the images muddy) is one of the most-needed file operations in office work.

This guide covers the three best ways to compress a PDF in 2026, when each method makes sense, and how to keep quality high while still hitting size targets.

Watch: Compressing a PDF in How to Convert

Here is what PDF compression looks like in How to Convert. Drop the PDF, choose how aggressive the compression should be, get back a smaller file. Everything happens locally so your contracts and reports never leave your machine.

Method 1: How to Convert (Easiest, Local, Cross-Platform)

How to Convert compresses PDFs locally on your device. Drop the PDF in, choose a compression level (low, medium, high), get back a smaller PDF. The compression mostly works by re-encoding embedded images at a lower DPI and using JPEG for photo-heavy pages, while keeping vector text crisp.

Steps

  • Open How to Convert (desktop or browser).
  • Drag the PDF onto the window.
  • Pick a compression level. "Medium" is the safe default for email-friendly output.
  • Save the smaller PDF.

For sensitive documents (contracts, financial reports, medical records), local compression is the responsible choice. You never have to upload a confidential file to a third-party site.

How to Convert logoHow to Convert

The offline file converter for Mac, Windows and Linux.

  • Converts video, audio, images, documents, ebooks and more
  • Everything runs locally. Your files never leave your device
  • Pay once. Access forever

Get the app on Mac, Windows and Linux

Method 2: Ghostscript (Free, Command Line, Best Quality Control)

Ghostscript is the open-source PostScript and PDF interpreter that most professional PDF tools rely on internally. For PDF compression, it gives you the most precise control of any free tool.

Install on Mac with brew install ghostscript; on Linux sudo apt install ghostscript; on Windows download from the project page. Then run:

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

-dPDFSETTINGS is the key flag. Options from smallest to largest:

  • /screen: smallest file, 72 DPI images. Good for web preview, terrible for printing.
  • /ebook: 150 DPI images. Best general-purpose preset for email and most uploads.
  • /printer: 300 DPI images. Print quality, larger file.
  • /prepress: 300 DPI with color preserved. Largest file, archival quality.

For most email and upload use cases, start with /ebook. Drop to /screen only if you must hit a tight size limit and the PDF is for screen viewing only.

Method 3: Adobe Acrobat (Paid, Reliable)

Adobe Acrobat has a built-in "Reduce File Size" option (File > Save as Other > Reduced Size PDF). This re-saves the PDF with optimized images and embedded font subsets. Acrobat's output is usually clean and the size reduction is significant for image-heavy PDFs.

Acrobat is paid software (subscription). Worth it if you already pay for Acrobat Pro. Otherwise the free options above produce comparable results.

Online Tools (When You Cannot Install Software)

Smallpdf and iLovePDF are the two most popular online PDF compressors. Both offer free tiers with file size or daily-use limits, and both produce reasonable results for general-purpose compression.

Important caveat: never upload sensitive PDFs to an online compressor. Contracts, tax documents, medical records, financial statements, and anything covered by NDA should be compressed locally. Use How to Convert or Ghostscript for those files.

How to Compress PDFs Without Losing Quality

  • Vector content stays crisp. Text, line drawings, and vector graphics survive compression unchanged. Only embedded images get re-encoded.
  • Pick the right DPI for your use. 150 DPI is invisible at normal screen viewing. 300 DPI is needed for print. 72 DPI is only safe for screen-only PDFs.
  • Convert color images carefully. Photo-heavy PDFs benefit most from JPEG re-compression. Text-heavy PDFs barely change.
  • Strip embedded fonts that are subset-able. Most modern compressors do this automatically.
  • Remove form fields, annotations, and bookmarks if not needed. Acrobat's "Reduce File Size" does this; Ghostscript does not unless told to.

Frequently Asked Questions

How small can I make a PDF?

For text-heavy PDFs, 50-70% size reduction is typical with no visible quality change. For image-heavy PDFs (scanned documents, illustrations), 80-90% reduction is achievable but you will start to see artifacts at very low DPI. There is a floor: a single-page PDF with embedded fonts and metadata cannot go below about 30 KB regardless of compression.

Why is my compressed PDF blurry?

Almost always because the images inside were re-encoded at too low a DPI. Try a less aggressive setting (medium instead of high, or /ebook instead of /screen in Ghostscript). If that does not help, the source images themselves were probably already low quality.

Will compression remove text or break form fields?

No, well-behaved PDF compressors preserve text, form fields, signatures, and bookmarks. They only re-encode images and may subset fonts. If you are using a less common online tool and notice text or form changes, switch to a more reliable option.

Can I batch compress multiple PDFs?

Yes. The How to Convert desktop app accepts a folder of PDFs and compresses each. For command-line batch: for f in *.pdf; do gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -sOutputFile="compressed_$f" "$f"; done.

Final Thoughts

For most people, the easiest path is the How to Convert desktop app or browser tool: drag in the PDF, pick a compression level, save. For precise control over compression settings, Ghostscript on the command line is unbeatable. Reach for an online tool only when you cannot install software, and never for sensitive PDFs. With the right method matched to the file, you can usually cut PDF size in half without anyone noticing the difference.

How to Convert logoHow to Convert

The offline file converter for Mac, Windows and Linux.

  • Converts video, audio, images, documents, ebooks and more
  • Everything runs locally. Your files never leave your device
  • Pay once. Access forever

Get the app on Mac, Windows and Linux