AnyTool
Your files never leave your device. All processing happens locally in your browser.

How do I compress a PDF to 100KB (under 100 KB) online without uploading the file?

Open Compress PDF to 100KB and drop your PDF onto the page — the target is already locked to 100 KB, so there is nothing to configure. The tool renders every page in your browser with Mozilla’s pdf.js, re-encodes the images at a lower resolution and JPEG quality and rebuilds the document with pdf-lib, aiming to land at or just under 100 KB. It produces three quality variants in one pass — Best Quality, Balanced and Smallest — and marks each with a check when it meets the 100 KB cap, then shows the before/after sizes and the exact percentage saved. A plain text PDF usually drops under 100 KB with room to spare; a scanned or image-heavy one is squeezed as far as it will go, and if it cannot quite reach 100 KB the tool tells you the smallest size it achieved. Everything runs in the tab, so nothing is uploaded and your PDF never leaves your device; the result downloads as your file name with a -compressed.pdf suffix.

  • Target locked to 100 KB — drop a PDF and it compresses to fit that cap, with no settings to pick
  • Three quality variants in one pass (Best Quality, Balanced, Smallest), each tagged with a check when it lands under 100 KB
  • Runs entirely in the browser with pdf.js and pdf-lib — no upload, no install, no account
  • Text PDFs slip under 100 KB easily; scanned or image-heavy files shrink as far as they can, with the smallest achieved size reported if 100 KB is out of reach
  • Built for strict upload caps — government job portals, exam-application forms and sign-up pages that reject files over 100 KB

What is

Compress PDF to 100KB

Compressing a PDF to 100KB means reducing the document’s file size until it is at or under 100 kilobytes, a common hard cap on government job portals, exam-application forms and other upload pages that reject anything larger. Because most of a PDF’s weight is usually its images and scanned pages, a compressor reaches such a small target mainly by down-sampling those images to a lower resolution (DPI) and re-encoding them with more aggressive lossy JPEG compression; stripping metadata and converting pages to grayscale free up further bytes. Whether 100 KB is achievable depends on the content: a text-only or single-page PDF slips under 100 KB comfortably, whereas a multi-page scan of photographs may bottom out somewhat above 100 KB before the pages become unreadable. This tool locks the target to 100 KB, renders the pages with Mozilla’s pdf.js and rebuilds the file with pdf-lib entirely on your device, so no cloud service is involved and the PDF is never uploaded.

PDF Tools

Related terms

PDF100KBfile sizecompressionlossyDPIJPEG qualitydownsamplinggrayscalemetadatapdf.jspdf-libscanned PDFupload limitgovernment portalexam form

Frequently Asked Questions

No. The PDF is read and compressed to 100 KB entirely in your browser, so the file never leaves your device — there is no upload, server or account.

Nothing is uploaded. When you drop or pick a PDF, the tool reads it locally with the browser’s File API, renders its pages in memory with the pdf.js engine (whose worker is bundled locally, not fetched from a CDN) and rebuilds the compressed file with the pdf-lib library on your own machine. There is no server, upload, database, API or tracking in the processing path, so certificates, ID scans, mark sheets and private paperwork you are shrinking for a form stay on your device; the tool works offline once cached, and closing the tab discards everything. The only optional network use anywhere on the site is consent-gated advertising, which never sees your files.

Not always. The target is 100 KB and the tool gets as close as the content allows — text PDFs drop under it easily, but a heavy scan may bottom out a little above 100 KB, in which case the smallest size achieved is shown.

It depends on what is inside the PDF. The real savings come from re-encoding images, so a text-only or lightly formatted document usually falls well under 100 KB, often with room to spare. A multi-page scan or a file full of photographs has a floor: past a certain point the pages would turn to mush, so the tool stops at the smallest readable size it can reach and reports that figure with a note rather than producing an unusable file. If you are stuck above 100 KB, enabling grayscale, removing pages you do not need, or splitting the document first will usually get you under the cap. The three variants let you take the Smallest one when you need every byte, or Best Quality when 100 KB is comfortably met.

Hitting 100 KB usually means lossy compression: images are re-encoded at lower quality, and on aggressive targets pages are rebuilt as images, which makes their text part of the picture and no longer selectable.

To reach a target as small as 100 KB the tool leans on lossy compression — it down-samples the page images to a lower DPI and re-encodes them as JPEG, which is how a large file becomes tiny. That trades some sharpness for size, so three variants are generated in one pass (Best Quality, Balanced and Smallest) and the tool defaults to the best one that still fits. One honest note: when whole pages are rasterised to hit 100 KB, the text on those pages becomes part of the image and is no longer selectable or searchable; if you need the text to stay selectable, a 100 KB target may be too aggressive for that document and a larger size would keep it live. For most single-page scans and certificates headed to an upload form, the 100 KB result stays perfectly legible.

100 KB is a common hard upload limit on government job portals, exam-application forms and sign-up pages, which reject files larger than that — so a document has to be squeezed under it to submit.

Many online forms — especially government recruitment and examination portals — cap each uploaded document, photo or signature at 100 KB to keep their databases manageable and processing uniform, and every year a large number of applications are rejected for oversized files. When your certificate, mark sheet or signed form is a few hundred kilobytes, you need it under 100 KB to complete the submission. This tool is built for exactly that: the target is fixed at 100 KB so you can drop the PDF and download a version that clears the cap, without hunting through compression settings. If the portal wants an even smaller cap, a sibling tool targets 50 KB, and larger presets (150 KB, 200 KB and up) exist for looser limits.

Detailed Explanation

How It Works

Compressing a PDF to 100 KB — Entirely in the Browser

Compress PDF to 100KB shrinks a document to a fixed 100 kilobyte target without uploading a single byte. The 100 KB target is read from the page URL and locked, so there is nothing to choose — drop your PDF and the tool goes to work. It renders every page in the browser with Mozilla’s pdf.js, re-encodes the embedded images at a lower resolution and JPEG quality, and rebuilds the file with pdf-lib, aiming to land at or just under 100 KB. Three quality variants are produced in a single pass — Best Quality, Balanced and Smallest — and each is tagged with a check when it clears the cap, alongside the original versus new size and the exact percentage saved. A text-only PDF slips under 100 KB comfortably; a scanned or image-heavy one is squeezed as far as it will go, and if 100 KB is genuinely out of reach the tool reports the smallest size it achieved rather than producing an unreadable file. Everything runs on your device, so the PDF never leaves the tab.

  • 100 KB target locked from the URL — drop a PDF, no settings to pick
  • Renders with pdf.js, re-encodes images at lower DPI/JPEG quality, rebuilds with pdf-lib in the browser
  • Three variants in one pass (Best Quality, Balanced, Smallest), each marked when it meets 100 KB
  • Reports the smallest achievable size when a heavy scan cannot reach 100 KB
Use Cases

When a 100 KB PDF Is Required

The 100 KB ceiling is one of the most common hard limits on the web, especially on government recruitment and examination portals. Applicants shrink scanned certificates, mark sheets, and category or experience documents to fit an upload box that flatly rejects anything over 100 KB; every year a large share of applications are turned away for oversized or wrongly formatted files, so clearing the cap is not optional. Beyond exam forms, banking KYC uploads, university admission portals, visa and passport document uploads and many sign-up flows impose the same limit to keep their databases lean and processing uniform. This tool targets that exact number: you drop the PDF and download a version that clears 100 KB, then attach it with confidence. When the portal specifies a tighter cap a 50 KB tool is one click away, and looser limits (150 KB, 200 KB and beyond) have their own presets.

  • Government job and exam portals commonly cap document uploads at 100 KB and reject larger files
  • Also used for banking KYC, admissions, visa/passport and sign-up uploads with the same limit
  • Drop a PDF and download a version under 100 KB — no settings to hunt through
  • Sibling presets cover 50 KB for tighter caps and 150 KB/200 KB and up for looser ones
Technical Details

How the 100 KB Target Is Reached

When the page loads at /compress-pdf-to-100kb, a URL parser (getPdfPresetFromPath) extracts the number and unit and fixes the target at 100 KB, showing a locked-target banner instead of the usual preset grid. On drop, the PDF is read into an ArrayBuffer with the File API and pdf.js (pdfjs-dist) renders a first-page thumbnail and the page count, its worker bundled with the app locally rather than fetched from a CDN. Smart Compress hands the buffer and options to the smartCompressPDF routine (src/lib/workerClient.ts), which pursues two strategies and keeps whichever yields the smaller file that still meets 100 KB: it re-encodes the PDF’s embedded images at reduced JPEG quality and scale, and, for an aggressive target like this, it rasterises whole pages by having pdf.js paint each page onto an HTML canvas at a chosen DPI, encoding the canvas as JPEG and assembling a fresh PDF from those images with pdf-lib. Three configurations run in one pass — Best Quality (highest DPI and JPEG quality), Balanced, and Smallest — and metadata is stripped by default. Each variant is measured, tagged when it lands under 100 KB, and the chosen one downloads from a local Blob with a -compressed.pdf suffix.

  • getPdfPresetFromPath parses the URL and locks the target at 100 KB
  • pdf.js (pdfjs-dist) reads the page count and renders the thumbnail; its worker is bundled locally, not from a CDN
  • smartCompressPDF re-encodes images and, for aggressive targets, rasterises pages via canvas, rebuilding with pdf-lib
  • Three variants generated and measured in one pass; the chosen file downloads from a local Blob
Limitations

Honest Limitations

Whether 100 KB is reachable depends entirely on the content. A text-only or single-page PDF drops under 100 KB with room to spare, but a multi-page scan or a file full of photographs has a physical floor: past a point the pages would become unreadable, so the tool stops at the smallest legible size it can produce and surfaces a warning naming that figure rather than returning junk. The real savings come from lossy compression, so there is a genuine trade-off — to hit 100 KB the tool often rebuilds pages as JPEG images, which makes the text on those pages part of the picture and no longer selectable or searchable; when live text matters, a 100 KB target may simply be too small for that document. Everything runs in browser memory, so a very large or high-page-count PDF is bounded by your device’s RAM, and the tool compresses one PDF at a time rather than a batch. The file must be openable by pdf.js and pdf-lib — a password-protected or corrupt document reports a clear, auto-dismissing error instead of a broken result. If a scan will not fit, removing spare pages or splitting the document first usually gets you under the cap.

  • Text PDFs reach 100 KB easily; a heavy scan may bottom out above it, and the smallest achieved size is reported
  • Aggressive targets rasterise pages, so their text becomes part of the image and is no longer selectable
  • In-browser processing bounded by device RAM; one PDF at a time, not a batch
  • Password-protected or corrupt files report a clear error; removing pages or splitting helps a stubborn scan fit
Privacy & Security

Privacy: Your PDF Never Leaves the Tab

The documents people compress for a 100 KB upload box are often the sensitive kind — ID scans, certificates, mark sheets, bank statements, signed forms — and this tool is built so none of it leaves your machine. The file is read with the browser File API, rendered entirely in memory with pdf.js (whose worker is bundled locally, so no third-party CDN is contacted), and the compressed document is rebuilt with pdf-lib on your own device. There is no server, upload, database, logging, API or CDN anywhere in the processing path, and the finished PDF is generated locally and downloaded straight from a Blob. The tool works offline once the page has been cached, and closing the tab discards every byte. There is no login and no telemetry, and the only optional network use anywhere on the site is consent-gated advertising, which never sees your files.

  • PDF read, rendered and rebuilt entirely in the browser; nothing uploaded
  • No server, upload, database, API or CDN in the processing path; pdf.js worker bundled locally
  • Compressed PDF built on-device and downloaded from a local Blob; works offline once cached
  • No login or telemetry; closing the tab discards everything
Compress PDF to 100KB — target, quality and limits
CapabilitySupportNotes
Target sizeLocked at 100 KBParsed from the URL; a banner replaces the preset grid so there is nothing to configure
Quality variantsBest, Balanced, SmallestThree generated in one pass; each tagged with a check when it lands at or under 100 KB
MethodImage re-encode + page rasterisepdf.js renders pages, images are down-sampled and JPEG-re-encoded, and pdf-lib rebuilds the file
Hard casesReports smallest achievableText PDFs go well under 100 KB; a heavy scan stops at the smallest legible size with a warning
Fidelity noteLossy at 100 KBRasterised pages make their text part of the image and no longer selectable
Privacy & scaleIn-browser, bounded by RAMCompressed with pdf-lib on-device, one PDF at a time; 100% client-side, no upload

Compress PDF to 100KB locks the target at 100 KB (parsed from the URL) and rebuilds the document in the browser: pdf.js renders the pages, images are down-sampled and JPEG-re-encoded, and pdf-lib assembles the result, producing three variants (Best, Balanced, Smallest) each marked when it clears 100 KB. Text PDFs drop under 100 KB easily; a heavy scan stops at the smallest legible size with a warning. Reaching 100 KB is lossy, so rasterised pages lose selectable text. Everything runs on-device; nothing is uploaded.