Tutorials Sep 18, 2026 · 5 min read

How to Compress Images to Under 50KB for Government Portals & Exams

Written and reviewed by the Compress To KB editorial team. Last updated September 24, 2026. We build and maintain the compressor this guide refers to, so what we say about how it behaves comes from its actual code and from day-to-day use, not from guesswork.

Every recruitment season the same thing happens. Someone spends an hour filling in a long application form, reaches the photo step, and the portal answers with a red line: file size should be between 20KB and 50KB. Their phone photo is 3MB. This guide walks through how to get a photo or signature under a strict limit such as 20KB or 50KB without turning your face into a smudge, and, just as important, how to avoid the quieter mistakes that get applications flagged later.

Start by Reading What the Portal Actually Asks For

Size limits differ by exam, by document, and sometimes by year, so the first step is never to open a compressor. It is to open the current official notification and write down four things: the accepted file size range, the format (almost always JPG or JPEG), the pixel or centimetre dimensions, and whether the photo must be uploaded at all. That last point has changed recently. For the 2026 cycles, exam-preparation sites tracking the notices report that SSC and UPSC now capture the candidate photograph live inside the application form, so the upload step applies mainly to signatures, thumb impressions and certificates. If your portal does that, you only need this guide for the documents it still lets you upload.

The figures below are the ones most commonly published for recent notices. Treat them as a starting point and confirm them on the official site (for example ssc.gov.in, upsc.gov.in or ibps.in) before you submit anything.

Exam / portalDocumentCommonly published sizeFormat
SSC (CGL, CHSL, GD)Photograph (275×354px)20–50 KBJPG
SSC (CGL, CHSL, GD)Signature (about 6×2 cm)10–20 KBJPG
IBPS (PO, Clerk, RRB)Photograph, thumb impression20–50 KB eachJPEG
UPSCPhotograph20–200 KBJPG
UPSCSignature (350–500px, three signatures in one image)20–100 KBJPG
ICAI (CA exams)Photograph and signatureUp to 50 KB eachJPEG

Notice the range, not just the ceiling. A file that is too small is rejected just as often as one that is too large, which matters when you are compressing aggressively.

Prepare the Original Before You Touch Any Tool

Compression can only work with what you give it. A photo taken in a dim room with a busy background is full of noise, and noise is expensive to encode, so the compressor has to throw away more of the good detail to hit the same number. A few minutes of preparation pays back directly in the final quality:

  • Photograph: stand facing a window or a bright lamp, use a plain light wall behind you, hold the phone at eye level and keep your face centred. Avoid the front-camera "beauty" filters; they smooth skin in ways that can look odd once compressed.
  • Signature: sign in black or blue ink on plain white paper with no ruled lines, scan or photograph it flat in even light, and crop tightly so the signature fills most of the frame. A signature that occupies only a corner of a large white page ends up tiny after the portal's resizing.
  • Crop first, compress second. Cropping to the right aspect ratio in your phone's gallery removes pixels you would otherwise pay for in kilobytes.

Choose the Tool Page That Matches the Number

Each target size on this site has its own page, and the compressor is pre-set to it. For a signature that must stay under 20KB, use the 20KB compressor. For a standard photograph limited to 50KB, open the 50KB compressor. If the notice allows more room, such as UPSC's 200KB photograph ceiling, take advantage of it with the 200KB tool or the 100KB tool for signature fields; more kilobytes means a visibly cleaner face. When a portal lists a range such as 20–50KB, aim for the upper half of the range. The result is sharper and you still sit safely above the minimum.

Set the Output Format to JPG Yourself

This is the single most useful tip in the guide, and the one most people miss. The tool's Auto output mode is designed to get the smallest file with the least visible loss, so depending on your browser it may hand back a WebP or AVIF file, especially at small targets. Those formats are excellent for websites, but most government portals accept JPG or JPEG only and will reject anything else with a vague "invalid file" message. So for exam forms, open the Output Format dropdown and pick JPG before pressing Compress. Then check the file extension on the downloaded file. It should end in .jpg.

What the Tool Does Under the Hood

Understanding the order of operations helps you predict the result. The compressor first searches for the highest JPEG quality that still fits under your target, testing the real encoded size at each step rather than guessing. Only if even the lowest useful quality cannot fit does it start shrinking the pixel dimensions, and it does that last because a smaller image blurs faces and signature strokes faster than a lower quality setting does. If your original is already close to the portal's pixel dimensions, you will usually keep them intact. If it is a 4000-pixel-wide phone photo aimed at a 20KB limit, expect the dimensions to drop, which is fine because the portal will shrink it further anyway.

When the result panel says Target reached, you are done. If it says Best effort, the tool got as close as it could but the file is still above your limit. The fix is almost always upstream: crop the photo tighter, remove a cluttered background, or retake it in better light, then run it again.

Photos and Signatures Fail in Different Ways

A face photograph tolerates lossy compression well because skin and hair are full of gentle gradients that JPEG models nicely. It fails by becoming soft or blotchy around the eyes and hairline. A signature is the opposite: mostly white with thin dark strokes, which is exactly the situation where JPEG produces faint grey speckles around the lines if the quality is pushed too low. If your 20KB signature looks fuzzy, do not lower the quality further. Instead re-scan it with thicker strokes (a darker pen helps), crop closer, and compress again. If you want to understand why the speckling happens, our explanation of lossy versus lossless compression covers it in plain language.

A Realistic Walk-Through

Imagine a typical situation: a passport-style photo taken on a mid-range phone, about 3MB at 3000×4000 pixels, that has to fit a 20–50KB window at 275×354. First crop the photo to the same 275:354 proportion. Open the 50KB tool, choose JPG as the output, and compress. The tool will land somewhere near 45–50KB, keeping quality as high as it can. Download it, open it at full size on your computer, and look at the eyes and the edge of the hair. If both look clean, you are finished. If the portal still complains about pixel dimensions, resize it to the exact 275×354 in any basic editor (this tool is a size compressor, not a resizer) and re-check that it is still inside the 20–50KB range, because resizing can change the file size a little.

Mistakes That Get Applications Rejected

  • Uploading the wrong document to the wrong field. Photograph and signature have different limits, and mixing them up is more common than you would think.
  • Going below the minimum. Over-compressing a signature to 6KB when the range is 10–20KB fails validation as surely as 30KB does.
  • Reusing an old photo blindly. Photo age, background colour and cap or spectacle rules are updated between cycles.
  • Trusting a renamed file. Changing "photo.png" to "photo.jpg" does not convert it. Use a real compressor with JPG output.
  • Leaving it to the last hour. Portals slow down badly near the deadline. Prepare your files a few days early and keep them in a folder.

A Note on Privacy With ID Photos

Photos and signatures submitted for exams are identity documents in all but name. Many free online compressors upload the file to a server, and you rarely know how long it stays there. Compress To KB processes the file inside your browser, so the image itself is never sent to us. We explain the reasoning, and how you can check the claim yourself with your browser's developer tools, in our guide to the privacy risks of online image converters.

The Short Checklist

  • Read the current notification: size range, format, pixel dimensions, live-photo rules.
  • Crop your original to the required proportions first.
  • Open the matching tool page and set Output Format to JPG.
  • Aim for the upper half of a size range and confirm the status says Target reached.
  • Inspect the result at full size, then check the file size in your file manager.
  • Keep a copy of the accepted files for the next application.

Requirements change, and one portal's rule is not another's, so this guide is a method rather than a guarantee. The official notification always wins.

Sources & further reading

More Guides