📦 Compress PDF

Scanned documents and image-heavy PDFs are often tens or hundreds of MB — too big for email attachments or online submission forms. This tool recompresses the embedded images inside your PDF right in your browser (photos, scanned pages) with three quality levels, while text and layout stay exactly as they are. Nothing ever leaves your device, so even sensitive documents like contracts and invoices are safe to compress — no registration needed.

📁

Click to choose a PDF file, or drag one here

PDF only; under 100MB recommended; encrypted PDFs must be decrypted first

How to Use

  1. Click the dashed box above to choose a PDF, or drag one straight in (one file at a time).
  2. Pick a compression level: "Balanced" fits most cases; for scans or anything where quality doesn't matter, choose "Maximum".
  3. If a website limits attachment size (e.g. 10MB), enter it as the target size and the tool will automatically run extra passes to get closer to it.
  4. Click "Start compressing", compare before and after, and download when you're happy.

How PDF Compression Works

When a PDF is huge, the images are almost always the reason — scanned pages, photos, and screenshots are stored at near-original quality. This tool uses the open-source pdf-lib library in your browser to find embedded JPEG images in your PDF, re-encodes each one at your chosen quality, and rebuilds a new PDF with a cleaned-up document structure. Text, vector graphics, bookmarks, and the table of contents stay untouched, so text remains selectable and copyable — unlike shady "print to image and re-compress" tricks.

Honest note: a text-only PDF is already tiny (a few hundred KB) with no images to compress, so this tool can't shrink it much — that's normal. It shines on scans, mixed text-and-image layouts, and photo-heavy reports, which typically lose 50–80% of their size.

FAQ

Will compression damage my PDF? Can I still select text?
No. This tool only recompresses embedded images — text, layout, bookmarks, and links stay exactly as they are, and text remains selectable and copyable. Only the images themselves are reduced to your chosen quality.
My PDF barely shrank after compression. Why?
The most common reason is that the PDF contains almost no embedded images — a text-only PDF is already small, so there's nothing to compress. Another possibility is that the images are already highly compressed JPEGs with little room left. Scans and mixed-layout PDFs usually lose more than half their size.
Will my PDF be uploaded to a server?
No. Decoding, recompression, and repackaging all happen in your browser — no file data ever leaves your device, so sensitive documents like contracts and invoices are safe to process.
Can I compress an encrypted PDF?
PDFs with an open password need to be decrypted locally first (e.g. save a password-free copy using your system's print function), then compressed. Files that open without a password but only restrict editing or printing can be processed directly.
If I set a target size, will it definitely reach it?
Not necessarily. The tool automatically retries at lower quality steps, down to 30% image quality at minimum. If there are few images left or text dominates, that's as small as it gets — the result page will honestly tell you what it achieved, and to go smaller you'd need to accept lower image quality or split the file.

Related Tools

📄 SyncPage — real-time document collaboration Review PDFs, slides, Word & Excel files together — present live, annotate in real time, talk by voice. Guests join free from an invite link. Try SyncPage →