Reduce a JPG or PNG to 20 kilobytes for the smallest passport-style photo uploads on UIDAI, SBI, and other exam-portal forms.
All processing happens in your browser — files never upload anywhere.
Compress Image to 20KB compresses a photo or image to exactly 20 kilobytes or smaller, using the browser's Canvas 2D encoder combined with binary-search over JPEG quality and progressive downscaling. Government portals like Aadhaar, PAN, SSC, and university enrollment portals enforce strict upload caps — this tool nails those caps precisely so you don't have to guess.
the browser's Canvas 2D encoder combined with binary-search over JPEG quality and progressive downscaling
Every step runs on your device — nothing is uploaded.
Open Compress Image to 20KB — no signup, no install.
Click the drop zone or drag your image file in. It stays on your device.
The tool binary-searches over quality settings until the output fits 20 KB exactly.
Check the "Target hit!" badge, then click Download to save the file at 20 KB or smaller.
Compress Image to 20KB uses the browser's Canvas 2D encoder combined with binary-search over JPEG quality and progressive downscaling. For images, it binary-searches over JPEG quality (from 5% to 95%) and progressively downscales resolution (from 100% down to 30% if needed) until the output fits your target. If a target is genuinely impossible for a given image (say, forcing a 24-megapixel photo under 5 KB), you'll see a "best-effort" badge instead of a silent failure.
Many government portals, exam applications, and job sites cap uploads at exactly 20 KB. Common examples: Aadhaar and PAN card portals, SBI, IBPS, and other bank exam application forms, UPSC, SSC, and state PSC applications. Uploading a file even 1 KB over the limit results in an instant rejection, so Compress Image to 20KB nails the target precisely.
Some visual quality is unavoidable when a large photo has to fit in 20 KB — that's just information theory. Compress Image to 20KB minimizes the loss by using JPEG's quality slider before falling back to downscaling, so text and edges stay sharp as long as possible.
After the first load, yes. Compress Image to 20KB caches its WASM libraries in your browser's service-worker storage, so subsequent uses run fully offline. All compression happens locally — no internet call is made to a server.
Yes. Compress Image to 20KB runs entirely in your browser — your file is never uploaded, never logged, and never stored on any server. When you close the tab, everything is gone. Regulators love this pattern because there's no data at rest to breach.
Right now Compress Image to 20KB processes one file at a time to keep memory usage predictable. For a batch, keep the tool open and drop files one after another — each run is a fresh operation with no upload delay.
All free, all browser-based, all zero-signup.