Compress PDF

Make a smaller PDF in your browser and download the copy. Open it and check that text and images are still clear enough before you replace the original.

Tested on

1336 bytes became 915 bytes. Low preset on fixtures/tier-a-one-page.pdf, one selectable Helvetica page, through compressPdfBytes. Last tested 28 November 2026.

How to use this tool

  1. Add one PDF. The row shows the original size in bytes.
  2. Open Compression presets. Low only repacks the file and keeps text selectable. Medium and High recompress photo or scan pages and leave text pages alone when those pages still have real text.
  3. Medium is already selected. Choose Low for a repack, High if Medium is still too big, or Extreme only if a JPEG of every page is acceptable.
  4. Choose Compress now. The button says Compressing… while it runs, and the file row says Compressing….
  5. Read the toast. It starts with Compressed, then the old size, the new size, and a percent smaller, the same size, or a percent larger.
  6. The download name starts with compressed-. Compress failed means that click produced no file.

What each preset changes

Low does not rasterize. It rewrites the PDF with object streams. Words you can select before the run should still be words afterward. A text report often shrinks only a little, because the weight was never in photos.

Medium and High turn on a hybrid pass. A page is treated as an image page when it has fewer text characters than the preset’s threshold. Medium’s threshold is 80 characters. High’s threshold is 40. Pages above the threshold stay as text. JPEG quality is 0.72 on Medium and 0.55 on High.

Extreme ignores that split. The config sets rasterize to true, so every page becomes a JPEG. That is the preset to use when a portal rejects the file and the hybrid presets are still too big. Search, copy, and click-to-edit stop working on that copy, because the words are now pixels.

What the toast reports

This page has no kilobyte box. The preset is the whole instruction. Medium is selected when the page opens. Low rewrites with object streams. Medium and High run the hybrid pass. Extreme rasterizes at about 96 DPI with JPEG quality 0.35.

Compress now changes to Compressing… for the duration of the run. The row under the file name says Compressing… at the same time. When it finishes, the row shows Result, the new size, and a short comparison such as a percent smaller.

The toast text starts with Compressed, then the original size, an arrow, the new size, and the comparison. A smaller file is a success toast. The same size is also a success toast. A larger file is a warning, and the comparison adds the words try High/Extreme for image-heavy PDFs. Compress failed is the only failure toast. It does not include a partial download.

When this run will not finish

A password-protected PDF is not opened by this compressor. The catch path shows Compress failed. There is no password field on this page. Remove the password in a tool you are allowed to use, then come back with the open file.

A corrupt file fails the same way. Compress failed does not say which object broke. Re-export the PDF from the program that made it, or split out the pages you actually need, and try the preset again.

Very large scans can exhaust the tab before the encoder returns. If the tab becomes unresponsive, close it, split the document, and compress the pieces. This page does not send the PDF to a FiloPDF conversion API. The bytes are read in the tab.

Common questions

Does Medium keep my text selectable?
It tries to. Text pages stay as text when they have more characters than the threshold. Photo and scan pages are recompressed. Extreme is the preset that turns every page into a JPEG.
Will this remove a password?
No. A protected file fails with Compress failed. This page has no password box.
Which preset should I try first on a scan?
Medium. If the portal still rejects it, try High, then Extreme. Extreme is the one that gives up selectable text on every page.
How do I get a scanned PDF under a mail limit?
Start with Medium on a mixed file. If a scanned annex is the heavy part, split that annex out and compress it alone, and leave the text pages as text. Extreme turns every page into a picture, so copy and search stop on the whole file.