Skip to content

Compress PDF to Exact Size

Reduce a PDF to a target file size, keeping its text selectable: images are re-encoded, and pages are re-rendered only for scans or if you allow it. Aims just under your limit.

Private · on device. Runs in your browser: your file is not uploaded. No sign-up.

One PDF, any size

What actually makes a PDF large

A PDF is a container, and what is inside determines everything about its size. There are two very different kinds of document, and only one of them can be meaningfully compressed.

A text PDF, exported from Word, Pages or a web page, stores letters as instructions: "draw this character, in this font, here". A hundred pages of that might be 200 KB. There is almost nothing to compress, because there is almost nothing there.

A scanned PDF stores a photograph of each page. A single page scanned at 600 DPI is around 25 million pixels. This is where the megabytes are, and it is what this tool targets.

So if your PDF is 12 MB, it is a scan, and compressing it means reducing the resolution and quality of those page images until the total fits your limit.

Aiming just under the limit

Most PDF compressors offer "low, medium, high" and leave you to guess. Guessing badly in one direction leaves you still over the limit; guessing badly in the other gives you an unreadable document when you had room to spare.

This tool searches instead. It steps down the quality and resolution of the images (the embedded pictures in a text document, or the page images of a scan), rebuilding the document and measuring the real byte count each time, and keeps the largest result that still fits. If you ask for 1 MB, you should get something close to 1 MB, not 180 KB of illegible grey.

The trade-off you are accepting

Re-rendering pages as images happens for a scan, and for a text document only if you turn off "Keep my text selectable". When it does, it is destructive in ways that are not always obvious:

  • Text is no longer text. It cannot be selected, searched, or read aloud by a screen reader. If accessibility matters, this is a real cost.
  • Links and form fields are gone. Everything becomes a flat picture.
  • Very small text degrades first. Footnotes and fine print are the first casualties.

Check the result before you rely on it. If the original was already a scan, you have lost nothing that was not already lost.

Better: scan properly in the first place

If you control the scan, these settings avoid the problem entirely:

SettingUseWhy
Resolution150–200 DPIAmple for text. 600 DPI is nine times the data for no visible gain.
Colour modeGreyscale, or black & white for plain textColour triples the data for a document that is black ink on white paper.
FormatPDF, not TIFFTIFF is often uncompressed and enormous.

Phone scanning apps default to high-resolution colour, which is why a three-page certificate arrives as 15 MB.

When compression is the wrong answer

If your document is 40 pages and the limit is 500 KB, no amount of compression will produce something readable. The portal is telling you it expects a single certificate, not a bundle.

Use the split tool to pull out the pages actually required. If the issue is the opposite, several separate files where one is wanted, the merge tool combines them, and images to PDF turns photos of documents into a single file.

Frequently asked questions

Will my PDF still have selectable text after compressing?

Yes, by default. For a document with real text, only the embedded images and the file structure are reduced, and the text is left exactly as it was. Pages are re-rendered as images only for a scan, which has no text layer to lose, or when you turn off "Keep my text selectable" to reach a target that cannot be met otherwise. The result always says which happened.

Why is my scanned PDF so large in the first place?

Because it is not really a document, it is a stack of photographs. A page scanned at 600 DPI in colour is a 25-megapixel image, and ten of those make a 40 MB file. Scanning at 150–200 DPI in greyscale produces a file a fraction of the size that is just as readable.

Should I use the greyscale option?

For scanned text, almost always, it can halve the size with no meaningful loss, since the colour information is only lighting variation on white paper. Do not use it if the document contains photographs, charts or anything where colour carries meaning, such as a signature in blue ink that must be distinguishable from print.

It cannot reach my target. What now?

For a text document, the text and fonts themselves set a floor. Turning off "Keep my text selectable" lets the pages be re-rendered as images, which goes further. For a scan, turn on greyscale first. If that is not enough, the document has more pages than the limit allows: split it with the split tool and upload it in parts. Portals with very tight limits usually expect a single certificate, not a 40-page bundle.

Can it open a password-protected PDF?

Not directly. If you know the password, take it off first with the Unlock PDF tool (it only works with the right password; it never guesses or cracks one), then compress the unlocked copy here.

How large a PDF can this handle?

Files up to 300 MB are accepted, and nothing is uploaded, so there is no upload limit on top of that. The practical limit is your device's memory: when pages are re-rendered, each one is drawn at full resolution. Documents over about 100 pages will be slow and may struggle on a phone.

Requirements this tool handles