PDF Compression: A Practical Guide to Reducing File Sizes While Preserving Quality
PDF files can become unexpectedly large. Understanding why this happens β and how to efficiently reduce file size β will help you share, store, and email documents more effectively.
Why Are PDF Files So Large?
PDF is a container format β like a ZIP file, it can hold many different types of content simultaneously. The size of a PDF is determined by the sum of all its contents. The main contributors to large PDF file sizes are: high-resolution embedded images (the most common culprit by far), embedded font files (a single custom font can add 50-500KB), embedded ICC colour profiles, document metadata and revision history, redundant cross-reference data from incremental saves, and uncompressed content streams.
A 200-page text-only PDF created from a word processor might be under 1MB. The same 200 pages exported from a design application with embedded high-resolution images and custom fonts might be 80MB or more. Understanding what is taking up space in your specific PDF helps you choose the right compression strategy.
How PDF Compression Works Technically
PDF compression primarily targets embedded images, since they account for the largest portion of file size in most documents. There are two fundamental approaches:
- Lossless compression (ZIP/Deflate, LZW): Reduces file size without any quality loss by eliminating redundant data patterns. Text and vector graphics are always stored with lossless compression in PDFs. The compression ratio is modest (typically 10-30% reduction) but quality is perfectly preserved.
- Lossy compression (JPEG, JPEG 2000): Reduces image file size by discarding image detail that is difficult for the human eye to notice. This can achieve dramatic reductions (60-85%) but introduces some visual degradation. The degree of degradation depends on the compression quality setting β higher quality settings preserve more detail at the cost of larger file size.
PDFLocal's compress tool applies JPEG recompression to embedded images at a user-selected quality level. Low compression applies minimal JPEG recompression (quality 80%, giving modest size reductions with virtually no visible difference). Medium applies quality 60% recompression (significant size reduction, minor quality reduction visible only under close inspection). High applies quality 40% recompression (maximum size reduction, some visible quality reduction in detailed photographs).
When to Use Each Compression Level
- Low compression: Use for documents where visual quality is critical β portfolio samples, printed marketing materials, medical imaging reports, or any document where images will be zoomed or printed.
- Medium compression: The best choice for most business documents β scanned invoices, contracts, reports, and presentations that will be read on screen but not printed at high quality.
- High compression: Appropriate for documents that just need to be readable β archived records, rough drafts shared for review, documents that need to fit under email size limits, or any document where the specific image details are not important.
Content That Cannot Be Compressed Further
Not all PDF content can be compressed. Text and vector graphics (lines, shapes, curves) are already stored using lossless compression and are typically very efficient. If your PDF is primarily text with minimal images and is still large, the file size is likely due to embedded fonts. Custom fonts embedded at full specification can add significant size. If font file size is the primary contributor, the solution is to either subset the font (embed only the characters actually used, rather than the complete font) using a dedicated PDF editor like Adobe Acrobat, or to use more common system fonts that don't need embedding.
Privacy-Safe Compression Without Cloud Uploads
Most online PDF compression tools β Smallpdf, iLovePDF, Compress PDF β require you to upload your file to their servers. For documents containing sensitive financial, legal, or personal information, this creates an unnecessary privacy risk. PDFLocal's Compress PDF tool processes your files entirely in your browser using the HTML5 Canvas API and pdf-lib.js. Your document data never leaves your device at any point during the compression process.
Alternative Strategies for Very Large PDFs
When compression alone is insufficient, consider these complementary strategies: Remove unnecessary pages using the Split PDF tool before compressing. If the PDF was created from a design application, re-export from the source at a lower DPI setting (150 DPI is sufficient for screen viewing). For scanned documents, rescan at 150 DPI instead of 300 DPI if the original will not need high-quality printing. Split the PDF into sections and compress each section separately, then distribute the sections rather than one large file.