Skip to content

Compress a PDF online

To compress a PDF, choose the file and then a level. The pages are redrawn on your own device and nothing is sent to a server.

What you enter stays on this device.

Compressing a PDF means making the file smaller; for a scanned or photo-heavy document, the most effective way is to save each page again as a JPEG image at a lower resolution, between 72 and 150 dpi.

Diagram of PDF compression: each page of the original document is saved again as a JPEG image at 72 to 150 dpi, then the pages are put back together in a smaller PDF, all inside the browser.

What each level gives, measured

To compress a PDF, the tool redraws every page, saves it as a JPEG image at the resolution of the level you pick, then builds a new PDF at the original page size. Here is what that gave on a 4-page test PDF full of photos.

LevelResolutionA4 page in pixelsJPEG quality8.3 MB test PDF
Strong72 dpi595 × 84250%153 KB (−98%)
Medium110 dpi909 × 1,28665%810 KB (−90%)
Light150 dpi1,240 × 1,75480%2.4 MB (−71%)

Run on a 3-page text-only PDF (40 KB), the same test produced a 489 KB file, much bigger than the original. The tool then shows “No saving” and suggests you keep what you had.

Which level for which job

  • E-mail attachment: “Strong”. At 72 dpi it still reads well on screen.
  • Plenty of upload forms, for job applications or official paperwork, cap files at 300 KB, 1 MB or 2 MB. Start with the lightest level that still looks readable to you, check the size, and step up the compression if you are still over. If even “Strong” is not enough, split the document into two PDFs.
  • A scanned contract or invoice is fine on “Medium” (110 dpi). A scan is already a stack of images, so that is where the saving is biggest.
  • Printing? Use “Light”, 150 dpi, or small print turns fuzzy on paper.

When to keep the original

Since every page becomes an image, the text can no longer be selected or searched, and links, bookmarks and form fields are lost. So skip the tool for a form you still need to fill in, or a report you will want to quote from. If a dissertation or application also has a word limit, count the words in the text before compressing, while it can still be copied. Password-protected PDFs are refused, and a text-only PDF may well grow, as the 489 KB test shows.

The file stays on your device

The PDF is read with pdf.js, Mozilla's library (Apache 2.0 licence), which loads with the page. No copy goes to a server, and you can even switch off your connection before you press the button. For a bank statement or a copy of your passport, that is what sets it apart from services that upload the document.

On a Mac, Preview can do it too

In Preview, go to File › Export and pick the “Reduce File Size” Quartz filter. The reduction is heavy and cannot be adjusted, whereas here you choose the level. For a photo rather than a PDF, use the image compressor, or the image resizer if it is the pixel size that is the problem.

Method and sources

References used:

This tool is checked by automated tests against known cases. Spotted a mistake? Report it on the contact page.

Last updated

Frequently asked questions

Does my PDF get uploaded?
No, it stays on your device from start to finish.
Why can't I copy the text any more?
To save space, each page is stored as an image. If you need to copy or search the text, keep the original.
The compressed file is bigger than the original. Is that normal?
Yes, if the PDF is mostly text. It was already tiny, and turning it into images bulks it up (40 KB became 489 KB in the test). The tool warns you when it happens.
How many pages can it handle?
There is no fixed limit; it depends on your device's memory. Past a hundred pages or so, allow several minutes.
Is “Strong” the level for e-mail?
Yes. It gives the smallest file and stays readable on screen: an 8.3 MB photo PDF came down to 153 KB in the test.
What about a scanned PDF?
That is where the tool does best, because a scan is just a series of images. “Medium” keeps the text easy to read.
Will the compressed PDF print properly?
On “Light” (150 dpi), yes. At 72 dpi small print looks blurry on paper.
Can I compress a password-protected PDF?
Not here. First remove the protection in the program that created the file, if you are entitled to. Then compress the unprotected copy and add a password again if the document needs one.