Compress PDF to Exact KB
Squeeze any PDF under a hard KB limit — 100/200/300/500 KB — locally in your browser.
- No upload
- Browser-based
- Free
- No signup
🔒 100% client-side. Your PDF is rendered and re-compressed locally in your browser with pdf.js and pdf-lib — nothing is ever uploaded. Best results on scanned / image-heavy PDFs.
Depends on the tool — client-side tools keep files on-device; server tools auto-delete files after processing.
How to use Compress PDF to KB
- Drop your PDF (up to 100 MB) or click to choose it. It's read and rendered entirely in your browser — nothing is uploaded.
- Pick a target size: tap a preset (100, 200, 300, 500 KB or 1 MB) or type an exact custom KB value.
- Click Compress. The tool renders each page, then searches JPEG quality and resolution to land the rebuilt PDF just under your target.
- Review the before/after sizes and confirm it fits under your cap.
- Download the compressed PDF, ready to upload to the portal that enforced the limit.
Common use cases
- Government & exam portals.
- Court & visa e-filing.
- Job applications.
- Email & messaging.
Tips
- If you only know the cap ('max 300 KB'), enter that number — the tool aims just below it so the upload passes.
- Scanned and image-heavy PDFs give the best results; text-only PDFs may lose sharpness when forced very small.
- For a multi-hundred-page PDF, split it first — smaller files hit a KB target with much higher quality per page.
- Need selectable text instead of a hard size cap? Use the standard Compress PDF tool, which keeps quality-based presets.
Troubleshooting
Frequently asked questions
- Is my PDF uploaded to a server?
- No. The whole thing runs in your browser — pages are rendered with pdf.js and the compressed PDF is rebuilt with pdf-lib, all locally. Your file never leaves your device.
- How does it hit an exact KB target?
- It renders each page to a canvas once, then binary-searches JPEG quality and progressively downscales the pages until the rebuilt PDF fits under your target. You get the highest quality that still meets the cap.
- What if my target is too small?
- If a PDF can't physically fit under the target without becoming unreadable, the tool returns the smallest version it could produce and tells you the achieved size. Raise the target or split the PDF into fewer pages first.
- Will the text stay selectable?
- No. To guarantee a hard size cap, pages are rasterized to JPEG, so text becomes part of the image and is no longer selectable or searchable. This is the trade-off portals with strict KB limits require.
- Which PDFs shrink the most?
- Scanned documents and image-heavy PDFs compress dramatically. Pure vector-text PDFs are already efficient, so getting them very small can noticeably lower resolution.