How to Resize a Photo to 20 KB (Without Losing Quality)
Reviewed: 2026-05-01
Many government forms, job applications, and online portals require photos under a specific file size — often 20 KB, 50 KB, or 100 KB. This is far smaller than what modern phone cameras produce (typically 3-8 MB), so compression is necessary.
Why file size limits exist
Online submission portals have bandwidth and storage constraints. Government systems, particularly in South Asia, often enforce strict limits: Indian passport applications cap at 250 KB, some Indian university forms require under 20 KB, and many competitive exam portals set 50 KB limits.
The quality tradeoff
Reducing a photo from 5 MB to 20 KB means compressing by 250×. At this compression level, visible quality loss is inevitable. The key is minimizing that loss:
Step 1: Resize dimensions first. A 4000×3000 photo compressed to 20 KB looks terrible. A 200×250 photo compressed to 20 KB looks acceptable. Always reduce pixel dimensions before targeting file size.
Step 2: Use JPEG format. JPEG compression is far more efficient than PNG for photographs. If your source is PNG, convert to JPEG first.
Step 3: Reduce quality gradually. Start at 80% JPEG quality and decrease until you hit the target file size. The ExactPix compressor does this automatically.
Common target sizes
| Target | Typical use case |
|---|---|
| 20 KB | Indian exam forms, some university applications |
| 50 KB | Government job applications, PAN card |
| 100 KB | Some visa applications |
| 200 KB | India OCI card photo |
| 240 KB | US DV Lottery, US visa |
| 250 KB | Indian passport (Passport Seva) |
Use ExactPix
Upload your photo on any of our spec pages — the tool automatically compresses to the required file size for that specific application. Or use our universal compressor to target any custom file size.