Compress a PDF in your browser

Choose a PDF and an image-quality starting point. The tool tries smaller JPEG encodings and saves a new PDF; other image encodings are left unchanged. Compare the output size and appearance.

Drop files here or click to choose one or more — PDF

Processed entirely in your browser using a Web Worker. Nothing is uploaded.

How to use

  1. Select the PDF.
  2. Choose a starting JPEG quality; a lower setting can lose more detail.
  3. Click Compress PDF.
  4. Download and compare file size and image quality with the original.

Accepted formats

PDF files only.

Generate a sample test file: PDF.

Features

  • Starting JPEG quality setting from 10% to 100%
  • Processes only JPEG-encoded embedded images
  • Saves the PDF in your browser; a smaller file is not guaranteed

What happens to your file

JPEG image streams are re-encoded and the PDF is saved again. There is no step that rasterizes text or vector graphics. Check metadata, forms and signatures in the saved document.

Known limitations

  • Other image encodings are not recompressed; text-only or PNG-image PDFs may not benefit.
  • Saving the PDF again can increase the total file size. The tool does not automatically return the original in that case.
  • Image detail can be lost; encrypted PDFs are not supported.

Common use cases

  • Shrinking a scanned document before emailing it
  • Getting a large PDF report under a website's upload size limit
  • Reducing a photo-heavy PDF portfolio for faster sharing

Questions

Is my file uploaded anywhere?

No. Compress PDF runs entirely in your browser using a Web Worker — the file never leaves your device.

What file types does this accept?

Compress PDF accepts PDF files.

Why did the PDF not get smaller?

The tool searches for smaller encodings of embedded JPEG images only. Saving the PDF again also changes its total size; measure the downloaded bytes.

Is this PDF compression lossless?

No. Re-encoding JPEG images can lose detail. Text and vectors are not explicitly rasterized, but you should still check the saved document’s appearance.

Having trouble with this tool? Report an issue →