How to Compress a Photo to 20 KB Without Losing Quality
Many Indian gov forms (PAN, Aadhaar) require photos under 20 KB. Here's exactly how to hit that target without making your photo look terrible.
A 20 KB photo sounds tiny — and it is. A typical phone selfie is 3-5 MB, which is 150-250× too large. The trick is to resize first, then compress, in that order.
Step 1: Resize down to the target dimensions
A 4000-pixel-wide photo squeezed into 20 KB looks like a JPEG nightmare. But the same 20 KB at 213 × 213 pixels (PAN card size) looks crisp.
For PAN: 213 × 213 px. For Aadhaar update: 160 × 200 px. Pick the right pixel size for your form first.
Step 2: Save as JPEG, not PNG
PNG is lossless and almost never fits a KB target without ugly tricks. JPEG was designed for photos and compresses cleanly.
Step 3: Tune quality, not just file size
Most compressors brute-force the file size by reducing pixels. Our Image Compressor instead binary-searches JPEG quality between 10% and 95% until the file lands in your target band — usually 60-80% quality is enough for a small photo.
Step 4: Verify
Open the result on a phone screen. If it looks fine to you, it'll look fine to the form verifier.
Try the free image compressor. One click, no signup, no upload.