How to Compress a PDF Online (In Your Browser)
Shrink existing PDF files privately in your browser with FileShrinkr Compress PDF. Learn quality vs size settings, render zoom, page limits, and when a PDF cannot get smaller.
Published August 26, 2026 · Updated August 26, 2026
Why compress a PDF at all
Email gateways, job portals, court e-filing systems, and school LMS uploads often reject PDFs above a fixed megabyte limit. Phone scans of multi-page forms, presentation exports, and “print to PDF” from browsers can balloon past 10–25 MB even when the content looks simple on screen.
FileShrinkr’s Compress PDF intent shrinks an existing .pdf entirely in your browser—the file never uploads to our servers. That matters on shared PCs, HR laptops, and when the document contains personal data you prefer not to send to a third-party cloud compressor.
Open the tool at /compress-pdf or choose Compress PDF on the homepage.
Compress PDF vs Image to PDF
FileShrinkr has two different PDF workflows:
| Intent | Input | Output | Where it runs |
|---|---|---|---|
| Compress PDF | An existing PDF | A smaller (when possible) PDF | Browser only |
| Image to PDF | Photos / scans as images | A new PDF | Server |
If you have JPGs or PNGs, use Image to PDF / merge. If you already have a PDF attachment that is too large, use Compress PDF. See also Compress PDF vs Image to PDF.
Step-by-step on FileShrinkr
- Open /compress-pdf.
- Drop one PDF (max 50 MB, max 500 pages).
- Leave defaults if you want a balanced result, or open Advanced Tuning to set JPEG quality, render zoom, and max page width.
- Click Compress PDF in Browser.
- If the result is smaller, download starts automatically. If FileShrinkr reports that the PDF is already efficient, the original could not be beaten with browser raster compression—try stronger settings or see why some PDFs will not shrink.
What the tool actually does
Browser PDF compressors cannot always rewrite vector text and fonts the way desktop Ghostscript tools do. FileShrinkr:
- Renders each page with pdf.js (optional supersample / render zoom)
- Encodes pages as JPEG (with an optional AVIF→JPEG bridge when your browser supports AVIF)
- Rebuilds a multipage PDF with pdf-lib
Trade-off: selectable text and vector sharpness become page images. That is fine for scanned forms and photo-heavy PDFs; for text-only contracts you may prefer a desktop tool that preserves text, or simply keep the original if it is already small.
Settings that matter
Under Advanced Tuning:
- JPEG compression — lower % = smaller file, more artifacts; 100% = least JPEG compression (still JPEG, not lossless).
- Render zoom — supersample before downscale (default 150%; up to 500% for very detailed pages—slow and memory-heavy).
- Max page width — default 1600 px; use 960 px when you need aggressive size cuts.
- AVIF → JPEG bridge — when supported, tries an AVIF intermediate and keeps the smaller JPEG per page.
- Retry stronger if needed — optional second pass with lower width/quality if the first pass is not smaller.
Defaults are tuned for clarity first. For email limits, try 70% JPEG + 1280 px (or 960 px) before dropping quality further.
Limits and privacy
- Max file size: 50 MB
- Max pages: 500
- Password-protected PDFs must be unlocked first
- Processing stays on your device in Compress PDF mode