Skip to content

Compress a PDF to an exact size in KB

When a portal says “PDF, 200 KB maximum”, type that number, pick your PDF and press Compress. The tool tries the lossless way first and, only if that is not enough and you agree, redraws the pages as images, searching for the sharpest resolution that fits. If the target is impossible without making the text unreadable, it says so with the real numbers. The file is never uploaded to any server.

Works anywhere in the world, wherever you are.

Weigh at most

Counted as 1 KB = 1,000 bytes, the stricter count: it passes even if the portal uses 1,024.

Unit

If lossless is not enough: turn the pages into images

Lossless repacking is tried first: text stays text. If that does not reach the size, the only way further down is to draw each page as a JPG picture. Then text can no longer be selected or searched, and links, forms, bookmarks and signatures are lost. The sharpest resolution that fits is searched, never below 72 DPI.

Choose a PDF

—

Type the size the portal asks for and press Compress.

The PDF never leaves your device: it is read and compressed in your browser, never uploaded or stored. Up to 100 MB.

To pick the resolution yourself, use Compress PDF.

About this calculator

Step 1: nothing lost

This is Compress PDF's light mode: the file is repacked into compressed object streams, streams stored uncompressed are deflated, and leftovers from earlier edits and page thumbnails are dropped. Text can still be selected and searched, and links and forms stay.

If that already gets it under the target, you are done. If your PDF was already under the target and repacking did not make it smaller, you are told to send the original as it is.

Step 2: pages as images, only if you accept

A scanned or photo-heavy PDF barely shrinks losslessly, because its weight is in the pictures. For those, if you tick the box, each page is drawn as a JPG picture and a new PDF is built with the same page size.

You do not pick the resolution blindly: the tool goes through combinations of 150, 125, 100, 85 and 72 DPI at qualities from 80% to 40% and keeps the sharpest one whose real file fits the target. A binary search needs only a few tries; each shows in the progress bar and can be cancelled.

The grayscale option weighs a bit less and is usually enough for scanned documents and forms.

Note: the new PDF is images only. Text cannot be selected or searched, and links, forms, bookmarks and digital signatures are lost. Check that it reads well before you send it, and keep the original.

When the target cannot be reached

It never goes below 72 DPI: under that, ordinary text stops being readable. If even that does not fit, you see how small the best attempt was and can download it knowing it does not meet the target.

A PDF that is nearly all text usually weighs very little already, and turning it into pictures makes it heavier. In that case the tool explains it instead of handing you a worse file.

The real ways out are splitting the PDF and sending the parts, removing pages you do not need, scanning again in black and white at a lower resolution, or asking the portal for a higher limit.

Important limitations

  • PDFs up to 100 MB. Turning pages into images takes up to 200 pages within a phone's memory limit; split larger files first.
  • Password- or permission-protected PDFs are not processed: this tool does not remove protection. Any change invalidates a digital signature.
  • Image mode removes selectable text, links, forms and bookmarks. A screen reader will not be able to read the result.
  • 1 KB = 1,000 bytes: the result passes even if the portal counts 1,024 bytes per KB.

Frequently asked questions

Pick the PDF, press 200 KB and Compress. If lossless does not get there, tick the pages-as-images box and press again: the sharpest resolution that fits in 200 KB is searched for.

No. It is read and compressed in your browser, never uploaded or stored. Neither the name nor the content goes into the statistics.

Because text already takes very little room, and the fonts embedded in the file cannot be removed without changing how it looks. Turning it into images usually makes it heavier; the tool checks with the real file and tells you.

After the lossless step it is unchanged. With pages as images the sharpest fit is searched for and it never drops below 72 DPI, but small print may look blurry: open it and check before you send it.

Yes, in Compress PDF you set the mode, resolution and quality by hand. This tool exists for when what matters is reaching a specific size.

This calculation runs in your browser and is never sent to a server. Your last values may be saved on your device only, for convenience. Results are estimates and are not financial, tax, accounting or legal advice.