Compress a JPG to 20KB

Processed entirely on your device — images are never uploaded

Of all the upload-size limits scattered across the internet, 20KB is the one that catches people most off guard, because it shows up almost exclusively on a specific category of site: government job applications, competitive exam registration portals, and university admission forms. These are exactly the situations where you can’t afford a failed upload eating into a submission deadline, and exactly the situations where the form gives you the least helpful error message when your file is rejected.

Why this limit is so much stricter than everywhere else

Most consumer apps and modern web forms either don’t cap upload size at all, or set a generous limit like 5MB or 10MB, because storage is cheap and bandwidth is fast. The portals that specify 20KB are a different breed — many were built for government exam boards and admissions offices well over a decade ago, on infrastructure that had to handle enormous simultaneous traffic spikes (millions of applicants, often all submitting in the final 48 hours before a deadline) on comparatively limited server and bandwidth budgets. A 20KB photo and a 20KB signature, multiplied across millions of applicants, was a deliberate, practical choice at the time. The limit has simply never been revisited since, even as the photos people are trying to upload have grown from a few hundred kilobytes on early camera phones to several megabytes on a modern smartphone.

That gap is the entire problem. A typical phone photo today might be 3-8MB. Getting it down to 20KB is roughly a 99.7% reduction — among the most aggressive compression jobs a normal user is ever likely to need, and one where a quality slider set by hand is almost impossible to get right on the first try.

Photos and signatures behave differently under this kind of compression

A face photo and a signature scan respond very differently to aggressive JPG compression, because they contain fundamentally different kinds of detail:

If your signature comes out looking rougher than your photo at the same 20KB target, that’s not a flaw in the compression — it’s an inherent property of the content. Scanning your signature at higher resolution and contrast to begin with (a clean, dark pen on white paper, scanned rather than photographed under uneven lighting) gives the compressor meaningfully more to work with before it has to start cutting corners.

What to do if the portal also demands exact pixel dimensions

Many of these forms specify both a file size cap and a fixed pixel size — something like “200×230 pixels, JPG, max 20KB” is a typical combination. These two constraints interact: if your starting image has a very different aspect ratio than the required dimensions, cropping to the exact required size first (so you’re not relying on the form to stretch or letterbox your photo) and then compressing that already-correctly-sized crop to the KB target tends to give a cleaner result than compressing a wrongly-shaped image and hoping it scales acceptably later.

A practical tip if you’ll be doing this more than once

If you’re applying to several exams or programs in the same cycle, it’s worth keeping one well-lit, well-cropped “master” version of your photo and signature at a moderate size (a few hundred KB, not the multi-megabyte camera original) rather than re-exporting from scratch each time. Compressing down from that clean master to whatever each individual portal demands — 20KB here, 50KB there — tends to produce more consistent results than starting from a different screenshot or photo each time.

How it works

  1. Add your photo or signature scan

    JPG works best here since it's almost always what these forms require by name. If you have a PNG or HEIC file, it'll still be read correctly and converted to JPG automatically.

  2. Let the binary search find the limit

    20KB is an aggressive target for a real photo, so the tool will usually need to reduce both quality and pixel dimensions to get there — it does this automatically rather than asking you to guess.

  3. Check it still looks like you

    At 20KB, some softening of detail is unavoidable. The preview lets you confirm the result is still clearly recognizable before you upload it to a form you may only get to submit once.

Frequently asked questions

Why do exam portals specifically ask for 20KB JPGs?

It's a long-standing convention on government and competitive-exam application portals (UPSC, SSC, state PSCs, and similar boards are common examples), most of which specify both a maximum file size — typically 20KB or 50KB — and an exact pixel size for the photograph and signature, separately. These specs were set when the portals were built, often over a decade ago, and have stayed fixed since, even as phone cameras have moved on to producing files hundreds of times larger.

Why does it want JPG specifically and not PNG?

These forms are usually built to validate the file's MIME type strictly, rejecting anything that isn't JPG/JPEG outright regardless of size. JPG's lossy compression is also genuinely the only practical way to hit a target this small for a photograph — PNG, being lossless, can't shrink anywhere near as far without aggressively reducing the image's pixel dimensions instead.

My signature looks blurry after compressing to 20KB — is that normal?

Signatures are a harder case than photos because they're high-contrast line art on a plain background — exactly the kind of content where JPG's blocky compression artefacts are most visible, especially right at the edges of the ink strokes. If the result looks unacceptably rough, try starting from a higher-resolution, well-lit scan with good contrast between the ink and the paper; there's more room to compress a clean source image before it starts looking damaged.

The form also specifies exact pixel dimensions — does this tool handle that?

This tool optimizes for file size in kilobytes, not a specific width and height in pixels. If your form requires both (a common pairing is 200×230px for a photo, for instance), check the result's dimensions after compressing — if the form's exact pixel spec matters, you may need to crop or resize to that exact dimension first, then compress that cropped version down to the KB target.

Can I compress several photos for the same application at once?

Yes — select multiple files and each gets compressed and previewed separately, with a 'download all' option once they're all done. Useful if a single form wants a photo, a signature, and a thumb impression scan, each under its own 20KB limit.

Related tools