How to Compress a PDF: 5 Ways Compared (Online, Mac, Windows)

7 min read
How to Compress a PDF: 5 Ways Compared (Online, Mac, Windows)
Using DonePDF? The step-by-step guide to compressing a PDF explains the four compression levels, what each option does and the results we measured on scans and photo-heavy files.

Your PDF is 30 MB and your email only takes 25 MB. Or a portal rejects anything over 10 MB. The fix is almost always the same: make the images inside the PDF smaller. Text barely takes any space, so the right method can shrink a scanned or photo-heavy file by 80% or more while the text stays sharp.

This guide compares five ways to do it, explains which setting to pick for each job, and shows what to do when compression alone is not enough. If you just want the file smaller right now, use our Compress PDF tool: it runs in your browser, so the file is not uploaded.

What makes a PDF large?

Knowing the cause tells you which fix will work. In most large PDFs, images are the problem.

Cause Why it adds size What fixes it
Scanned pages Each page is a full photo, often at 300 DPI Lower the image resolution to 150 DPI; grayscale if colour is not needed
High-resolution photos One 300 DPI colour photo can take 2–5 MB Downsample and recompress as JPEG
Lossless images (PNG, TIFF) No compression applied Recompress as JPEG
Full embedded fonts Every character of every font is stored Subset fonts to the characters used
Metadata, attachments, unused objects Hidden data left by the program that made the file Remove unused data
Many pages Even light pages add up Remove or split pages you don't need

A PDF that is mostly text is already compact. Expect it to shrink by only 5–30%, no matter which tool you use.

Method 1: Compress a PDF online (fastest)

Best for: a quick result on any device, without installing anything.

  1. Open Compress PDF and choose your file (up to 200 MB).
  2. Pick a level:
    • Light: images up to 200 DPI. For files you will print.
    • Recommended: images up to 150 DPI. Sharp on screen and fine for office printing. Right for most files.
    • Strong: images up to 110 DPI. For strict email and upload limits.
    • Extreme: images at 72 DPI. Smallest file, for reading on screen only.
  3. Optional: under "More options", make images grayscale or remove metadata.
  4. Click Compress PDF, then use "Compare quality" to check the result side by side with the original.
  5. Download the smaller file.

The file is opened and compressed in your browser, not on our servers. Text stays selectable and searchable at every level, and links, bookmarks and form fields keep working. If the result would not be smaller, the tool tells you instead of giving you a bigger file.

Many other online compressors upload your file to their servers. Before you use any online tool for a contract, ID or medical record, check its privacy page for where the file is processed and when it is deleted.

Method 2: Mac Preview (free, built in)

Best for: Mac users who need a quick, offline result.

  1. Open the PDF in Preview.
  2. Choose File > Export.
  3. In "Quartz Filter", choose Reduce File Size, then save under a new name.

Preview's filter is aggressive and has no settings, so scanned text can come out blurry. Always open the result before you send it. If it looks too soft, use Method 1 with "Recommended" instead.

Method 3: Adobe Acrobat Pro (paid, most control)

Best for: professionals who already pay for Acrobat and need fine control.

  • One click: File > Save as Other > Reduced Size PDF.
  • Full control: File > Save as Other > Optimized PDF. Set colour and grayscale images to 150 DPI (72 DPI for screen only), choose medium JPEG quality, subset fonts, and discard metadata, comments and hidden layers.

Save under a new name so you keep the original.

Method 4: Free offline software (private, batch-friendly)

Best for: sensitive files, many files at once, or automation.

Ghostscript (Windows, Mac, Linux)

A free command-line tool that can compress whole folders with a script:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
  • /screen: 72 DPI, smallest file
  • /ebook: 150 DPI, the best balance for most files
  • /printer: 300 DPI, high quality
  • /prepress: keeps nearly everything, small reduction

LibreOffice Draw (Windows, Mac, Linux)

  1. Open the PDF in Draw.
  2. Choose File > Export As > Export as PDF.
  3. On the Images tab, set JPEG quality to 80% and reduce image resolution to 150 DPI.

Draw re-creates the PDF, so complex layouts can shift. Check the result page by page.

Method 5: Remove content when compression isn't enough

If the file is still too big after the strongest setting you can accept, make it smaller by keeping less:

  • Remove pages you don't need, or extract only the pages you do.
  • Split the PDF into parts and send them separately.
  • Make scans black and white with Grayscale PDF.
  • For scans that only need to be read on screen, Hyper Compress PDF saves each page as a low-resolution image. Text can no longer be selected afterwards, so run OCR first if you need it searchable.

Which method should you use?

Method Cost Where the file goes Control Batch Best for
DonePDF Compress PDF Free Stays in your browser 4 levels + options No Most people, any device
Mac Preview Free Stays on your Mac None No Quick result on a Mac
Adobe Acrobat Pro Paid Stays on your computer Full Yes Existing Acrobat users
Ghostscript Free Stays on your computer Presets Yes (scripts) Many files, automation
LibreOffice Draw Free Stays on your computer Basic No Simple layouts

A simple workflow that works for almost any file

  1. Keep a copy of the original.
  2. Compress at "Recommended" (or 150 DPI in other tools).
  3. Still too big? Try "Strong", then turn on grayscale if colour doesn't matter.
  4. Still too big? Remove or split pages.
  5. Open the result and check the smallest text, signatures and stamps before you send it.

Common problems and their fixes

  • "My PDF hardly got smaller." It is probably mostly text, or its images are already compressed. A stronger level only helps when there are images.
  • "It's too big for email." Gmail and Outlook usually allow 20–25 MB. Try "Strong"; if that isn't enough, split the file or share a cloud link. See PDF too large for email.
  • "I need it under an exact size." Use Compress PDF to an exact size.
  • "I'm sending it on WhatsApp." See Reduce PDF size for WhatsApp.
  • "It's a scanned document." Scans shrink the most. See Compress a scanned PDF.
  • "The PDF is password protected." If you need a password to open it, remove it first with Unlock PDF, then compress.

Mistakes to avoid

  • Over-compressing. At 72 DPI, small print and signatures can blur. Use "Extreme" only for screen reading.
  • Compressing after signing. Changing a digitally signed PDF breaks the signature. Compress first, then sign.
  • Compressing the same file again and again. Each pass loses image quality with little size gain. Go back to the original instead.
  • Not checking the result. Always open the compressed file and zoom in on the smallest text before you send it.

How small can a PDF realistically get?

Typical results at a quality that is still easy to read:

Document Realistic size
1 page of text, no images 20–50 KB
1 scanned page, 150 DPI, grayscale 100–200 KB
1 scanned page, 150 DPI, colour 300–600 KB
10-page text report 200–500 KB
10-page scanned document 2–5 MB

Going much smaller than this usually makes text hard to read.

Frequently asked questions

How do I compress a PDF for free?

Open Compress PDF, choose your file, pick "Recommended" and download the result. It is free, needs no account and runs in your browser. On a Mac you can also use Preview's "Reduce File Size" filter.

Does compressing a PDF reduce quality?

Text and vector graphics don't lose quality, because only images are changed. At "Light" and "Recommended" the difference is hard to see on screen. At "Extreme", images look visibly softer.

How much smaller will my PDF get?

Scans and photo-heavy files often shrink by 80–95%. Mixed documents usually shrink by 40–70%. Text-only files shrink by 5–30%.

Is my file uploaded when I use DonePDF's Compress PDF?

No. The PDF is opened and compressed in your browser, and the smaller file is created on your device.

What is the best compression level for email?

Start with "Recommended". If the file is still over your email limit, usually 20–25 MB, try "Strong". Use "Extreme" only for documents that will be read on screen.

Frequently Asked Questions

How can I compress a PDF for free?

You can compress a PDF for free using several methods:

  1. Online (fastest): Use our Compress PDF tool. Upload, choose compression level (Low/Medium/High), download. No registration, up to 50 MB, files never leave your device.
  2. Offline (Windows): PDF‑XChange Editor free version – Document > Optimize PDF, set downsampling and compression. Adds a small watermark but works.
  3. Command line (cross‑platform): Ghostscript with gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -dNOPAUSE -dBATCH -sOutputFile=output.pdf input.pdf.

For sensitive documents, use offline methods. For non‑confidential files, our online tool is fastest.

How much can I compress a PDF file?

Compression depends on content:

  • Image‑heavy PDFs (scans, brochures, photos): 70‑90% reduction by downsampling images to 150 DPI and using JPEG compression.
  • Mixed content (text + diagrams): 50‑70% reduction.
  • Text‑only PDFs: 10‑30% reduction (primarily from metadata removal and font subsetting).
  • Already compressed PDFs: Minimal further reduction (under 10%).

Our Compress PDF tool with Medium compression typically achieves 50‑80% reduction for typical office documents.

Does compressing a PDF reduce quality?

It depends on the compression level and content:

  • Text: Never loses quality – text remains sharp because it uses vector fonts.
  • Images: May lose quality if aggressively compressed (High mode) or downsampled to very low DPI (72 DPI).
  • Low compression: Minimal visible loss, reduces size 10‑30% – suitable for printing.
  • Medium compression (recommended): Downsampling to 150 DPI – still sharp on screens, reduces 50‑70% – ideal for email and web.
  • High compression: 72 DPI – noticeable blur, acceptable only for web preview.

Always test the compressed PDF before replacing the original.

What compression level should I choose?

Choose based on your intended use:

  • Low compression: Minimal size reduction, best quality – for printing, archiving, or legal documents.
  • Medium compression (recommended): Balanced size and quality – for email attachments, website downloads, and general sharing. Images downsampled to 150 DPI.
  • High compression: Maximum reduction, noticeable quality loss – for web preview only (e.g., product catalog thumbnails).

Our Compress PDF tool defaults to Medium, which works for 90% of use cases.

How do I compress a scanned PDF?

Scanned PDFs are image‑heavy and respond well to compression. Follow these steps:

  1. Convert to grayscale if color is not needed – reduces size by 30‑50% with no quality loss.
  2. Downsample to 150 DPI (original scans are often 300 DPI). For screen viewing, 150 DPI is sufficient.
  3. Use JPEG compression at 75‑85% quality.
  4. Our online tool: Use Compress PDF with Medium or High compression – it handles scanned PDFs automatically.
  5. Ghostscript command: gs -sDEVICE=pdfwrite -dPDFSETTINGS=/ebook -sOutputFile=output.pdf input.pdf.
  6. Adobe Acrobat Pro: Optimized PDF with downsampling to 150 DPI and JPEG quality Medium.

After compression, verify that small text remains legible.

How do I compress a PDF for email?

Email providers have limits (Gmail: 25 MB, Outlook: 20 MB). To make a PDF emailable:

  1. Use our Compress PDF tool with Medium compression – aim for under 10‑15 MB.
  2. If still over 20 MB, try High compression (downsamples images to 72 DPI – acceptable for preview).
  3. If still too large, split the PDF using Split PDF and send separate files, or upload to Google Drive/OneDrive and share a link.
  4. Alternative: Use Adobe Acrobat Pro's "Reduced Size PDF" (one click).

A 30 MB scanned document can often be compressed to 5‑8 MB with Medium compression – easily emailable.

How do I compress a PDF without losing quality?

To compress a PDF with minimal or no visible quality loss:

  1. Remove metadata, comments, bookmarks, and form fields: These add size with zero quality impact. Our Compress PDF tool does this automatically.
  2. Subset embedded fonts: Remove unused font characters – no visual change.
  3. Use lossless compression (or high‑quality JPEG at 90%).
  4. Downsample images to 150 DPI (not lower). For screen viewing, 150 DPI is sharp and saves significant space.
  5. Convert color pages to grayscale for text documents.

Use Low compression mode in our tool, or in Adobe Acrobat Pro, manually set image downsampling to 150 DPI and JPEG quality to 90%.

What is the smallest PDF size possible?

There is no absolute minimum, but practical lower bounds for typical documents:

  • Single text page (no images): 20‑50 KB.
  • Scanned letter page, 150 DPI grayscale: 100‑200 KB.
  • Scanned letter page, 150 DPI color: 300‑600 KB.
  • 10‑page text report: 200‑500 KB.
  • 10‑page scanned document: 2‑5 MB.

Squeezing below these thresholds usually results in unreadable text or severe image artifacts. Use our Compress PDF tool to find the optimal balance for your document.