Compress PDF Online
Reduce PDF file size while preserving layout, fonts, and readability.
Interactive Tool Workspace
Loading secure in-browser engine for Compress PDF...
Processing Limits & Device Capabilities
Client-side PDF structural compression via pdf-lib and object stream optimization. Mode A keeps selectable text. Mode B rasterizes pages to JPEG, removing selectable text. Zero server transmission.
How to Use Compress PDF
- Select or drop your PDF document into the browser compression workspace.
- Choose your compression mode: Mode A (structural lossless compression, preserves selectable text and vector fonts) or Mode B (rasterization for aggressive file-size reduction).
- Click
- to optimize internal PDF streams in local memory.
- Compare original vs compressed size and download your optimized document.
About Compress PDF
Compress PDF optimizes document streams and dictionary structures in browser memory. Mode A removes redundant metadata and activates compressed cross-reference streams while preserving selectable text. Mode B uses canvas rasterization for maximum compression when aggressive byte reduction is required.
Frequently Asked Questions
What is the difference between Mode A and Mode B PDF compression?
Mode A restructures object streams and strips metadata while keeping selectable text and vector fonts intact. Mode B rasterizes pages to JPEG images for extreme file-size reduction, flattening selectable text into image pixels.
Will compressing a PDF degrade font clarity or vector graphics?
In Mode A, vector fonts and lines remain crisp and selectable. In Mode B, pages are rasterized to images at the chosen resolution and quality.
Why do some PDFs only compress by a small percentage in Mode A?
If a PDF is already optimized or consists mostly of pre-compressed JPEG scans, structural compression can only strip redundant metadata dictionaries.
Can in-browser PDF compression help meet email attachment limits?
Yes. Reducing unnecessary PDF dictionary bloat helps fit multi-page documents under common 5 MB or 10 MB email attachment caps.
Are my private documents uploaded to any external server during compression?
Never. All compression logic runs strictly inside your browser memory using client-side JavaScript. No data is sent over the internet.