20 KB is the classic limit for photos and signatures on exam, recruitment and government application portals. Drop your photo in the box above: the target is already set to 20 KB, and the tool finds the highest quality that fits.
Where 20 KB limits come from
Online application systems built years ago store every applicant's photo and signature in a database, so they cap each file hard. You'll see limits like “photo 20–50 KB, signature 10–20 KB, JPG only” on many recruitment and exam portals (common on Indian government and banking job forms, for example), on university admission systems and on older visa and ID portals. Some also set a minimum size, to stop people uploading a blurry thumbnail.
| What you are uploading | Largest size that fits in 20 KB at good quality |
|---|---|
| Head-and-shoulders photo (portrait) | 297×382 px |
| Landscape photo (16:9) | 457×257 px |
| Scanned A4 / Letter page of text | 240×339 px |
| Ink signature on white paper | 900×300 (full size) |
Measured by us with JPEG quality 80. Bigger than this still fits, but the tool has to lower the quality to get there.
So for a passport-style photo, 20 KB comfortably holds about 300×380 pixels — more than enough for a form that will show it at a few centimetres wide. A signature is so simple (dark lines on a plain background) that it barely needs compressing at all.
Photo and signature: different tricks
- Photo: crop to head and shoulders before compressing. Every pixel of wall or ceiling you leave in costs bytes that could have gone to the face.
- Signature: sign with a black or dark-blue pen on plain white paper, photograph it in daylight without shadows, and crop tightly around the ink. Lined or coloured paper adds texture that eats the size budget.
- Required dimensions too? If the form also says something like “200×230 pixels”, use the image resizer with the size limit field filled in — it does both in one step.
1 KB = 1000 or 1024 bytes?
Upload forms don't agree. Some count a kilobyte as 1024 bytes, others as 1000. A file of 20,300 bytes is “19.8 KB” to the first kind and “20.3 KB” — too big — to the second. ImgToSize always stays under the stricter reading (1000 bytes per KB), so a result that says it fits really fits, whichever way the form counts.
“File too small” errors
If a form needs between 10 and 20 KB, a tiny file can be rejected too. Set the target to 19 and the tool keeps the quality as high as possible, so the result usually lands between 17 and 19 KB — inside the window.
Still rejected? Nine reasons forms refuse a photo, and the fix for each.
Other limits
Need a different number? Type any limit into the box on the compress image page.
Frequently asked questions
How many pixels can a 20 KB photo have?
For a head-and-shoulders portrait, about 300×380 pixels at good JPEG quality. Larger images still fit, but with lower quality.
Why is my 19 KB photo rejected as too large?
The form may count 1 KB as 1000 bytes, so 19 KB on your computer can be over 20,000 bytes. ImgToSize stays under 1000 bytes per KB, so its results pass either way.
Can I compress a signature to 20 KB?
Easily. A cropped signature on white paper usually fits in 20 KB without any visible loss; often it fits in 10 KB.
Is it safe to compress my ID photo here?
Yes. The photo is compressed by your own browser and never uploaded anywhere.
Will my image be exactly 20 KB?
It will be at or just below 20 KB — never over. Upload forms reject files that are even 1 byte too large, so we always stay under the limit while keeping as much quality as possible.