Toolshub
convert · runs in your browser

Compress a PDF to the exact size a portal will accept

Shrinks a scanned PDF under a stated kilobyte ceiling by re-encoding its photographs, and stops at the largest quality that still fits.

$35 buyout · free up to 25 MB per file· 5 free runs a day

File
No file chosen

Enter the limit you have to meet, in KB. The result is the largest quality that still fits under it.

Runs in this tab. Nothing is uploaded.

Result

Free tier: up to 25 MB per file, 1 files per run, 5 runs per day. A buyout for this tool is $35 once. Compare.

Licence: free tier.

What this page does differently

Upload limits are numbers, not adjectives: 2 MB for a portal, 5 MB for a mail server, 10 MB for a filing system. This page takes a PDF and a ceiling, finds the JPEG images that make up most of the weight, and re-encodes them — searching over quality and a mild downscale until the whole file lands under the ceiling. It reports what it did. It does not touch the text layer, which is the part you cannot afford to lose.

searches quality and image scale together until the whole PDF, not just one picture, fits under a stored byte ceiling

Sample input and output

Run Case Size Notes
Input A 14-page scanned contract 8.2 MB 8.6 MB scan at 300 dpi with twelve JPEG page images
Output The same contract under 2 MB 1.8 MB quality 71 at 100% scale, twelve images re-encoded, text layer untouched, named with its final size

These are the demo numbers this page was built against, not a guarantee for every file.

What you can check yourself

The claim What the test showed
The returned file is under the ceiling, not near it. Every accepted attempt is measured by saving the whole document; a result that still exceeds the target is discarded and the search continues at a lower quality or scale.
A PDF with no photographs is refused with a reason. A text-only fixture returns no DCTDecode streams and the tool stops with "carries no JPEG images" instead of writing a larger file.

Questions

Why can it fail on some PDFs?

If the file has no JPEG images, there is nothing to re-encode: text and vector operators are already compact, and re-saving would make the file larger. Those files are refused with that reason rather than quietly returned a few bytes lighter.

Does it keep the text searchable?

Yes. The text layer is untouched; only the image streams that dominate the size are rewritten. That is also why an OCR-ed scan stays searchable after compression.

Is the limit a ceiling or a suggestion?

A ceiling. The search returns the highest quality that still fits, never a file that is over. If the ceiling cannot be met at a readable scale, you get a refusal with the smallest size it reached, so you know whether to split the document instead.

What happens to image quality?

It drops, visibly at aggressive targets: 8 MB to 2 MB is a real loss. The note tells you the quality and scale actually used, so the choice of whether to file it is yours rather than hidden behind "optimised".

Is the document uploaded?

No. Decoding and re-encoding happen in this tab. Contracts and filings that carry names and amounts never leave the machine.

Price

This tool is $35 once, for as long as the tool exists. One payment, not a subscription. The licence is stored in this browser; the transaction id restores it elsewhere.

Free: 5 runs a day, 25 MB a file, a batch of 1. Buyout: a batch of 50, 200 MB a file.

Related