Exam Photos 5 min readMarch 8, 2026

How to Compress Photos to Under 50 KB — For Exam and Government Forms

Compress passport photos and form uploads to exactly 20-50 KB as required by Indian government portals.

How to Compress Photos to Under 50 KB — For Exam and Government Forms

The 20-50 KB Challenge

Indian banking exams (IBPS, SBI, RBI) and SSC exams require photos between 20-50 KB. This is a very tight range — too small and the photo looks blurry, too large and the portal rejects it.

Why Standard Tools Fail

Most image editors let you set quality percentage but cannot guarantee a specific KB output. You might get 45 KB at quality 70% for one photo but 55 KB for another — rejected.

The Binary Search Method

Professional exam photo tools use binary search compression:

  1. Try quality 50% — check if within 20-50 KB
  2. Too large? Try lower quality. Too small? Try higher.
  3. Repeat 15-20 times to converge on the exact target range
  4. Result: photo that is exactly within 20-50 KB

Step-by-Step

  1. Resize photo to required dimensions (e.g., 200x230 px for banking)
  2. Set target range: 20 KB minimum, 50 KB maximum
  3. Upload and process — the tool handles compression automatically
  4. Verify the output file size before submitting

Common Mistakes

  • Resizing in Paint — Paint cannot control KB size, only dimensions
  • Using online tools that add watermarks — Ruins the photo for official use
  • Submitting PNG — Must be JPEG for all Indian exam portals
  • Ignoring minimum size — Some portals reject files under 20 KB
50kbcompressgovernment formexam uploadpassport photo
Back to all articles