How to compress a photo to 20KB or 50KB for online forms

Passport, Aadhaar, PAN, SSC, UPSC and college portals all reject photos that are too big. Here's how to hit the exact limit in seconds — free, and without uploading your photo anywhere.

If you've ever tried to upload a photo to a government or exam portal, you've probably met the dreaded message: "File size must be less than 50KB." A photo straight from your phone is 2–5 MB — that's 40 to 100 times too big. So how do you get it down to an exact 20KB, 50KB or 100KB without it turning into a blurry mess?

The fastest way (free, private)

  1. Open the Compress Image to Exact KB tool.
  2. Upload your photo.
  3. Tap your target — 20KB, 50KB, 100KB, or type any custom size.
  4. Click compress and download. Done — it lands just under your limit.

Because it runs entirely in your browser, your photo is never uploaded to a server — important when you're handling ID or passport photos.

Common size limits by form

  • Passport / visa photos: usually 20–50 KB
  • Aadhaar, PAN, voter ID, driving licence: typically 20–100 KB
  • SSC, UPSC, IBPS & banking exams: photo 20–50 KB, signature 10–20 KB
  • College & university admissions: often up to 100–200 KB

How to keep it looking sharp

Two tricks help the most when squeezing to a tiny size:

  • Resize first. If your photo is 4000px wide but the form shows it at 200px, shrink the dimensions first with our Resize Image tool. Fewer pixels means the quality can stay higher at the same KB.
  • Use JPG. JPG compresses photos far smaller than PNG. The compressor outputs JPG automatically for the smallest size.

Need a passport-sized photo too?

If the form also needs a specific photo size (like 35×45mm), use the Passport Photo Maker — it crops to the right dimensions, adds a white background, and can compress to your KB target in one go.

Frequently asked questions

Is it really free with no limit?

Yes — unlimited, no sign-up, no watermark. The tool generates the result in your browser.

Will compressing to 20KB ruin my photo?

Very small targets need heavy compression. If it looks soft, resize the image smaller first, or choose a slightly larger target like 50KB.

Is my photo uploaded anywhere?

No. Everything happens locally in your browser, so your ID and passport photos stay private.

Try the free Compress to KB tool →