Compress PDF to a Specific Size

Enter a maximum size and get the best-quality PDF that fits, without uploading it.

0 bytes uploaded – processed on your device

Files processed in your browser. Nothing uploaded.

How it works

  1. 1

    Add your PDF

    Drop the PDF onto the page. It is processed in your browser, not uploaded.

  2. 2

    Set the limit

    Enter the maximum size your form or email allows.

  3. 3

    Download

    The tool finds the highest quality that fits under the limit. Download and upload it.

About this tool

Upload forms rarely say "make it smaller"; they say "maximum 200 KB" or "under 2 MB". Ordinary compressors give you a fixed level and you hope for the best. This tool takes the limit as the goal: it tries a series of quality and resolution settings and keeps the gentlest one that fits, so you lose as little quality as possible.

It works in two stages, entirely in your browser. First it re-compresses only the images inside the PDF, keeping text and vector graphics perfect. If the PDF still does not fit, for example because it is full of fonts or drawings, it can convert pages to images at decreasing resolution until it does. You decide whether that second stage is allowed.

Common use cases

  • Meeting the upload limit on government, visa and job portals
  • Getting PDFs under email attachment limits
  • Shrinking scanned documents for online applications
  • Reducing brochures and reports for faster downloads
  • Fitting several documents into a combined size limit

Worked example: an unusual limit of 1.5 MB

You have a 3-page signed contract scanned with a phone app: 6.2 MB. The form says "maximum 1.5 MB". There is no preset for that, so type 1500 in the box. 1.5 MB is 1,500 KB, and the tool will keep the file at or below 1,500,000 bytes.

Going from 6.2 MB to 1.5 MB is a 76% reduction. Almost all of a scan's size is the page photos, so the first stage (re-compressing images) normally gets there on its own. The result line shows the quality and resolution it settled on, for example "65% quality and 85% resolution".

Before uploading, zoom in on the smallest print, such as signatures, dates and stamps. If it is still crisp, you are done. If you have room to spare, a gentler setting would not have fitted: the tool always stops at the first setting that fits, starting from the gentlest.

Common mistakes

  • Typing the limit in MB: the box is in KB, so "2" means 2 KB. For 2 MB, type 2000 or use the 2 MB button.
  • Compressing each file to the limit and then merging them. The merged PDF is roughly the sum of the parts. Merge first, then compress the merged file.
  • Compressing a file that was already compressed. Each pass re-encodes the images and the losses add up, so always start from the original PDF.
  • Expecting a typed, text-only PDF to shrink much. Text and fonts are already compact; without images, only the page-to-image stage can make a real difference.
  • Leaving "convert pages to images" on for a document whose text must stay selectable or searchable. Untick it; the tool will then tell you if the limit cannot be met without it.

Which page should I use?

Use this page when your limit is not one of the common sizes, such as 300 KB, 1.5 MB or 5 MB. For the usual limits there are pages with presets and advice for the documents that typically meet them: 100 KB, 200 KB, 500 KB, 1 MB and 2 MB.

If you have no size limit and just want a smaller file, Compress PDF lets you pick a compression level instead. If the limit is for an image upload rather than a PDF, use Resize image to KB.

Your file never leaves your device

This tool runs entirely in your browser. Your file is opened, processed and saved on your own device and is never uploaded to a server, so it stays private, and the tool keeps working even without an internet connection.

Frequently asked questions

Why can't my PDF reach the size I chose?

Every page needs some minimum data. A long document cannot fit in a few kilobytes without becoming unreadable. If the target cannot be reached, the tool gives you the smallest version it could make and tells you its size.

Is 1 KB 1,000 or 1,024 bytes?

The tool keeps the file under the stricter definition, so a 200 KB target produces at most 200,000 bytes, which also passes a 200 × 1,024-byte check.

What is the difference between the two stages?

Stage one re-compresses only the photos and scans inside the PDF, so typed text, links and vector drawings are untouched. Stage two, if you allow it, turns whole pages into images at decreasing resolution (from 150 dpi down to 40 dpi). It can shrink anything, but text is no longer selectable.

Does it remove metadata?

Yes. Document information such as author and software is removed as part of compression, which saves a little space and improves privacy.

What is the smallest and largest limit I can enter?

Any value from 10 KB to 100,000 KB (100 MB).

All tools