Compress PDF Online Free: Reduce PDF Size

Reduce PDF size locally with Light (lossless metadata cleanup keeping selectable text) or Strong (rasterizes pages to 120 DPI JPEGs, removing selectable text).

What Does Compress PDF Do?

Compare lossless PDF structural cleanup against aggressive image rasterization locally.

Email bounce notices and government portal caps often reject attachments by a few megabytes—especially when embedded scanner photos inflate an otherwise plain file. Pick Light (Lossless) to strip heavy info metadata while keeping crisp fonts selectable, or Strong (Rasterized) when shrinking oversized scans matters more than text selection.

Light mode uses @cantoo/pdf-lib useObjectStreams: true and strips Info metadata (title, author, subject, keywords); Strong mode rasterizes pages at 120 DPI JPEGs via pdf.js canvas before embedding cleanly. Plain limitation: Strong mode turns pages into flat images so text is no longer selectable, and pure text PDFs rarely shrink further in Light mode.

Why Offer Two Distinct Compression Modes?

Protect readable vector text when you only need cleanup, or flatten heavy scans aggressively when needed.

Honest Byte Comparison

Checks whether the compressed buffer actually shrank—returning your original PDF unchanged if already smaller.

Lossless Option Preserves Text

Light mode keeps searchability, selectable text, and vector graphics 100% sharp.

No Upload Exposure

Tax scans, passports, and medical forms stay strictly in browser memory.

How to Compress a PDF

Pick Light for selectable text or Strong for rasterized size reduction.

  1. 1
    Click Choose a PDF File or drop a PDF into the browser workspace.
  2. 2
    Select Light (Lossless) to preserve vector text, or Strong (Rasterized) to re-render image-heavy scans at 120 DPI.
  3. 3
    Click Process and Download to compress locally and compare original vs. new kilobytes.
  4. 4
    Save the output file or run Split PDF if you need smaller separate chapters.

Worked Examples

Concrete input-to-output scenarios computed directly from this tool.

Shrinking a Phone-Scanned Portfolio

Strong mode converts huge multi-megapixel embedded page scans into 120 DPI JPEGs.

Input
scanned-portfolio.pdf (high-res scans) + Strong (Rasterized)
Output
scanned-portfolio-compressed.pdf at 120 DPI JPEG pages (text becomes flat image)

Lossless Object-Stream & Metadata Cleanup

Light mode strips document Info properties and packs PDF object streams without hurting text.

Input
draft-report.pdf + Light (Lossless)
Output
Re-saved PDF retaining 100% crisp selectable text and links

Common Mistakes & Best Practices

Frequent configuration traps and edge-case pitfalls to avoid.

  • Using Strong mode on a legal brief you need to search later: Strong mode converts vector text into raster JPEGs at 120 DPI.
  • Expecting Light mode to shrink a 20 MB photo scan by 80%: Light mode does not downsample embedded JPEG streams—use Strong mode or split pages instead.

Capabilities & Browser Constraints

Exact supported formats, what the browser engine handles locally, and known limitations.

Format Support & Honest Limitations

✓ What This Tool Does
  • Light mode clears Title/Author/Subject/Keywords metadata and re-saves with PDF object streams
  • Strong mode renders pages at 120 DPI JPEG images and rebuilds a new smaller file
  • Keeps the original file untouched if recompression doesn't actually save bytes
⚠ Limitations & What It Does Not Do
  • Light mode does not downsample high-res photos embedded inside PDFs
  • Strong mode removes selectable text, hyperlinks, and vector sharpness (rasterizes pages)
  • Does not guarantee reductions on already-compressed pure text files; size depends on browser memory
Supported Formats: Unencrypted PDF documents.
Memory & Sizing: Depends on your browser's available memory; very large multi-hundred-page scans can run out of tab RAM on mobile devices.

Local Browser Processing Guarantee

Parsing, rendering, and assembly run inside your browser's local memory. Your PDF buffers, passwords, and file names stay on your device without server uploads; large-file capacity depends on your browser's available RAM.

Frequently Asked Questions

Common questions and technical details about browser execution, privacy, and limits.

Does Strong compression remove selectable text and hyperlinks?

Yes—Strong mode renders each page onto a 120 DPI canvas and saves it as a JPEG image, so text is no longer selectable or searchable.

Why did my file size barely change under Light mode?

Light mode only strips Info metadata and enables PDF object streams (useObjectStreams: true), so already-packed PDFs or uncompressed photos won't shrink much without Strong mode.

Why did the tool say 'Document is already well-optimized'?

If the newly saved bytes exceed your original file size, FormatFlow keeps your original file untouched instead of inflating it.

Will Light compression strip XMP metadata or visual watermarks?

Light mode clears title, author, subject, and keywords, but does not delete visible watermarks or custom page artwork.

Can I compress a password-protected PDF?

You must unlock the file first with Unlock PDF because encrypted streams cannot be re-packed or re-rendered without decryption.

Is there a fixed megabyte limit on PDF compression?

No fixed server cap exists—processing very large scanned PDFs depends entirely on your browser's available RAM.

Last updated: