Toolminex
PDF Tool

PDF Compressor

Optimize a PDF file in your browser and download a cleaned copy. Useful for reducing overhead, rebuilding file structure, and preparing PDFs for sharing.

Runs in browserPDF optimizationFree & no signup

Input

Drop a PDF here

or click to browse

Settings

This optimizer rebuilds the PDF with compressed object streams and removes editable metadata. It does not rasterize pages, so text and vectors remain selectable.

How to optimize a PDF's file size

Load a PDF, optimize it, and compare the sizes before you download the new copy.

  1. 01

    Load the PDF

    Drop it in or browse. The file is read in your browser, so confidential documents stay on your device.

  2. 02

    Optimize it

    The tool rewrites the file's structure, clears the title, author, subject and keywords fields, and saves a new copy. Text, images and pages are untouched.

  3. 03

    Compare the sizes before you download

    You'll see the original size, the new size and the percentage saved. If the saving is small, see the table below for what will actually make the file smaller.

What this optimizer does, and why savings are modest

This is lossless optimization, not image compression. It opens the PDF with pdf-lib and saves it again using object streams, a more compact way of storing the file's internal objects that was added in PDF 1.5. It also blanks some metadata fields. Nothing visible changes: text stays selectable and every image keeps its original pixels.

So the savings depend on how much of the file is structure rather than content. We ran it on six real PDFs: Apple's licence documents and Xcode's acknowledgements, 231 to 310 pages each, mostly text. They shrank by 7.6% to 10.3%, for example from 2,838 KB to 2,621 KB. For a scan or a photo-heavy brochure, where images make up nearly all of the size, expect little or no saving.

What actually shrinks a big PDF

If this tool doesn't get you under an upload limit, the size is almost certainly coming from images. Here's what to try, in order of effort:

ApproachTypical effectQuality cost
This optimizerSmall savings, around 5–10% on text-heavy filesNone
Re-export from the source app with a smaller image settingLarge, often several times smallerImages slightly softer
Mac Preview: File › Export › Quartz Filter › Reduce File SizeLarge, especially for scansCan be heavy-handed on photos
Resize photos before building the PDFLarge, roughly in proportion to pixels removedDepends on the new size
Split out only the pages you needIn proportion to pages removedNone

For PDFs you build from photos, the easiest fix is upstream. Resize the images to around 1,600 px wide with the Image Resizer, then put them into a PDF with Image to PDF.

When lossless optimization is enough

Trimming a text-heavy report

Long reports exported from older tools often carry bulky internal structure. A lossless re-save can take a few hundred kilobytes off.

Clearing document properties

The title, author, subject and keywords fields are blanked, which removes a name or working title you might not want to share.

Optimizing without uploading

Contracts and statements can be processed without sending them to an online compressor's servers.

Worked example: a 12 MB scan and a 5 MB limit

Say you scanned a 12-page document at 300 DPI and the PDF is 12 MB, about 1 MB a page. Every page is a photo, so this optimizer will save almost nothing. An A4 page at 300 DPI is roughly 2,480 × 3,508 pixels.

Rescan or re-export at 150 DPI instead and each page becomes about 1,240 × 1,754 pixels. That's half the width and half the height, so a quarter of the pixels, and the file drops to roughly 3 MB. Text at 150 DPI is still easy to read on screen and prints cleanly enough for forms and letters. Most scanner apps have a resolution or quality setting; it's the single biggest lever on a scanned PDF's size.

Frequently asked questions

No. It doesn't resample images or change text. The trade-off is that it can't make image-heavy files much smaller.
No. pdf-lib reads and rewrites it in your browser. Nothing is sent to a server.
Not all of it. Title, author, subject and keywords are cleared and the producer is set to Toolminex, but creation dates and any XMP metadata block in the file may remain.
The PDF is probably encrypted or damaged. Remove the password in the app that made it, or re-save it with Print › Save as PDF, then try again.
No, one file at a time. For a batch, merge them first with Merge PDF and optimize the combined file, or run each one through in turn.
It was probably already saved with object streams, or almost all of it is images. When there's no structure left to tighten, a re-save can come out within a few bytes of the original.
Usually, since the same document is re-saved rather than rebuilt. Check a form-filled or bookmarked PDF once before you send the optimized copy.

Other PDF tools

Something not working right?