How to Resize a Photo to 20KB for Online Forms
4 min read Updated
You have filled in the whole form, you reach the photo upload, and the portal refuses the file: photo size should be under 20KB. Your phone took a 4 MB photo. Here is how I get one down to 20KB without ending up with a blurry mess, and what to check when the portal still says no.
Why forms cap the size at 20KB
A recruitment body handling a few hundred thousand applications has to store every photo and signature, then serve them back to examiners and verification staff. At 2 MB a photo, half a million applications would be a terabyte of images. At 20KB it is ten gigabytes. The cap is about their storage, not about your photo quality, which is why the limit is absolute and the portal will not budge over a kilobyte or two.
Pixel size and file size are different things
Almost every rejected upload I hear about comes from mixing these up. Pixel dimensions are how wide and tall the image is, such as 200 × 230 px. File size is how many kilobytes the file takes up. They are related but separate: the same 200 × 230 photo can be 15KB or 150KB depending on how hard it is compressed.
Most forms state both. Read the instructions and note each number before you start, because fixing one and ignoring the other gets you another rejection.
How to get under 20KB
- Start from the best original you have. Use the camera photo, not a WhatsApp forward. A forwarded image has already been squeezed once, and squeezing it again is what produces those blocky squares around the face.
- Crop before you compress. A passport-style headshot should be mostly face. Cropping away the background removes detail that would otherwise eat into your bytes, so the same 20KB buys a much sharper face.
- Set the pixel dimensions the form asks for. If it says 200 × 230 px, set exactly that. A 3000 px photo squeezed into 20KB looks far worse than a 200 px one at the same size, because every pixel gets a fraction of the bytes.
- Save as JPG, then lower the quality until it fits. JPG is the only common format with a quality dial. PNG has none, which is why a PNG headshot almost never reaches 20KB.
- Check the result at full size before uploading. If your eyes and the outline of your shoulders are clear, it will pass verification.
The resize image to KB tool does steps three to five in one go. Set the dimensions, set 20 as the target, and it finds the highest quality that still fits under 20,480 bytes.
Four reasons a portal still rejects a 20KB photo
- It is 20.4KB, not 20KB. Portals count in bytes. "Under 20KB" means under 20,480 bytes, and some older portals mean under 20,000. Aim for 18KB and leave yourself room.
- The format is wrong. A file named photo.jpg that is really a PNG inside will be rejected. Re-save it properly instead of renaming it.
- The dimensions are below the minimum. Shrinking the image is the easy way to hit 20KB, but most forms also set a minimum pixel size. Meet both numbers.
- The photo itself breaks the rules. Plain light background, face filling most of the frame, no cap or sunglasses, and sometimes a date or name strip across the bottom. No amount of resizing fixes a selfie taken against a patterned wall.
About the signature
The signature usually has a tighter limit than the photo, and the exact numbers change from one exam to the next: [CHECK OFFICIAL NOTICE]. Sign in black ink on plain white paper, photograph it in good light from directly above, crop tightly to the signature, and convert it to grey if you can. A tightly cropped signature compresses far smaller than one floating in the middle of a page.
Keep the original
Compression only goes one way. Once detail is gone it cannot come back. Keep the full-size photo somewhere safe, because the next form will ask for a different size and you will want to start from the original rather than from a 20KB copy.