Resize Image to 20KB — Free Photo Compressor for Forms
Of all the file-size limits Indian websites impose, 20KB is the one that generates the most despair. Government portals, exam forms like SSC and UPSC, state recruitment websites — they all ask for your passport photo and signature to be exactly under this number. If you are reading this, you probably already tried shrinking your photo yourself and ended up with a blurry mess, or a file that is still somehow 22KB. This tool solves exactly that problem. It compresses your JPG, PNG, or WebP photo to 20KB right in your browser, keeping faces and text as clear as mathematically possible, without ever uploading your personal documents to a server.
What is this tool?
Resize Image To 20KB is a free online image compressor preset to a strict 20 kilobyte target. 20KB is notoriously required by many government portals and application forms for passport photos and signatures. Achieving this tiny size manually often ruins the image, but this tool uses a smart local algorithm to reach 20KB while preserving legibility. Upload your JPG, PNG or WebP and it compresses it instantly on your device — no servers, no wait, no privacy risks.
Hitting 20KB is challenging. If you provide a massive, complex photo, 20KB will force noticeable compression. For the best result, supply a cropped, simple image like a headshot against a plain background or a cleanly scanned signature. These simpler images can compress down to 20KB while retaining excellent clarity.
How it works
- The tool uses a quality-first binary search algorithm. It repeatedly compresses your image in the background, measuring the resulting file size each time.
- If the size is too large, it lowers the compression quality slightly.
- It only reduces the image resolution if hitting your target KB is impossible by lowering quality alone. This ensures maximum crispness for your exact file size.
Benefits
- Meets strict 20KB limits for government forms and job applications.
- Optimised to preserve faces in ID photos and text in signatures.
- Supports JPG, JPEG, PNG and WebP input with flexible output.
- Free and unlimited, with no sign-up or watermarks.
- Private, browser-based compression keeps sensitive IDs on your device.
- Works instantly on your mobile phone or desktop.
Features
- Target locked to 20KB — upload and compress instantly.
- Side-by-side before/after preview with dimensions.
- Final size, target and reduction percentage displayed.
- Smart engine that lowers quality before ever touching resolution.
- Re-compress, download and compress-another controls.
Step-by-step guide
- Open the Resize to 20KB tool — the 20KB target is preset.
- Drag and drop or upload your JPG, PNG or WebP image.
- Press Compress to 20 KB and watch the live progress.
- Review the before/after preview and the final size.
- Download your 20KB image, or compress another.
Tips
- Crop tightly: Remove all unnecessary background before compressing to give the subject more of the 20KB budget.
- Use high contrast: Signatures compress better if written in dark ink on white paper.
How to reduce your photo or signature to 20KB
- First, crop the image. If you are uploading a passport photo, crop out the extra background so only your head and shoulders remain. If it is a signature, crop closely around the ink. Do this before uploading.
- Upload the cropped photo to this page. The target size is already locked to 20KB.
- The tool will automatically run a quality-search loop, adjusting the compression repeatedly until it finds the highest possible clarity that fits under 20KB.
- Check the preview. 20KB is tiny, so expect some softening, but ensure the face is recognizable and the signature is legible.
- Download the file. We strongly recommend exporting as JPG, as it survives heavy compression much better than PNG.
Why 20KB is so difficult (and how this tool helps)
A standard photo from a modern smartphone is often 3,000 to 5,000 KB (3-5 MB). When an exam form asks you to reduce that to 20KB, it is asking you to throw away 99.5% of the file's data. You cannot do this by just moving a quality slider to the left; eventually, the slider bottoms out and the file is still too big, because the image dimensions (the number of pixels) are too large.
To hit 20KB, a tool must carefully balance two things: dropping the quality, and shrinking the physical dimensions (width and height) of the image. Doing this manually is a frustrating game of trial and error.
This tool automates that game. It uses a binary search algorithm. It first tries to hit 20KB just by lowering JPG quality. If that fails, it starts gently reducing the image dimensions, testing the file size at every step. It runs this loop in milliseconds in your browser, stopping only when it finds the absolute best version of your photo that mathematically fits under 20KB. You just click once.
The signature problem: why it looks terrible at 20KB
Signatures are notoriously difficult to compress to 20KB. A signature is usually thin dark lines on a bright white background. Heavy JPG compression creates "artifacts" — messy, blocky smudges that appear right around those sharp edges. At 20KB, these artifacts can get so bad that the signature becomes unreadable.
The best way to prevent this is contrast. Before you photograph your signature, use a thick black pen (not blue, not pencil) on clean white paper. Make the lines bold. A thick black line survives 20KB compression; a thin, faint blue line turns into gray dust. Additionally, crop the photo so tightly that the white paper around the signature is almost entirely removed. White pixels still take up file size; don't waste your 20KB allowance on blank paper.
A warning about "strictly under 20KB"
Many government portals in India run on very old software. When their guidelines say "maximum 20KB", they often mean strictly less than 20KB. If our tool produces a file that is exactly 20.0KB, the portal might reject it with a frustrating error message.
If you encounter this, don't panic. The solution is simple: go to our custom Resize to KB page, and manually enter a target of 19KB or 18KB. The tool will give you a slightly smaller file that will easily pass the strict limit, usually with no visible difference in quality.
Frequently asked questions
Is the 20KB resize tool free to use?
Yes, it is 100% free with no watermark, no signup, and no daily limits. You can compress as many photos and signatures as you need.
Will my ID photo or signature be uploaded to your servers?
No. All compression happens locally on your phone or computer inside the browser. Your personal documents never leave your device, which is critical for ID photos.
Why is my photo blurry at 20KB?
20KB is an extremely small file size. A high-resolution photo holds millions of pixels of detail, and squeezing it into 20KB requires discarding a lot of that data. To minimize blur, crop the photo tightly around your face or signature before compressing, so the tool doesn't waste file size on the background.
Which format should I use for a 20KB photo?
JPG is usually the best choice. It compresses far more efficiently than PNG, meaning a 20KB JPG will look noticeably clearer than a 20KB PNG. Always export as JPG unless the website explicitly demands PNG.
What if the tool says the photo is exactly 20.0KB?
Some websites are terribly coded and will reject exactly 20.0KB if their limit is "strictly less than 20." If this happens, aim for 18KB or 19KB to be safe.
Does this work on mobile?
Yes, it works beautifully on any mobile browser. You can select a photo straight from your phone's gallery, compress it to 20KB, and download it back to your phone ready for upload.