Skip to content

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

Have you ever tried to email a PDF only to get a “file too large” error? Or uploaded a document to a website and watched it get rejected? You’re not alone. PDF files — especially those packed with images and graphics — can balloon to dozens of megabytes in size, making them a nightmare to share. The good news is that you can compress a PDF without losing quality using the right tools and techniques.

In this complete guide, you’ll learn exactly how to shrink your PDF file size — whether you’re on Windows, Mac, or using a free online tool — without turning your crisp text into blurry mush or your sharp images into pixelated disasters. We’ll walk through every major method, explain what actually happens during compression, and help you choose the best approach for your specific situation.

Table of Contents

What Does Compressing a PDF Actually Do?

Before we dive into tools and steps, it helps to understand what compression actually does to your file. A PDF is not a single image — it’s a container holding text, fonts, embedded images, metadata, thumbnails, and sometimes even JavaScript or form data.

When you compress a PDF, the tool looks for ways to reduce the amount of data stored in that container. This can mean removing redundant information, re-encoding images at a lower resolution, stripping out metadata, or reorganizing the internal file structure so it takes up less space.

The key insight is this: not all compression reduces quality. Much of what makes PDFs large is unnecessary overhead — data your reader never actually uses. Remove that, and your file gets smaller while looking identical on screen.

What Causes Large PDF File Sizes?

1. High-Resolution Images

Images are the single biggest contributor to PDF file size. A document with a few professional photographs or stock images can easily reach 50MB or more. Camera images are often saved at 300 DPI or higher — perfect for printing, but far more than you need for a document viewed on screen.

2. Embedded Fonts

PDFs often embed entire font files so the document looks the same on every device. If a document uses multiple fonts or includes characters from many languages, the embedded font data can add significant bulk. Subsetting fonts — storing only the characters actually used — dramatically reduces this overhead.

3. Hidden Layers and Objects

Some PDFs contain invisible layers, unused form fields, hidden annotations, or objects from previous editing sessions that are no longer visible but still take up space in the file.

4. Metadata and Thumbnails

Author information, revision history, embedded thumbnail previews, and other metadata often accompany PDF files. While individually small, these elements add up — especially in documents that have been edited many times.

5. Scanned Pages

PDFs created by scanning physical documents are essentially a series of images. Each scanned page can be 1–5MB on its own, meaning a 20-page scanned document could easily top 50MB before any optimization.

Lossless vs Lossy Compression: Which Should You Choose?

PDF compression comes in two fundamental flavors, and choosing the right one makes all the difference between a great result and a ruined document.

Lossless Compression

Lossless compression reduces file size without changing any of the actual content. It achieves this by reorganizing data, removing duplicates, stripping metadata, and optimizing the internal structure. The result is a document that looks byte-for-byte identical to the original on screen, just stored more efficiently.

Use lossless compression when: you’re working with contracts, legal documents, text-heavy reports, or any file where every pixel matters and must be preserved exactly.

Lossy Compression

Lossy compression achieves greater file size reductions by actually reducing image quality — lowering the resolution (DPI) or increasing JPEG compression on embedded images. Done carefully, the result is visually identical to the original because the removed detail was beyond what the human eye notices on screen. Done aggressively, you end up with blurry images and pixelated graphics.

Use lossy compression when: you need aggressive size reduction for web uploads, email attachments, or screen-only viewing, and the document contains images you can afford to downsample.

 

Type

Quality Impact

Best For

Lossless

None

Legal docs, contracts, text files

Balanced (150 DPI)

Minimal

General sharing, email

Aggressive (72–96 DPI)

Noticeable

Web thumbnails, previews

 

How to Compress a PDF Without Losing Quality Using Free Online Tools

Free online PDF compressors are the fastest option for most users. You don’t need to install anything, they work on any device with a browser, and many are completely free for basic compression. Here are the best options in 2026.

Smallpdf — Best Overall Free Option

Smallpdf is one of the most popular PDF tools in the world, and its compression tool is excellent. It offers three compression levels: Basic (free), Moderate (Pro), and Strong (Pro). The Basic level applies lossless optimization and is enough for most text documents. For image-heavy files, upgrading to Moderate or Strong delivers much better results.

How to use Smallpdf to compress a PDF:

  1. Go to smallpdf.com and click on “Compress PDF”.
  2. Drag and drop your PDF file into the upload area, or click to browse.
  3. Select your compression level (Basic is free; Moderate and Strong require a Pro account).
  4. Click the Compress button and wait a few seconds.
  5. Download your compressed PDF.

PDF24 — Best Free Option with No Limits

PDF24 is completely free, with no file size limits or daily restrictions. You can set custom image quality and DPI settings, giving you fine-grained control. For best quality, set image quality to 100 and DPI to 300, then disable “Rasterize heavy graphics” under Additional Options. This achieves maximum lossless compression without touching image quality.

ILovePDF — Best for Batch Compression

If you need to compress multiple PDFs at once, ILovePDF allows batch uploads. It’s free for individual files and offers a premium plan for high-volume work. The compression is reliable and the interface is clean and straightforward.

Adobe Acrobat Online — Best for Occasional Use

Adobe offers a free online PDF compressor at acrobat.adobe.com. You simply drag and drop your file, choose a compression level (High, Medium, or Low), and download the result. It balances file size against image quality automatically. The free version limits how many files you can compress per month.

Important: When using any online tool, only upload files that don’t contain sensitive or confidential information. These tools process your file on their servers. Most reputable services delete files after 1–2 hours, but it’s worth checking their privacy policy before uploading anything sensitive.

How to Compress a PDF in Adobe Acrobat (Pro and Free)

Adobe Acrobat is the gold standard for PDF compression, offering more control than any free tool. While Acrobat Pro is a paid subscription, it’s available for a free 7-day trial, which is enough time to compress a batch of files.

Using Adobe Acrobat Pro — Reduce File Size

The quickest method in Acrobat Pro is File > Save As Other > Reduced Size PDF. This applies standard optimization and is a good first pass for most documents.

  1. Open your PDF in Adobe Acrobat Pro.
  2. Go to File > Save As Other > Reduced Size PDF.
  3. Choose the minimum PDF version compatibility (lower versions allow more optimization).
  4. Click OK and save the new file.

Using Acrobat’s PDF Optimizer — Advanced Control

For more control, use the PDF Optimizer tool under File > Save As Other > Optimized PDF. This lets you:

  • Downsample images separately for color, grayscale, and monochrome.
  • Set custom DPI targets (300 DPI for print, 150 DPI for general sharing, 72 DPI for screen-only).
  • Remove embedded thumbnails, comments, form data, and metadata.
  • Subset embedded fonts to only include used characters.
  • Flatten transparency layers.

This level of control is what makes Acrobat Pro worth the trial. You can run the Audit Space Usage report first to see exactly what is taking up space in your document, then target those elements specifically.

Adobe Acrobat Free Online Compressor

If you don’t have Acrobat Pro, Adobe’s free online compressor at acrobat.adobe.com/compress handles most everyday compression tasks well. You get a few free conversions per month without signing up.

How to Compress a PDF on Mac Using Preview

If you’re on a Mac, you already have a built-in PDF compressor: the Preview app. It’s fast, free, and requires no downloads. The catch is that Preview’s default “Reduce File Size” Quartz filter is aggressive — it can noticeably reduce image quality if the PDF contains photographs.

Using Preview to Compress a PDF

  1. Open your PDF in Preview (double-click the file).
  2. Go to File > Export.
  3. In the Export dialog, change the Format to PDF.
  4. Open the Quartz Filter dropdown and select “Reduce File Size”.
  5. Click Save.

This method works best for text-heavy documents. For image-heavy PDFs, the default Quartz filter may over-compress your images. In that case, you can create a custom Quartz filter using ColorSync Utility that sets image quality higher, or use an online tool for better control.

Creating a Custom Quartz Filter on Mac

Open ColorSync Utility (search for it in Spotlight). Go to Filters, duplicate the “Reduce File Size” filter, and rename it. Then adjust the image quality setting upward — this lets you compress the PDF without the aggressive quality loss of the default filter.

How to Reduce PDF Size on Windows Without Extra Software

Windows doesn’t have a built-in PDF compressor as capable as Mac’s Preview, but there are still a few options without installing anything.

Print to PDF — Quick Method

One simple trick is to “re-print” the PDF using Windows’ built-in Microsoft Print to PDF printer. This re-renders the document at screen resolution, which often produces a smaller file.

  1. Open your PDF in any PDF viewer (Adobe Reader, Edge, or Chrome).
  2. Press Ctrl+P to open Print dialog.
  3. Select “Microsoft Print to PDF” as the printer.
  4. Click Print and choose where to save the new file.

This works reasonably well for text documents but can produce mixed results for image-heavy files. It also may not preserve hyperlinks or form fields.

Using Microsoft Edge’s Built-In PDF Tools

Modern versions of Microsoft Edge include basic PDF tools. Open your PDF in Edge, go to the Print dialog (Ctrl+P), select Print to PDF, and in the print settings look for paper size and quality options. This achieves similar results to the Print to PDF method above.

Free Windows PDF Tools

For better results on Windows, free apps like PDF24 Desktop, PDFsam, or Foxit PDF Reader (free version) offer compression features that outperform the basic Windows print-to-PDF approach. PDF24 Desktop in particular is fully free with no watermarks and excellent compression quality.

How to Compress a PDF Using Ghostscript (Advanced)

Ghostscript is a free, open-source command-line tool that gives you the most precise control over PDF compression of any method. It’s what many online tools actually use behind the scenes. If you’re comfortable with the command line, Ghostscript lets you dial in exactly the quality level you want.

Installing Ghostscript

Download Ghostscript from ghostscript.com. It’s available for Windows, Mac, and Linux, and it’s completely free and open source.

Ghostscript Compression Presets

Ghostscript uses preset “profiles” that set all compression parameters at once:

Preset

Image DPI

Best For

Quality

/screen

72 DPI

Screen viewing only

Low

/ebook

150 DPI

General sharing

Good

/printer

300 DPI

Print-ready

High

/prepress

300 DPI

Professional print

Highest

 

Ghostscript Command

To compress a PDF using the /ebook profile (best balance of quality and size):

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

Replace /ebook with /printer for high-quality output or /screen for maximum compression. This command preserves text perfectly while downsampling images to 150 DPI — invisible at normal screen zoom levels and still sharp enough for most print uses.

One key tip: always compress from the original file, never compress an already-compressed PDF. Each compression pass stacks quality loss on the previous one and rarely produces meaningful additional size reduction.

How to Compress a PDF on iPhone and Android

Compressing PDFs on mobile is straightforward with the right apps.

On iPhone and iPad

The easiest method on iOS is to use the Files app with a Shortcuts automation, or install Adobe Acrobat for iOS (free version available). PDF Expert and Documents by Readdle also offer compression features.

Alternatively, the online tools mentioned above — Smallpdf, PDF24, and ILovePDF — all work perfectly in Safari or Chrome on iPhone. Simply visit the site, tap to upload from your Files app, choose a compression level, and download the result.

On Android

Android users can use Adobe Acrobat Reader (free) which includes basic compression, or iLovePDF and Smallpdf via the browser. Apps like PDF Compressor — PDF Optimizer available on Google Play offer dedicated compression features with control over compression levels.

For sensitive documents on mobile, prefer a reputable desktop app over an online tool, since mobile browsers don’t always give you full visibility into where your files are being uploaded.

Tips to Avoid Quality Loss When Compressing PDFs

1. Always Compress the Original

Never compress a PDF that has already been compressed. Each additional pass stacks loss on loss. Keep your original file untouched and always compress from that master copy.

2. Match DPI to Viewing Medium

Use 72–96 DPI for screen-only documents (web uploads, previews), 150 DPI for general sharing and email, and 300 DPI for anything that might be printed. Downsampling to 150 DPI for a document nobody will print is not a quality compromise — it’s removing data that was never going to be used.

3. Try Lossless Compression First

Many PDFs contain significant overhead that can be removed without touching image quality at all. Run a lossless optimization pass first. If the result is small enough, you’re done — with zero quality loss.

4. Compress Images Before Creating the PDF

If you’re creating a PDF from scratch (from a Word document or InDesign layout, for example), optimize your images before inserting them. Saving JPEGs at 80% quality instead of 100% is barely visible but can cut image file sizes by 60–70%.

5. Remove Hidden Content

Strip metadata, embedded thumbnails, hidden layers, unused bookmarks, and form field data from documents that have been finalized. These elements can add megabytes with zero benefit to the reader.

6. Subset Fonts

If your PDF tool offers font subsetting, enable it. Instead of embedding the entire font file, only the specific characters used in your document are stored. This can save significantly on font-heavy documents.

Mistakes to Avoid When Compressing PDFs

  • Compressing the same file multiple times: Each pass stacks quality loss. Always compress from the original.
  • Using maximum compression on image-heavy documents: 72 DPI images look terrible when printed and are unacceptable for professional documents. Match compression to the document’s purpose.
  • Ignoring privacy when using online tools: Don’t upload confidential documents to free online services without reading their data retention policy.
  • Choosing the wrong compression tool for the job: A simple text report doesn’t need Adobe Acrobat Pro. A professional brochure with photography probably does.
  • Not comparing before and after: Always open the compressed PDF and check image quality and text sharpness before sending or publishing it.
  • Applying lossy compression to documents intended for print: If the document will be commercially printed, keep images at 300 DPI minimum.

Frequently Asked Questions

Can I compress a PDF without any quality loss at all?

Yes — if your PDF contains significant overhead (metadata, hidden layers, embedded thumbnails, non-subsetted fonts), you can often achieve meaningful file size reduction with purely lossless compression, which makes no visual changes whatsoever. For image-heavy files, some reduction in image resolution is often needed to achieve meaningful size reduction, but done carefully at 150 DPI, the result is visually identical on screen.

What is the best free tool to compress a PDF without losing quality?

PDF24 is widely considered the best fully free PDF compression tool. It has no file size limits, no daily restrictions, and allows you to set custom image quality and DPI settings. Smallpdf is a close second and is easier to use, though its free tier limits compression levels. For command-line users, Ghostscript with the /ebook preset is the most powerful free option.

How much can I compress a PDF without losing quality?

It depends heavily on the document’s contents. A text-only PDF might shrink by 20–40% through lossless compression alone. A PDF packed with high-resolution photographs can often be reduced by 60–80% while remaining visually indistinguishable on screen, by downsampling images from 300 DPI to 150 DPI.

Is it safe to compress PDFs online?

Reputable services like Smallpdf, PDF24, and Adobe’s online compressor are generally safe and delete your files after a short period (typically 1–2 hours). However, you should never upload documents containing sensitive personal information, financial data, legal agreements, or anything confidential to an online tool unless you’ve read and trust their privacy policy. For sensitive documents, use a desktop tool like Ghostscript, Adobe Acrobat, or PDF24 Desktop.

Why is my PDF still large after compression?

Several things can cause this. If the PDF is mostly already-compressed JPEG images, there’s little room to reduce further without visible quality loss. Some PDFs are protected or encrypted in ways that prevent certain types of optimization. If you’re using an online tool on a file that’s already been compressed once, you won’t see much additional reduction. Try using a tool with a lossless-first option, then check Ghostscript with the /printer or /ebook preset for better results.

Does compressing a PDF reduce its print quality?

Only if you downsample images below 300 DPI, which is the standard minimum for print. If you use a Balanced or Quality compression setting (150–300 DPI) rather than a Screen or Aggressive setting (72–96 DPI), the compressed PDF will print at full quality. Always check your tool’s DPI setting before compressing a document intended for professional printing.

Can I compress a password-protected PDF?

Most tools require you to remove password protection before compression, as the encryption prevents the tool from accessing and optimizing the file contents. In Adobe Acrobat, go to File > Properties > Security and remove the password protection, then compress the file. Re-apply password protection afterward if needed.

Conclusion: Compress Smarter, Not Harder

Compressing a PDF without losing quality is not about applying maximum compression and hoping for the best. It’s about understanding what’s actually making your file large, choosing the right tool for your situation, and applying the minimum compression needed to meet your size goal.

For most everyday tasks — email attachments, website uploads, sharing reports — a free online tool like PDF24 or Smallpdf’s Basic compression is all you need. For image-heavy documents you care about, Adobe Acrobat’s PDF Optimizer or Ghostscript with the /ebook preset gives you precision control. For Mac users, Preview is a convenient quick fix for text documents.

Whatever method you choose, always compress from the original file, preview the result before sharing, and match your DPI settings to how the document will actually be used. Follow those principles and you’ll compress PDFs confidently — smaller files, same professional quality.

Need a fast, free way to compress your PDF right now? Try our free PDF compression tool and get your document to the right size in seconds, without installing anything.

Calculators

free calculators for finance, study, and everyday math.

PDF Tools

PDF Tools to merge, split, and convert PDF files.

Image Tools

Resize, compress, and convert images without losing quality.