Compress a PDF to an exact target size, in your browser
This compressor shrinks a PDF and can target an exact figure such as 100 KB or 200 KB. Type the size you need and the tool repeatedly re-encodes the pages, hunting for the highest quality that still lands at or under your number — and it does all of that arithmetic on your own hardware, with the document staying inside the tab.
Pick a PDF, optionally type a target size in KB, and download a smaller version with an honest readout of the final size.
Drag a PDF here to reduce its size
Best for scans and image-heavy PDFs. The engine loads the first time you use it.
Choose a fileHow this works
What happens when you use this tool
Each page is drawn to an off-screen canvas with the Mozilla pdf.js renderer, re-saved as a JPEG, and rebuilt into a new PDF using pdf-lib — the approach that genuinely cuts the bytes of scan-heavy documents.
When you set a target, the tool binary-searches the JPEG quality (and, if needed, the resolution) and reports whether it reached your figure or hit the document's natural floor.
What this tool can't do
- There is a real size floor
- Every page still costs some image bytes even at the lowest quality, so a tiny target on a many-page file can be physically impossible; when that happens the tool gives you the smallest result it reached and says so plainly.
- Text stops being selectable
- Because pages are turned into images to hit a size, the output is no longer searchable or copy-able text — if you must keep a live text layer, this method is not the right fit.
FAQ
Frequently asked questions
- How do I compress a PDF to 100 KB exactly?
- Enter 100 in the target box; the tool finds the best quality that stays at or below 100 KB, or reports the closest it could reach if that size is below the document's floor.
- Why did my compressed file lose its text layer?
- Hitting a strict size means rasterizing pages to images, which removes the selectable text; this trade-off is stated up front so it never surprises you.
- Does compression ever increase the file size?
- For PDFs that are already pure compact text, rasterizing can add bytes; in that case keep your original, since there is nothing image-heavy to squeeze.
- Can I just shrink it without naming a target?
- Yes — leave the target blank and the tool applies a sensible quality reduction in one pass.