Compress an Image to 50KB

Exam registrations, job portals and government forms often want a photo under 50KB, frequently with a minimum like 20KB and a fixed pixel size as well. Getting under 50KB is the easy part. This guide covers the part that trips people up: hitting a size window with a small photo, where the file often comes out too small.

The quick way

  1. If the photo must be a certain shape, crop it first with the image cropper (the Passport 35×45 preset matches the usual 3.5 × 4.5 cm photo).
  2. Open the image compressor and add the photo.
  3. If the form gives a pixel size, type the width.
  4. Choose Target Size, JPG, type 48 and press Compress Image.
  5. Check the result against the form's minimum. If it's too small, see the section on the minimum-size trap below.

We use 48 rather than 50 because some forms count a kilobyte as 1000 bytes and our tool counts 1024; a couple of KB of margin keeps you under either way. Everything happens in your browser, so the photo is never uploaded.

A portrait before and after compressing to 50 KB

What 50KB limits usually look like

A 50 KB limit rarely comes alone. Typical requirements on exam and recruitment portals, scholarship applications and government services read something like: "Recent colour photograph, 3.5 cm × 4.5 cm, JPG, between 20 KB and 50 KB, white background." Indian government exam portals such as SSC, for example, have long asked for a JPEG photo between 20 and 50 KB and a signature between 10 and 20 KB. Some forms give the size in pixels instead of centimetres, or both.

That gives you three things to hit at once: the shape, the pixel size and a file size window. The order matters, and the compressor can do the last two in one go.

From centimetres to pixels

When a form gives a physical size, you need to turn it into pixels. The formula is: centimetres ÷ 2.54 × dots per inch.

  • At 300 dpi, the usual print standard, 3.5 × 4.5 cm is 413 × 531 pixels.
  • At 200 dpi it's about 276 × 354 pixels. That explains why some exam portals ask for photos of around 275 × 354: it's the same passport-size photo at a lower resolution.

If the form only gives centimetres, use 413 × 531. It's a safe, common choice, and the face stays sharp on screen. If it gives pixels, use exactly what it says; some systems check the dimensions automatically.

Crop to the right shape before you resize. Typing a width into the compressor keeps the photo's shape, so a photo that wasn't cropped to 3.5 × 4.5 first will end up with the wrong height.

The minimum-size trap

Here's what we found when we tested a passport-style crop of a portrait at the sizes forms ask for. Target Size never raises the quality above 92 percent, because above that the file grows fast with almost no visible gain. For a small photo, 92 percent can produce a file that's too small for the form:

  • At 600 × 771 pixels, 92 percent quality gave 30.8 KB. Inside a 20 to 50 KB window, fine.
  • At 413 × 531 pixels, it gave 17.5 KB. Under a 20 KB minimum: rejected.
  • At 275 × 354 pixels, it gave 9.7 KB. Far under.

The photo isn't bad. It's just small and clean, and JPG stores it efficiently. To land inside the window, you need a higher quality than Target Size will choose. Switch to Quality % mode and raise the slider; the estimate underneath is the real encoded size. Our measurements for the same photo:

  • 413 × 531: 94% gave 22.3 KB, 95% 25.7 KB, 96% 29.7 KB, 97% 34.9 KB, 98% 39.7 KB, and 100% jumped to 106.7 KB.
  • 275 × 354: 96% gave 15.6 KB, 97% 18.2 KB, 98% 20.5 KB, and 100% jumped to 54.4 KB.

So for a 413 × 531 photo, anything from 94 to 98 percent lands in a 20 to 50 KB window, and for a 275 × 354 photo you need 98 percent. Notice the jump at 100 percent: maximum quality makes a JPG several times bigger, which is why it's rarely the right setting.

Your photo will give different numbers, because a busy background or a patterned shirt takes more bytes than a plain one. The method is the same: set the width, move the quality slider until the estimate sits comfortably inside the range, ideally in the middle, and download.

Without a pixel size

If the form only gives a file size, let Target Size choose the pixels. Our passport-style test photo, 2847 × 3660 pixels to start with, came out at 1479 × 1901 pixels and 49.6 KB with a 50 KB target. That's more than enough for any form, and much sharper than a small photo at the same file size.

A word of caution: some systems resize large uploads themselves and do it badly, and some reject images above a certain pixel size even if the file is small. If the form shows your photo back to you after uploading, check that it looks right.

Getting the photo itself right

The compressor changes the file size. It can't fix the photo. Rejected applications are more often about the picture than the file, so before you compress:

  • Background: plain and light, usually white or off-white, without shadows. Standing about half a metre in front of a light wall avoids your own shadow on it.
  • Light: even light on the face, facing a window works well. Avoid overhead light that puts the eyes in shadow.
  • Framing: face straight to the camera, head and top of the shoulders in frame, with a small margin above the head. Our passport photo size guide lists how much of the frame the head should fill.
  • Freshness: many forms want a recent photo, often from the last three to six months.
  • No filters: beauty filters and portrait mode blur can get a photo rejected. Use the normal camera.

Be careful with editing beyond cropping and compressing. Some authorities reject photos with replaced backgrounds or retouched faces, and a few portals now capture the photo live during the application instead of taking an upload. Read the instructions for your specific form.

Signatures and documents at 50KB

Many of the same forms ask for a signature too, usually with a smaller limit around 10 to 20 KB. That's a different problem, where the paper background matters more than anything else: our 20KB guide covers it with measurements.

For documents such as certificates and mark sheets, 50 KB is tight. In our 100 KB test, a full A4 page of text had to shrink to about 777 pixels wide to fit; at 50 KB it would be smaller still, and small print becomes hard to read. If the form allows a larger file or a PDF for documents, use it. If it doesn't, crop to the part that matters and check that every line is readable before you upload.

A worked example

Say a form asks for "photograph, 3.5 × 4.5 cm, JPG, 20 to 50 KB". Starting from a phone photo taken against a white wall:

  1. Open the photo in the image cropper, choose Passport 35×45, frame the head and shoulders, and download the crop as JPG.
  2. Open the crop in the compressor, type 413 as the width.
  3. Stay in Quality % mode, choose JPG and move the slider until the estimate is around 30 to 35 KB. For our test photo that was 96 to 97 percent.
  4. Press Compress Image, check the face is sharp, and download.

The result is 413 × 531 pixels, exactly the right shape, comfortably inside the size window, and as sharp as that pixel size allows.

On a phone

All of this works in a phone browser too. Crop, then compress, then download; the file lands in your Downloads folder (Files app on iPhone, Files or My Files on Android), ready to attach to the form. If the form's own upload page is on the same phone, keep the browser tab with the form open while you prepare the photo in another tab, so you don't lose what you've already typed.

Frequently asked questions

How do I get a photo under 50KB?

Open the image compressor, choose Target Size, select JPG, type 48 and press Compress. If the form also gives a pixel size, type that width first.

My photo is under the minimum size. How do I make it bigger?

Switch to Quality % mode and raise the quality. In our tests a 413 x 531 photo was 17.5 KB at 92% but 22 to 40 KB at 94 to 98%. If that's still not enough, set a larger width, if the form allows it.

What pixel size is a 3.5 x 4.5 cm photo?

413 x 531 pixels at 300 dpi, or about 276 x 354 pixels at 200 dpi. Use whatever the form states; if it only gives centimetres, 413 x 531 is the safe choice.

Why type 48 instead of 50?

Some forms count 1 KB as 1000 bytes while the compressor counts 1024. A slightly lower target keeps the file under the limit either way.

Is the photo uploaded anywhere?

No. The compression runs in your browser, so your ID photo never leaves your device.

Can I use a selfie?

Usually not. Most forms want a passport-style photo: plain light background, face straight on, even light. Check the form's photo rules; the compressor only changes the file size.

Related guides