Compress PDF to a size

Shrink a PDF to the size a form or an email accepts, such as 100 KB or 1 MB, by recompressing its pictures while the text stays sharp.

loading Compress PDF to a size
About this tool

What does compressing a PDF to a target size mean?

Many upload forms set a hard limit: a job portal accepts a résumé up to 200 KB, a university application wants each document under 1 MB, a government site refuses anything over 100 KB, an e-mail server bounces attachments above a few megabytes. A normal compressor gives you a smaller file and leaves you guessing whether it fits. This tool works the other way round: you say the largest size allowed, and it makes the PDF fit with the least loss of quality.

In most heavy PDFs the weight is in the pictures: photos, scans, screenshots, logos saved at print resolution. The tool decodes each picture and writes it again as JPEG, first lowering only the quality, then, if that is not enough, the number of pixels. It searches for the gentlest setting that reaches the target, so a file that only needs to lose 20% keeps almost all of its detail. Text, fonts, lines and vector drawings are never touched: they stay sharp at any zoom and the text stays selectable and searchable.

The file is also tidied: objects left over by earlier edits are dropped, uncompressed parts are deflated and the structure is packed tighter. Everything runs in your browser; the PDF is never uploaded.

How to compress a PDF to 100 KB, 200 KB or any size

  1. Open the page. An example report with two large photos is loaded, about 600 KB, so you can try it at once.
  2. Drop your PDF on the page, or press the button to choose it.
  3. Type the largest size allowed and choose KB or MB, or press one of the common limits: 100 KB, 200 KB, 500 KB, 1 MB, 2 MB, 5 MB. The line below says how much smaller the file has to get.
  4. Press Compress to 200 KB (the button shows your target). The progress shows each attempt; you can cancel at any time.
  5. Read the result: the new size, how many pictures were recompressed and at which quality and scale. Download the file, or continue with another PDF tool.

Examples

A résumé with a photo, for a 200 KB limit

A two-page résumé exported from a word processor weighs 1.8 MB because the profile photo was inserted at full camera resolution. With a 200 KB target the photo is written again at a lower quality and size; the result is around 150 KB and the text looks exactly the same.

A scanned contract, for a 1 MB limit

Ten pages scanned as color photos weigh 12 MB. To fit 1 MB, the tool lowers the quality first and then the resolution of the scans. Text in a scan is part of the picture, so it softens a little: check that the smallest letters are still readable.

A presentation exported to PDF

Slides full of screenshots compress very well. A 25 MB deck often fits under 5 MB with no visible change, because screenshots had far more pixels than the page shows.

A text-only report that will not shrink

A 40-page report with no pictures weighs 900 KB because of its fonts and text. The tool tidies the structure and says clearly that no pictures could be recompressed, so the target cannot be reached in the browser without turning the text into images.

Common errors and limits

  • The target is not reached. You still get the smallest version, with a message that says how much is pictures and how much is text, fonts and structure. Lower the target only as far as the pictures allow, split the file with Split PDF, or try the server compressor, which can rewrite fonts.
  • Pictures look blocky. Very low targets force low quality and few pixels. Ask the recipient whether a larger limit is possible, or remove pages that are not needed.
  • Nothing changes in a PDF of text. Fonts and vector drawings are kept as they are on purpose: shrinking them would mean replacing the text with pictures.
  • Password-protected files. The file must be read to be compressed. Remove the password first with Unlock PDF, then protect it again.
  • KB or kB. Here 1 KB is 1,024 bytes, as most upload forms count. A limit written as "100 kB = 100,000 bytes" is met too, since the result is never larger than 102,400 bytes and usually well below.
  • An old browser. The pictures are redrawn off the page with OffscreenCanvas, which every current browser has. Older versions show a message instead of failing silently.

Frequently asked questions

Is my PDF uploaded?

No. Reading, recompressing and writing the PDF all happen in this browser tab.

Will the text still be selectable?

Yes. Only pictures are recompressed. Text, fonts and drawings are copied as they are.

Why not just choose a quality level?

Because the limit is what matters for a form. The tool searches the gentlest quality and size that fit, which keeps more detail than a fixed "strong" setting.

Can I compress pictures instead of a PDF?

Yes: Compress image to a size does the same for JPG, PNG and WebP files.

Report a problem