How to Get a Photo or Signature Under 20, 50 or 100 KB for an Online Form

The upload box says "JPG, 20 KB to 50 KB" and the photo on your phone is 3 MB. The fix takes two minutes once you know that pixel size, not the quality slider, does most of the shrinking.

Exam portals, bank recruitment sites and college admission forms all ask for the same two things: a passport-style photo and a scan of your signature, each under a strict size limit. Miss the limit by 1 KB and the upload is refused, however good the photo looks.

The method that works every time: crop the picture to the shape the form wants, resize it to the stated pixels, and only then compress it to just under the KB limit. Both tools used below, our image resizer and image compressor, run in your browser, so your photo and signature stay on your own phone or computer.

Read your notice before you touch the photo

Every notice sets its own rules, and they often change from year to year. Find these in yours and write them down:

  • the file type, which is nearly always JPG or JPEG
  • the smallest and the largest file size allowed, in KB
  • the size in pixels, if one is given, or the size in centimetres and DPI
  • rules about the photo itself, such as background colour or how much of the frame your face fills

As a real example, a Punjab & Sind Bank notice for apprentice posts asks for a colour photo of 200 x 230 pixels, marked as preferred, between 20 and 50 KB. The signature is 140 x 60 pixels, between 10 and 20 KB, signed in black ink on white paper. Both must be JPG or JPEG, and the notice warns that the upload page shows an error if the file size or format is wrong. The examples below use those numbers, but go by your own notice.

Why forms are so strict about size

A busy exam or bank portal can collect a huge number of applications in a few weeks. Every photo is stored, opened by the people checking forms, and often printed small on an admit card. A fixed size in pixels keeps those pictures uniform, and a cap in KB keeps storage and page loading under control. The upload page checks this automatically, so there is no one to argue with when a file is 2 KB over.

Notices rarely explain the minimum. A likely reason is that a file far below it is usually a tiny or blurry picture. Either way, the upload page enforces it, and with signatures it is the end of the range that catches people out.

Why the pixel size matters more than quality

A photo is a grid of dots called pixels. A 12-megapixel phone photo is 4032 x 3024, which is 12,192,768 pixels. A 200 x 230 form photo is 46,000 pixels, about 265 times fewer. File size follows the number of pixels far more closely than it follows the quality setting.

What we measured

We took one of Apple's sample photos, 1668 x 2500 pixels, and saved it as JPG at different settings using the free Pillow imaging library on a Mac. Our tools use your browser's encoder, so their numbers differ a little, but the pattern holds. At full size, quality 40 gave 275 KB and quality 10, which looks badly blocky, still gave 120 KB. Cropped and resized to 200 x 230 pixels, the same photo came out at 22 KB at quality 95 and 16 KB at quality 90.

No quality setting gets a full-size phone photo under 50 KB in a usable state. Cutting the pixels does, with room to spare for high quality.

Centimetres, DPI and pixels

Some notices give sizes in centimetres with a DPI (dots per inch) figure. To turn that into pixels, divide the centimetres by 2.54 and multiply by the DPI.

pixels = centimetres / 2.54 x DPI
3 cm at 200 DPI = 3 / 2.54 x 200 = 236 pixels

The same bank notice asks for a thumb impression of "240 x 240 pixels in 200 DPI", about 3 x 3 cm, so it simply rounds 236 up to 240. Notices are not always consistent. That one gives the photo as 4.5 x 3.5 cm and also as 200 x 230 pixels, which are slightly different shapes. When the two disagree, aim for the pixel numbers, because pixels are what the upload page receives, unless your notice says otherwise.

Why resize first and compress second

Our compressor can reach a size on its own. In Target size mode it searches for the highest JPG quality that fits, between 95 and a floor of 40. If even quality 40 is too big and Allow smaller dimensions is ticked, it shrinks the picture just enough to fit and searches again. Our guide on how image compression works explains the search step by step.

The catch is where that lands. When we repeated those steps on the sample photo with a 50 KB target, the result was about 608 x 911 pixels at quality 46. That passes a form that only checks KB, but it fails a form that wants 200 x 230, and quality 46 is softer than it needs to be. Resize to 200 x 230 first and the compressor can stay at quality 95.

Step by step: a 200 x 230 photo between 20 and 50 KB

  1. Start from the original photo in your gallery, not a screenshot of it. iPhone photos in HEIC format are fine, because both tools read HEIC and save JPG.
  2. Crop it to roughly the right shape on your phone. On an iPhone, open the photo in Photos, tap Edit, then Crop, and drag the corners. Tap the lock in the top-right corner if the shape will not change. In Google Photos, tap Edit, Crop, then Aspect ratio. For 200 x 230, the crop should be a little taller than it is wide, with your face centred as the notice describes.
  3. Open the image resizer. Choose Pixels, type 200 for width and 230 for height, and untick Keep aspect ratio so the result is exactly 200 x 230. Because you already cropped close to that shape, the small stretch will not show. Set Save as to PNG, so this step loses no detail, and download the file.
  4. Open the image compressor. Choose Target size and type 48. Untick Allow smaller dimensions so it cannot change your 200 x 230. Leave Save as on JPG, then add the PNG you just made.
  5. Read the line under the file. It shows the old and new size, the quality used and the pixel size. You want something between 20 and 50 KB, at 200 x 230, with a name ending in .jpg.
  6. If the result is under the minimum, say 17 KB against a 20 KB floor, switch to Quality, move the slider to 100 and press Compress again with new settings. In our check, quality 100 at 200 x 230 gave 42 KB.
Why 48 and not 50

Our tools count 1 KB as 1,024 bytes, so a 48 KB target means at most 49,152 bytes. Some websites count 1 KB as 1,000 bytes, which makes their 50 KB limit 50,000 bytes. Aiming at 48 fits under either reading. At the bottom end, 20 KB in our count is 20,480 bytes, which clears a 20 KB minimum either way.

Signatures: the problem is often too small, not too big

Sign in black ink on plain white paper, as most notices ask. Photograph it in daylight without your hand's shadow across it. A 140 x 60 box is a bit over twice as wide as it is tall, so crop tightly to that shape before resizing.

Follow the same steps with 140 x 60 pixels and a target of 18 for a 20 KB maximum. Then look at the result. A signature is mostly white paper, and white compresses very well. In our check with a test signature drawn on a computer, 140 x 60 pixels came to only 2 to 4 KB at quality 95, and 5 to 7 KB even at quality 100. That is under a 10 KB minimum no matter what you do with the quality.

If you hit this wall, check how your notice words the pixel size. The bank notice calls 140 x 60 "preferred". In that case a larger image with the same shape is a reasonable choice. At 280 x 120 our test signature measured 12 to 21 KB at quality 100. If your notice states exact pixels as a hard rule, follow it, and contact the help desk listed in the notice rather than guessing.

Which route for which notice

What the notice givesWhat to do
Only a KB limit, such as "under 100 KB"Compressor, Target size, with Allow smaller dimensions ticked
KB limit and pixel sizeCrop, resizer with Keep aspect ratio unticked, then compressor with shrinking unticked
KB limit and centimetres with DPIWork out the pixels first (centimetres / 2.54 x DPI), then as above

For a plain "under 100 KB" or "under 200 KB" with no pixel size, the one-step route is quicker and perfectly fine.

Common mistakes that get uploads rejected

Uploading a screenshot of the photo. A screenshot captures your screen, not the photo. You get the phone's status bar, the gallery's blank borders and a pixel size that matches your screen. Screenshots are also often saved as PNG. Use the original from your gallery.

Sending a PNG where the form says JPG. PNG keeps every pixel exactly, which makes photos big. Our 200 x 230 test photo was 83 KB as PNG against 22 KB as a JPG at quality 95. Renaming photo.png to photo.jpg does not convert it, so the form may still refuse it. The compressor and our PNG to JPG converter make a real JPG.

Uploading the iPhone's HEIC file. If the name ends in .heic, many forms will not take it. Our guide What is HEIC? explains why. Dropping the HEIC straight into the compressor gives you a JPG.

Compressing the same file over and over. Every JPG save throws away a little more detail. If you need another try, start again from the original photo, not from the last result.

Unticking Keep aspect ratio without cropping. Most phone photos have a 4:3 shape. Forcing it into 200 x 230 distorts your face. Crop first, so the resizer only makes a tiny adjustment.

Forgetting the minimum. A file of 12 KB feels like a win until the form rejects it. Check both ends of the range.

A small privacy bonus

Phone photos can carry hidden details such as the date, phone model and location. The compressor draws a fresh copy from the pixels, so none of that goes into its JPG.

Frequently asked questions

How do I reduce a photo to 20 KB without it looking bad?

Cut the pixels first. A photo resized to the size a form asks for, such as 200 x 230, can be saved at a high JPG quality and still land near 20 KB. A full-size phone photo cannot get that small without turning into blocks.

Why does the form say my file is too small?

Many notices set a minimum as well as a maximum, for example 10 KB for a signature. Small pictures with lots of plain white compress very well and can fall under it. Raise the quality to 100 in the compressor's Quality mode, and if that is not enough, check if your notice allows a larger pixel size.

Can I rename a PNG or HEIC file to .jpg?

No. Renaming changes only the label, and the data inside stays PNG or HEIC, so the form may reject it or show a broken image. Run it through the image compressor, which always saves a real JPG.

Do I need to change the DPI of my photo?

Usually not. DPI only tells you how to turn centimetres into pixels: centimetres divided by 2.54, times the DPI. The DPI number stored inside a file does not change the picture itself. Get the pixel size right and the file size inside the limits.