PDF Engine

How to Compress a PDF

PDF compression is the tool people reach for when an upload fails with "file too large". It is also the tool most likely to surprise them, because PDF Engine's compressor works differently from the "optimize" button in desktop software. Knowing what it does lets you decide quickly whether it suits your file.

How the compressor works

The tool renders every page to an image in your browser, saves that image as a JPEG at a chosen quality, and builds a new PDF from those images. Page sizes stay the same. Three levels are offered:

Those resolutions are the honest reason files shrink. They are also the reason you should read the next section before using it.

What you give up

Because pages become pictures, text in the compressed file is no longer selectable or searchable, links stop working, form fields are no longer fillable, and screen readers cannot read it. For a scanned document that never had real text, you lose nothing. For a report exported from Word, you lose a lot. At Maximum, small print and thin lines can look soft when zoomed in or printed.

When compression is a good idea

When to choose something else

Step by step

  1. Open the Compress PDF tool and add your file. Note its size.
  2. Start with Balanced.
  3. Click Compress PDF. Progress is shown page by page, so a long document takes a little while.
  4. The result shows the before and after size and the percentage saved. Download it, then open it and zoom in on the smallest text.
  5. If it is still too large, run the original again at Maximum. If it is too blurry, go back to Light. Always start from the original, never from an already-compressed copy, because compressing twice stacks the quality loss.

If the tool reports that the result would be bigger than the original, it does not offer a download. That message means the file was already efficient; keep the original, or try Maximum once.

Common mistakes

Realistic expectations

There is no guaranteed percentage. A 30 MB scan of colour pages may fall to a few megabytes, while a 400 KB text export may not shrink at all. Colour photographs compress well, flat black and white scans less so, and very long documents are limited by your browser's memory. If a file still will not fit, this article on email and upload limits lists other options such as splitting into parts or using grayscale.

A realistic example

Take a 24 MB scan of an eight-page application form that a portal limits to 10 MB. Run Balanced first. If the result is around 5 MB and the handwriting is still easy to read at 100 percent zoom, you are done. If the portal limit were 2 MB, Maximum would be the next step, and you would then check that numbers and small print are still clear. If they are not, the better option may be to scan again at a lower resolution, in black and white where possible, instead of squeezing a high-resolution colour scan.

Compress or rescan?

If the source is a paper document and you still have the paper, rescanning is often better than compressing. A scan at 150 to 200 dpi in greyscale or black and white is naturally small and cleaner than a colour photo squeezed afterwards. Compression is the right tool when the paper is gone or the file came from someone else and you cannot change how it was made.

Short FAQ

Is my file uploaded to be compressed?

No, the rendering and re-encoding all happen in your browser tab.

Why can I not copy text from the result?

The pages are images. Run text extraction on the original, or use the original wherever text matters.

Which level should I use for printing?

Light, and print a test page first.

Also see scanned vs text PDFs, which explains why results differ so much between files.