πŸ”’ 100% Private & Client-Side: No login required. Your files never leave your device. All processing happens locally in your browser. We never save your files.
← Back to Blog | PDF Guide 8 min read

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:

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

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.

Compress Your PDF Now β†’