Compress a PDF to an exact size

Name the limit your form demands and this finds the best quality that fits. The document is processed in this browser tab and is never uploaded.

How it works

Application portals rarely ask for “a smaller PDF”. They demand a specific number: under 200 KB, under 500 KB, sometimes under 100 KB, and they reject the upload outright if you miss it. Most compressors answer with a Low / Medium / High dropdown and leave you to guess, upload, get rejected, and guess again.

This tool works the other way round. You name the limit and it searches for the highest quality that fits underneath it. Each page is rendered once at 200 DPI, then re-encoded at progressively lower JPEG quality and resolution while a binary search closes in on the largest version that still meets your budget: the same engine that powers the image compressor here.

The output is rebuilt as a fresh document, so it carries none of the original’s metadata, and every page keeps its original physical dimensions in points. A page that was A4 stays A4; only the pixels behind it change.

Everything happens inside your browser tab. The PDF is parsed and re-rendered on your own device and is never uploaded, which matters, because the documents people compress for forms are passports, bank statements, mark sheets and medical certificates.

How to use it

  1. 1 Choose your PDF, typically a scanned certificate, form or photo page.
  2. 2 Pick the limit your portal demands, such as “Under 200 KB”.
  3. 3 Press Compress and wait while the best-fitting quality is found.
  4. 4 Open the downloaded file and check every page is readable before you submit it.

Good to know

  • Works best on scanned documents, which are already images. A text PDF will lose its selectable text.
  • The output is a JPEG-based PDF at the resolution shown: well above what a form portal displays.
  • Page sizes are preserved exactly, so the document still prints at the right physical size.
  • Nothing is uploaded; the whole process runs in this browser tab.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later · full speed from 105
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

What is actually large inside a PDF

A PDF is a container, and the reason one is 40 MB is almost never the text. Text is stored as glyph references and font programs, and even a long document rarely spends more than a few hundred kilobytes on them. The size is in the images: scanned pages, photographs, screenshots and logos, each stored at whatever resolution it was placed at, which for a phone-scanned document is often far higher than anything the page can display.

That leads to the single most useful distinction when shrinking a PDF, and the one most tools hide from you. Downsampling and recompressing the images inside a PDF keeps the document a document: the text stays text, remains selectable, remains searchable, and still works with a screen reader. Rasterising the pages, which is what "maximum compression" usually means, converts every page to a flat picture. The file gets much smaller and the text stops being text.

The difference matters most in exactly the situations where people compress PDFs. A visa application, a tender submission or a court filing may be checked by software that reads the text. A rasterised page passes a size check and fails everything else, silently, and you find out later. So this tool downsamples images first and reports what it did, and if hitting your target genuinely requires rasterising, it says so before it does it rather than after.

The other lever is what resolution the images need to be. A page destined for a screen or an ordinary office printer gains nothing from 600 dots per inch of scan data. 150 DPI is generally indistinguishable on screen, and often halves or quarters the file on its own. Where a scan is a photograph of a white page, converting it to greyscale removes two thirds of the colour data at essentially no cost to legibility.

As with everything here, the work happens in your browser. That matters more for PDFs than for most formats, because the documents people need to compress are disproportionately the ones they should not be uploading: bank statements, medical records, identity documents, contracts under NDA.

Frequently asked questions

How do I compress a PDF to under 200 KB?

Choose your file, select the “Under 200 KB” limit and press Compress. The tool finds the best-looking version that fits under that size and offers it for download. If 200 KB is not reachable without making the pages illegible, it tells you the smallest readable size instead of quietly producing something unusable.

Why does my government form reject my PDF?

Most portals enforce a hard byte limit (commonly 20 KB to 500 KB depending on the document type) and reject anything above it without explaining by how much. Compress to the exact limit named in the instructions, then check the file size before uploading.

Will the text still be selectable afterwards?

No. Reaching a hard size target requires re-rendering each page as an image, so selectable text becomes part of the picture. For a scanned document there was no selectable text to lose. For a text document, keep your original as well.

Is my PDF uploaded to a server?

No. The document is parsed and re-rendered inside your browser tab. You can confirm this in your browser’s developer tools, on the Network tab. No request carries your file.

Why did compressing make my PDF bigger?

A small PDF containing only text and vector graphics is already extremely efficient. Turning those crisp shapes into photographs of themselves can genuinely take more bytes. When that happens the tool says so rather than handing you a worse, larger file.

Does it work on a password-protected PDF?

No. Remove the password in your PDF reader first, then compress the unprotected copy.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.