How to Compress a PDF Document: Methods, Tools, and What to Expect

PDF files can balloon in size fast — especially when they contain scanned pages, high-resolution images, or embedded fonts. Compressing a PDF reduces its file size so it's easier to email, upload, store, or share. But how compression works, and how much you can realistically shrink a file, depends on what's actually inside that PDF.

What PDF Compression Actually Does

"Compressing a PDF" isn't a single action — it's a category of processes that each target different types of content within the file.

Image downsampling reduces the resolution of embedded photos and graphics. A scanned document at 300 DPI might be resampled to 150 DPI or 72 DPI, dramatically cutting file size at the cost of some visual sharpness.

Re-encoding images converts images to more efficient formats internally. JPEG compression, for instance, stores photographic images more compactly than uncompressed or losslessly encoded formats — though it introduces some quality loss.

Removing embedded data strips out metadata, hidden layers, form data, annotations, thumbnails, or duplicate embedded fonts that the file doesn't strictly need.

Flattening and optimizing the file structure reorganizes the internal PDF structure itself to reduce overhead — useful for files that have been edited multiple times and contain redundant data.

Most compression tools apply a combination of these techniques, though the terminology varies. "Optimize," "reduce file size," and "compress" often refer to the same underlying process depending on the software.

The Content Inside the PDF Is the Biggest Variable 📄

Not all PDFs compress equally. A PDF generated directly from a Word document or spreadsheet — sometimes called a native PDF — is typically already compact. Text-based content is inherently small. Compressing one of these might only shave off a few kilobytes.

A scanned PDF, on the other hand, is essentially a collection of images. Each page is a photograph of a document. These files can be several megabytes per page, and compression can reduce them dramatically — sometimes by 70–90% depending on the original scan quality and target resolution.

PDFs with embedded high-resolution photos, design assets, or vector graphics fall somewhere in between. Results depend on how the file was exported originally and what compression settings the source application used.

Common Methods for Compressing a PDF

Using Desktop Software

Adobe Acrobat (the full paid version, not Reader) offers granular control through its PDF Optimizer tool. You can target specific content types, set image resolution thresholds, and preview the estimated output size. It's the most precise option for professional documents.

Preview on macOS has a built-in "Quartz Filter" option when exporting — choose "Reduce File Size" from the Quartz Filter dropdown. It's quick and free, though it applies aggressive compression and can noticeably degrade image quality.

Microsoft Word and Google Docs both allow you to export a PDF with compression settings, but only if you're working with an editable document rather than an already-compressed PDF.

LibreOffice offers similar export options for free, with some control over image compression quality during PDF export.

Using Web-Based Tools

Browser-based tools like Smallpdf, ILovePDF, and Adobe's own free online compressor let you upload a PDF, apply compression, and download the result. They're convenient and require no installation.

The trade-off: you're uploading your file to a third-party server. For documents containing sensitive information — legal contracts, medical records, financial data — this is a meaningful privacy consideration. Most reputable services delete files after a short window, but you're still transferring data outside your device.

Using Mobile Apps

Both iOS and Android have PDF compression apps available, and some built-in file management tools on newer devices support basic PDF optimization. Quality and control vary widely across apps. Mobile compression is convenient for casual use but rarely offers the precision of desktop software.

Using Command-Line Tools

For developers or technically comfortable users, tools like Ghostscript (free, open-source) offer powerful, scriptable compression with fine-grained control over output settings. A single command can batch-process hundreds of files. This method has a steeper learning curve but no file size limits and no privacy concerns from cloud uploads.

Quality vs. File Size: The Core Trade-Off 🔧

Compression LevelTypical Use CaseQuality Impact
Low / MinimalArchiving, print-ready filesNear-original quality
MediumEmail attachments, sharingSlight image softening
High / MaximumWeb uploads, mobile viewingNoticeable quality loss

There's no universally "correct" compression level. A PDF being submitted to a printing company needs to preserve high resolution. A scanned receipt being uploaded to an expense system doesn't. The right setting depends entirely on how the document will be used and by whom.

Factors That Shape Your Results

  • Original file size and content type — images compress far more than text
  • Acceptable quality loss — some use cases tolerate degradation, others don't
  • File size limits you're working within — email attachments, upload portals, and cloud storage tools often impose caps
  • Privacy requirements — determines whether cloud-based tools are appropriate
  • Volume — compressing one file occasionally vs. processing hundreds regularly changes which method makes sense
  • Operating system and existing software — macOS users have free options Windows users don't, and vice versa

One More Thing Worth Knowing

Sometimes a PDF can't be meaningfully compressed further. If a file was already exported with aggressive compression applied, re-compressing it will either have minimal effect or degrade quality without meaningfully reducing size. In those cases, the better path is to go back to the source file — if available — and export a fresh PDF with optimized settings from the start.

What you can achieve with PDF compression varies enough that the same tool, applied to two different files, can produce dramatically different results. How much that matters — and which method makes sense — comes down to the documents you're working with and what you need to do with them. 📁