All guides
Document & PDF Tools

How to Compress PDF Files Without Losing Quality

Learn how to reduce PDF file size while preserving visual quality, with practical techniques and tools for different types of documents.

Published September 18, 2024

Large PDF files are a common problem. They are hard to email, slow to upload, and take up excessive storage. Compressing a PDF reduces its file size, but the goal is to do so without visibly degrading the document quality. This guide explains how PDF compression works, what techniques preserve quality, and how to choose the right compression level for different types of documents.

Why PDF files are large

PDF files can be large for several reasons. The most common is embedded images, especially high-resolution photographs that are stored uncompressed or with minimal compression. Other contributors include embedded fonts, redundant objects left over from editing, unused metadata, and embedded multimedia such as audio or video.

Understanding what makes your PDF large helps you choose the right compression strategy. A 50-page text document with no images compresses differently from a 5-page brochure with full-page photographs.

How PDF compression works

PDF compression reduces file size through several techniques. Image downsampling reduces the resolution of embedded images to match the display resolution. For example, an image embedded at 600 DPI can be downsampled to 150 DPI for screen viewing without visible quality loss. Image recompression applies more efficient compression algorithms to embedded images.

Object deduplication removes redundant objects, such as duplicate fonts or images that appear multiple times. Metadata stripping removes unnecessary metadata like author information, editing history, and embedded thumbnails. Font subsetting includes only the characters actually used in the document rather than the entire font.

Each technique targets a different source of file size. A good compression tool applies the right combination based on the document content.

Choosing the right compression level

Most PDF compression tools offer multiple quality levels. The right choice depends on how the document will be used. For documents that will be viewed on screen, a moderate compression level that downsamples images to 150 DPI is usually sufficient and produces no visible quality loss. For documents that will be printed, higher quality settings that preserve 300 DPI or above are recommended.

For email attachments, aim for a file size under 10 MB, which most email systems accept. For web hosting, smaller files load faster, so aggressive compression is acceptable if the document is meant for screen viewing. For archival or legal documents, use minimal compression to preserve maximum quality.

Step-by-step: compressing a PDF

1. Open a PDF compression tool like PDFKit at pdf.explorme.com.

2. Upload or select the PDF file you want to compress.

3. Choose the compression level. Start with a medium setting for screen viewing.

4. The tool processes the file and shows the original and compressed file sizes.

5. Download the compressed PDF and compare it visually with the original.

6. If the quality is acceptable, you are done. If the quality is too low, try a higher compression setting.

7. If the file is still too large, check whether the document contains large images that can be downsampled further.

Compressing image-heavy PDFs

Image-heavy documents like brochures, magazines, and scanned documents benefit most from image compression. The key is to match the image resolution to the intended display size. A full-page image at 600 DPI is overkill for screen viewing at 150 DPI. Downsampling to 150 DPI can reduce the file size by 80 percent or more with no visible quality loss on screen.

For scanned documents, consider whether color is necessary. Scanning in grayscale or black and white instead of color can dramatically reduce file size. Also consider using OCR to create a searchable text layer, which adds minimal size but greatly improves usability.

Compressing text-heavy PDFs

Text-heavy documents like reports, contracts, and academic papers are usually already small, but they can still benefit from font subsetting and metadata stripping. Font subsetting includes only the characters used in the document, which can significantly reduce the size of documents that use multiple fonts.

Removing unnecessary metadata, embedded thumbnails, and editing history can also save space. These elements are invisible to the reader but add to the file size.

Common mistakes to avoid

  • Using maximum compression without checking the result. Aggressive compression can produce visible artifacts, especially in images.
  • Compressing a PDF multiple times. Each compression pass can degrade quality. Keep the original and compress from it each time.
  • Ignoring the intended use. Screen viewing tolerates more compression than printing. Match the compression level to the use case.
  • Forgetting to check the compressed file. Always open the compressed PDF and compare it with the original before sharing.
  • Stripping metadata from documents that require it. Legal and archival documents may need to retain certain metadata.

FAQ

Looking for more tools? Explore our Document & PDF Tools category.