How to compress a photo for an online form
Government portals, university applications and job sites all do the same thing: they cap the size of what you can upload, usually somewhere between 20 KB and 200 KB. Your phone takes photos that are 3–5 MB. That's a factor of fifty, and no amount of retaking the photo will close it.
What the limit actually measures
The limit is on file size in kilobytes — how much storage the file takes — not on how large the photo looks. A 600 × 600 photo can be 40 KB or 400 KB depending on how hard it was compressed. That's why "make it smaller" in a photo app often doesn't help: shrinking the dimensions is only one of the levers.
- Quality — how much detail the JPG encoder throws away. The main lever, and invisible until you push it hard.
- Dimensions — how many pixels there are. Halving the width and height cuts the pixel count by four.
- Format — a modern format like WebP is 25–35% smaller than JPG at the same quality, but most forms only accept JPG or PNG.
Hitting an exact size
- 1Start from the original photo, not a screenshot of it — screenshots throw away detail before you've begun.
- 2If the form specifies dimensions, resize to those first.
- 3Then compress to the target size. A good tool lowers quality step by step until the file lands just under your number, rather than making you guess at a percentage.
- 4Look at the result before you upload. At 20 KB and below, faces get soft — that's the point where you crop tighter instead of compressing harder.
Common limits: 20–50 KB for signatures, 50–100 KB for ID photos, 200 KB–1 MB for documents and certificates. If the form doesn't say, 100 KB is a safe target.
When the form wants dimensions and a file size
Indian exam portals are the classic example: a 200 × 230 pixel photo under 50 KB, plus a signature under 20 KB. Do it in that order — resize to the exact pixels, then compress. Compressing changes only the file size, so the dimensions you set are preserved.
If the file still won't fit after resizing, the photo probably has more detail than it needs — a busy background costs bytes. Crop tighter around the subject and try again.
Why not just email it to yourself?
Mail apps and messaging apps do compress photos, but you don't control the result, and some strip the dimensions you carefully set. Worse, sending an ID document through a third party means handing your passport photo to another company's servers. A tool that runs in your browser does the same job without the file leaving your device.
Set the exact size your form asks for and get a file that fits.
Compress to an exact size