🖼️ Image & File

Compress PDF

Reduce your PDF file size by re-rendering each page at lower image quality. Download the compressed PDF — nothing leaves your browser.

📦

Click to upload or drag & drop a PDF

Single PDF file — max 50 MB recommended

How compression works

Each page of the PDF is rendered to a canvas using PDF.js at the chosen scale, then re-encoded as a JPEG at the selected quality level. The resulting images are assembled into a new PDF using pdf-lib. This method works best on PDFs with images or scanned content — text-only PDFs may not reduce much. Note: rendered PDFs lose selectable text and become image-only. Everything runs in your browser — no files are uploaded.

Frequently Asked Questions

How does browser-based PDF compression work?
This tool renders each PDF page to a canvas using PDF.js, then encodes the canvas as a JPEG at your chosen quality level. The resulting images are assembled into a new PDF using pdf-lib. This converts every page to an image, which works best for PDFs with scanned content or lots of images.
Why did my text-only PDF not reduce in size much?
PDFs containing only vector text and graphics are already very efficiently encoded. Re-rendering them as JPEG images (which this method does) may actually increase the file size for text-heavy PDFs. Image-based compression works best on scanned PDFs, image-heavy PDFs, or PDFs with many photographs.
Will the compressed PDF still have selectable text?
No. Because each page is converted to a JPEG image, the output PDF is an image-only document — text will not be selectable or copy-able. If you need to preserve selectable text, use a dedicated desktop tool like Adobe Acrobat, PDF24, or Ghostscript, which can compress metadata, fonts, and streams without rendering to images.
What compression level should I choose?
Low (90% quality) — minimal size reduction, best image quality. Medium (70%) — good balance, recommended for most cases. High (50%) — noticeable compression artifacts but significantly smaller. Max (30%) — smallest file, visible quality loss. Start with Medium and increase only if more reduction is needed.
Is there a file size limit?
There is no hard limit, but processing is done entirely in your browser so very large PDFs (50+ MB or 100+ pages) may be slow or cause the browser tab to run out of memory. We recommend keeping files under 50 MB. For very large files, a desktop tool like Ghostscript or Adobe Acrobat will be faster and more reliable.
Browse all tools Merge PDF Image to PDF