Twenty kilobytes is a brutally tight limit for a photograph — yet dozens of Indian government portals, university admission systems, and job boards enforce exactly that cap. A standard phone photo is 2–8 MB, roughly 100–400 times too large. Getting down to 20KB without destroying readability requires the right approach, not just dragging a quality slider in an editing app.

Who needs 20KB images?

  • PAN card and Aadhaar update portals
  • State PSC and SSC online applications
  • Railway recruitment (RRB) photo uploads
  • University entrance exam registration (some state boards)
  • Signature scan uploads paired with photo fields

Why generic compressors fail

Most online tools let you pick "low quality" and hope for the best. You might get 18KB or 35KB — a guess, not a target. Government portals reject files even 1KB over the limit. You need a compressor that hits an exact byte target using binary search on JPEG quality, and optionally scales dimensions if the source image is very large.

How to compress to exactly 20KB

  1. Go to ToolShoppy Image Compressor.
  2. Upload your JPG or PNG photo.
  3. Click the 20 KB preset chip.
  4. Press Compress Image. The tool searches quality levels in your browser until the output is ≤20KB.
  5. Check the result panel — it shows original size, compressed size, and a preview.
  6. Download and upload to your portal.

If quality looks too soft

At 20KB, some fine detail is inevitable — but faces remain identifiable for form verification. To maximise clarity:

  • Start with a well-lit, in-focus source photo
  • Resize to the portal's required pixel dimensions before compressing (use Govt Photo Resizer)
  • Use JPEG, not PNG — PNG cannot reach 20KB at useful photo dimensions
  • Avoid re-compressing an already compressed file multiple times

20KB vs 50KB — know your portal

Compressing more than necessary reduces quality. If your portal allows 50KB, use the 50KB preset instead. Kerala PSC typically wants 50KB; many PAN flows want 20KB. Read the upload field instructions — they usually state the maximum in KB.

Privacy-first compression

Form photos contain biometric data. ToolShoppy never uploads your image — compression uses the HTML5 Canvas API locally on your device. Close the tab and the data is gone. No account, no server storage, no third-party access. This is especially important for identity documents and children's exam application photos.

Bookmark the 20KB preset before your next application — it takes under 30 seconds once you know the steps.