Compress PDF

Popular

Reduce PDF file size using lossless object cleanup or rasterized DPI modes.

Drop your PDF document here

Or click to browse from your device. Your PDF or image bytes are processed locally in browser memory.

Compression Method

How to Use Compress PDF

Choose between Lossless Optimization (keeps selectable vector text) and Balanced or Smallest Raster modes (renders pages to compressed JPEG images when scans are oversized).

Step 1

Select or drop your PDF via "Select PDF Document".

Step 2

Pick a mode: "Lossless Optimization", "Balanced Raster (150 DPI)", or "Smallest Raster (96 DPI)".

Step 3

Click "Run Compress PDF" and review the before/after file sizes.

Step 4

Click "Download Output" to save the smaller PDF.

How Output Is Calculated or Built

Lossless Optimization re-saves the PDF using object streams to strip redundant metadata without touching image bitmaps. Balanced Raster (150 DPI) and Smallest Raster (96 DPI) render each page with pdf.js and re-embed compressed JPEG pages into a new PDF.

Supported Formats & Input Limits

Unencrypted PDF files (.pdf).

Example: Shrinking a 4.2 MB camera-scanned form for a 2 MB portal limit
Input: 4-page scanned PDF (4,200 KB) using Balanced Raster (150 DPI)
Result: 4-page PDF (~780 KB, roughly 81% smaller)

Camera scans often store huge raw bitmaps; rasterizing at 150 DPI JPEG slashes size while keeping printed handwriting legible.

Common Issues & Fixes

  • Lossless Optimization barely changed the file size

    If your PDF consists of large scanned photos, switch to Balanced Raster (150 DPI) or Smallest Raster (96 DPI).

  • Text is no longer selectable after raster compression

    Raster modes convert pages into images. If you need selectable text, use Lossless Optimization instead.

Important Limitations

  • •Balanced (150 DPI) and Smallest (96 DPI) modes flatten pages into JPEG images, so text cannot be selected or searched afterward and hyperlinks are removed.
  • •Lossless mode cannot downsample already compressed images inside a PDF.
Network & Storage Note: Compression runs locally in your browser. Raster modes use pdf.js, which loads its worker, cmaps, and standard fonts from unpkg.com.

What Compress PDF Includes

Lossless mode keeps crisp vector text
150 DPI and 96 DPI raster modes for heavy scans
Before vs after kilobyte comparison
Local browser processing
Related Guide

How PDF Compression Works: Lossless Stream Packing vs. Raster Compression

Shrinking a PDF without ruining readability depends on whether your PDF is already packed or consists of high-resolution page scans. Learn what each compression mode actually changes.

Read Guide

Frequently Asked Questions

Frequently Asked Questions

Find quick answers about functionality, security, and usage limits.

Start with Lossless Optimization so fonts stay sharp and selectable. Only use 150 DPI or 96 DPI raster modes if the file is still above your upload limit.

More PDF Tools

View all