Compress PDF to Size

Give it a byte target and it searches for the quality that lands under it.

Every render and measurement happens in this tab. Identity documents and application scans are never uploaded.

Built and maintained by Udit Agarwal

Try quality-based compression first

About Compress PDF to Size

Government portals, university applications and job sites all publish a hard limit, such as 100 KB, 200 KB or 2 MB, and reject anything above it without explaining what to change. There is no formula that turns a byte target into a quality setting, so this searches: it redraws every page as an image, measures the file, and narrows the quality range from both ends, keeping the highest quality that still fits. When even the lowest quality is too big, it lowers the resolution of the page images and searches again, up to eight renders in all. If nothing fits, you get the smallest result with a plain warning and the per-page budget your target leaves.

Features

  • Renders, measures and narrows the range, and lowers the resolution only when it must
  • Presets for the limits upload forms actually publish
  • Names the download after the size it reached, such as application-scan-194KB.pdf
  • Keeps the highest quality that still fits, not the smallest possible file
  • Shows every attempt it made, with the size each one produced
  • Says plainly when a target is below what a legible page costs

How to use the Compress PDF to Size

  1. Drop the PDF onto the page
  2. Type the target size, or pick the limit the form asks for
  3. Let it search — each attempt re-renders every page, so a long document takes a while
  4. Download the result, or split the document if it could not get there

Example

Input

application-scan.pdf — 6 pages, 5.2 MB, target 200 KB

Output

194 KB at quality 41% and 0.84× scale — 96% smaller.

Even 24% quality at the starting resolution came to 344 KB, so it lowered the resolution and refined the quality there: eight renders, keeping the largest result under 200 KB.

Common errors & troubleshooting

  • The result is blurry. — That is what the target cost. Raise the limit if the form allows it, or split the document so each part has more bytes per page.
  • The text is no longer selectable. — Reaching an exact size means redrawing pages as images, and an image has no text layer. PDF OCR can add one back, but it redraws the pages at a higher resolution, so check the size again afterwards.
  • It could not reach the target. — Even the lowest quality at the lowest resolution it allows came out too big, so the per-page budget is below what a legible page costs. The message works out that figure for your document; splitting into parts is usually the answer.
  • The search takes a while. — Every attempt renders the whole document. A long document, or one with photographs on every page, needs several seconds per attempt, and up to eight attempts when the resolution has to come down.

Frequently asked questions

Why not just pick a quality setting?
Because the same setting produces wildly different sizes on different documents. A photograph-heavy scan and a page of text compress nothing alike, so a fixed quality either overshoots the limit or throws away far more than it needed to.
Does the tool always hit the target exactly?
It gets under it, as close as the search can manage, and reports honestly when it cannot. It never claims a result it did not measure.
What is the difference from ordinary PDF compression?
Ordinary compression gives you a quality preset and whatever size results. This is the other way round: you give it the size and it finds the quality.
Will the pages still print acceptably?
At 500 KB and above, usually yes. At 100 KB across many pages, expect visible softness — that budget is roughly a small thumbnail per page.
Can I keep the text searchable?
Not here: hitting an exact size means turning every page into an image. The standard PDF compressor rasterises pages too, so it does not keep the text either. PDF OCR can add a text layer afterwards, but it redraws the pages and the file usually grows again.

Related tools

  • Compress PDF — Shrink a PDF by re-rendering each page to a JPEG at a chosen quality and resolution.
  • Split PDF by Size — Cut a PDF into parts that each stay under a file-size limit.
  • PDF to Images — Render PDF pages to PNG or JPG images you can download.
  • Image Optimizer — Re-encode and shrink images (JPEG/WebP/PNG), optionally resizing.
  • PDF OCR — Recognise the text in a scanned PDF and make it searchable.
  • Merge PDFs — Combine multiple PDFs into one, with reordering.
  • Flatten PDF — Lock filled form fields into the page so a PDF looks the same everywhere.

Guides

More PDF tools

  • PDF to Handwriting — Rewrite the words in a PDF as handwritten pages on ruled or plain paper.
  • Text to Handwriting — Turn typed text into a handwritten page you can save as a PDF or an image.
  • Resume Builder — Fill in your details and get a clean single-column CV that parsers can read.
  • LaTeX Resume Generator — Fill in your details and export compilable .tex source in one of four typeset templates.
  • Handwriting to Text — Read handwritten pages into typed text, keeping each word where it was written.
  • PDF Workflow Builder — Chain rotate, crop, number, watermark, compress and more into one pass.
  • Audio to PDF Transcript — Transcribe a recording on your device and export it as a PDF, SRT or VTT.
  • PDF Recipient Copies — Make one visibly named copy per recipient, with a log of who received which.
  • Chat with PDF — Ask questions about a document with a model that runs on your own device.
  • Make PDF Look Scanned — Give a digital PDF the tilt, grain and grey tone of a page that went through a scanner.
  • TIFF to PDF — Convert single or multi-page TIFF files, including fax scans, into one PDF.
  • PDF to TIFF — Render PDF pages into a multi-page TIFF in colour, greyscale or black and white.

See all PDF tools (85) · All tools