Compress a PDF online — free, in your browser, no signup
Updated
PDFs balloon when they contain scanned pages or high-resolution images. SwissArmyPDF's compressor re-encodes each page as an optimized JPEG, often shrinking files by 50–90%, all in your browser. No upload, no watermark, no signup — and you control the quality trade-off with three preset levels.
Why PDFs get huge in the first place
The same 10-page document can be 200KB or 200MB depending on how it was made. The usual culprits:
- Scans at high resolution. 600 DPI scans look great but balloon to 5–10MB per page.
- Photos embedded at full size. A modern phone photo is 4–8MB raw. Drop a few of those into a PDF and you're at 50MB fast.
- PowerPoint exports. Slides with full-bleed images print to PDF without any compression.
- Office "save as PDF" with embedded fonts and metadata bloat.
The fix: re-encode the embedded images with sensible JPEG quality and discard redundant metadata. That's what compression tools do.
How to compress a PDF (step by step)
- Open Compress PDF.
- Drop your file or click to browse.
- Pick a compression level: Light, Medium, or Strong.
- Click Compress. The reduced file downloads automatically; the size before/after and percent saved is shown.
Compression runs in your browser via pdfjs-dist (for rendering each page) and pdf-lib (for rebuilding the file). On a 2022 MacBook Air, a 50-page 30MB PDF compresses in about 8 seconds.
Light, Medium, Strong — which level should you pick?
| Level | JPEG quality | Typical savings | Best for |
|---|---|---|---|
| Light | ~85% | 30–50% | Documents you'll print or read at full size |
| Medium | ~70% | 50–75% | Email attachments, web sharing — the default sweet spot |
| Strong | ~55% | 70–90% | Long PDFs where size is critical and small artifacts are OK |
If you're not sure, try Medium first and check the output. If it's still too big, run again at Strong.
What you give up when compressing
This tool re-renders each page as a JPEG and rebuilds the PDF with those images. The trade-off is real and worth knowing:
- Searchable text becomes images. The output is a flat image PDF — you can't select text or search it. If you need searchable output, skip compression and use a smaller-scale tool like Acrobat's Save As Reduced Size PDF, which only compresses images and leaves text streams alone.
- Vector content (charts, diagrams) gets rasterized. They'll still look identical at the chosen DPI but lose infinite-zoom quality.
- Form fields get flattened. Don't compress a form you still need someone to fill in.
For pure-text PDFs (a Word export, say), compression won't help much — text is already small. Compression earns its keep on image-heavy and scanned PDFs.
How small does it actually get?
Real numbers from typical inputs:
- 10-page scanned contract (40MB) → Medium → ~6MB. Readable at 100% zoom; perfect for email.
- 50-page expense receipts batch (120MB) → Strong → ~12MB. Receipt text still legible; passes corporate email filters.
- 200-page travel-photo album PDF (800MB) → Strong → ~60MB. Photos still look fine on a phone; uploadable to most cloud drives.
- 20-page Word-exported report (2MB) → Medium → ~1.8MB. Negligible savings because text is already tiny; not worth compressing.
Browser tool vs Acrobat vs Smallpdf
| Tool | Strength | Cost | Privacy |
|---|---|---|---|
| SwissArmyPDF | Free, no upload, no signup | Free | Local; never leaves your browser |
| Adobe Acrobat Pro | Preserves text searchability; smarter image-only compression | ~$15/mo | Files uploaded for web features |
| Smallpdf / iLovePDF | Cloud convenience | Free tier limited; ~$10/mo | Files uploaded |
| Ghostscript (CLI) | Maximum control, batch scripting | Free | Local |
If you need text to stay searchable, Acrobat or Ghostscript are better picks. For a one-off file with image-heavy content, the browser tool is faster and free.
Troubleshooting
- File got bigger after compression. Your source PDF was already heavily optimized (text-only Office export). Compression can't help. Skip it.
- Output looks blurry. You chose Strong and the source had tiny text. Try Medium or Light.
- Compression is very slow. Large PDFs (200+ pages) take time because each page is rendered then re-encoded. Close other tabs to give the browser more RAM.
- Need to keep text searchable? This tool's approach won't preserve searchability. Use Acrobat's Reduce File Size, or run PDF OCR on the compressed output afterwards (when that tool ships).
Why local compression matters
People compress PDFs they're about to email — contracts, tax forms, medical records. Most online compressors upload your file to their server, run the compression there, and email you a link. That puts your sensitive document on someone else's disk, even briefly. SwissArmyPDF runs the entire compression locally in your browser. There's no server in the loop. Open DevTools, Network tab, and verify yourself: no outbound traffic.
Common next steps
- Merge PDF — combine your compressed files with others.
- Sign PDF — add a signature before sending.
- Watermark PDF — brand the compressed copy as draft or confidential.
- PDF to JPG — if you only need a few pages as images instead of a PDF.