File Tools

Compress PDF

Make PDFs smaller in your browser by shrinking the images inside them. Text stays sharp and selectable, links and form fields keep working, and nothing is uploaded.

Only the pictures inside the PDF are made smaller, so text stays sharp, selectable and searchable, and links, bookmarks and form fields keep working. How much you save depends on how much of the file is images: a PDF that is mostly text may barely shrink.

Drop PDFs here, or click to browse

Your files never leave your browser.

About this tool

Compress PDF reduces the file size of one or more PDFs without sending them anywhere. Most of the weight in a large PDF is its pictures, so the tool finds every photo and scan inside the file, scales it down to a sensible resolution for the page and re-saves it as a JPEG at the quality you choose, keeping the new version only when it is actually smaller. Screenshots and diagrams are also tried as lossless copies, whichever is smaller wins. The pages themselves are not turned into pictures, so text stays crisp, selectable and searchable, and links, bookmarks and fillable form fields still work. It also compresses parts of the file that were saved uncompressed, removes leftover objects that nothing uses any more, and packs the rest into compact object streams. Pick Light, Recommended or Strong, or set the resolution and JPEG quality yourself. For scans, where size is all that matters, Maximum turns each page into a single picture instead. Drop several PDFs at once to see the before and after size of each, download them one by one or as a ZIP. Everything runs in your browser.

How to use the Compress PDF

  1. Choose a level: Light, Recommended or Strong. Turn on custom settings to pick the image resolution and JPEG quality yourself.
  2. Drop one or more PDFs onto the page, or click to browse.
  3. Wait while each file is compressed. You will see its original size, new size and how much was saved.
  4. Download each compressed PDF, or download them all as a ZIP.
  5. Change the level and press Compress again if you want a smaller file or better-looking images.

Use it from your code

The Compress PDF is also a REST API endpoint. Create a free API key and call it from your own scripts and apps.

curl -X POST https://opentools.ca/api/v1/tools/compress-pdf \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@brochure.pdf" \
  -F "level=strong" \
  -D headers.txt \
  -o brochure-compressed.pdf

Give us your feedback

Help us improve Compress PDF!

Frequently asked questions

Will the text in my PDF still be selectable?

Yes, with Light, Recommended and Strong. Only the images inside the file are changed; text, fonts, links, bookmarks and form fields are left as they are. Only Maximum turns pages into pictures, and it says so when you pick it.

Why did my PDF barely shrink?

Savings come mostly from images. A PDF that is mainly text, or whose images are already small or well compressed, has little left to remove. If an image cannot be made smaller it is kept exactly as it was, and if the whole file does not get smaller you are offered the original.

Which images are left untouched?

To stay safe, the tool skips images it cannot re-encode without changing how they look: CMYK and spot-colour images, indexed-colour images, black-and-white masks, transparency masks, JPEG 2000, JBIG2 and fax-encoded scans, and images that are already tiny. Those are copied over unchanged.

What do the levels mean?

Each level sets how many pixels an image keeps and the JPEG quality. Light aims for about 150 DPI at 85% quality, Recommended about 110 DPI at 72%, and Strong about 72 DPI at 55%. The resolution is worked out for an image that fills the largest page, so images that are drawn smaller keep a little more detail than the target.

Are my files uploaded?

No. Reading, compressing and saving all happen in your browser, so your PDFs never leave your device.

Can it compress password-protected PDFs?

No. PDFs with a password or editing restrictions cannot be changed here. Remove the protection in the app that created the file, then try again.

Compress PDF screenshot