All guides

How to Reduce a Photo to 20 KB (or 50 KB) for an Online Form

How to get a photo between 20 KB and 50 KB on a phone or laptop without blurring it, why pixel size matters more than quality, and common mistakes.

By Pix2Doc Team,

Government job portals, exam registrations, scholarship sites and bank forms often ask for a photo "between 20 KB and 50 KB" or "under 100 KB". A photo straight from a phone camera is usually 2 MB to 6 MB, so it gets rejected. Here is how to bring it down to the right size without ending up with a blurry, blocky picture.

Why your photo is so big in the first place

A modern phone camera takes photos of around 12 megapixels or more, for example 4000 × 3000 pixels. That is 12 million dots of colour, and even with heavy compression a file that size rarely gets below a few hundred KB.

Most forms only show your photo in a small box. A passport-style photo on an admit card is printed at roughly the size of a thumbnail, so a few hundred pixels across is plenty.

This is the key idea: file size depends mostly on how many pixels the image has, and only partly on the quality setting. If you keep all 12 million pixels and just push the quality slider down, you get a smeared, blocky picture that may still be too big. If you first shrink the photo to, say, 300 × 400 pixels, it fits in 20 to 50 KB at good quality and looks sharp.

Before you start: get the right photo

Size is only one of the checks a portal runs. A photo that is the right number of KB can still be rejected by the person verifying it. Before you resize:

  • Use a recent photo with a plain, light background and even lighting on your face.
  • Make sure your face is centred and not cut off at the top.
  • Read the form's instructions for anything else they ask for, such as a white background, no cap or glasses, or a specific width and height in pixels or cm.

If you need a standard passport-size photo, our guide on making a 3.5 × 4.5 cm photo for online forms covers face size and background.

Step by step: reduce a photo to 20–50 KB

These steps work the same on an Android phone, an iPhone, a Windows laptop or a Mac, because everything happens inside your browser. The photo is not uploaded anywhere.

  1. Open the Resize Image to KB tool in your browser.
  2. Choose your photo. On a phone, pick it from your gallery or Photos. On a laptop, drag it onto the page.
  3. Crop if needed. If the photo shows too much background, crop it first with Crop Image so your face fills most of the frame, then come back.
  4. Set the target size range in KB, for example 20 to 50 KB, exactly as the form states it.
  5. Set the pixel or cm size if the form gives one. For example, if the form says 200 × 230 pixels, enter that. If it only gives a KB range, you can leave the dimensions to the tool.
  6. Run it. The tool tries different quality levels and picks the highest quality that still fits in your range. The result is a JPG.
  7. Check the result. Look at the final size shown, open the image and zoom in on your face. It should look clear, not blocky.
  8. Download and upload the new file to the form. Keep the original photo; you may need it again for another form.

If the form only asks for one limit, the preset pages are quicker: compress to 20 KB, compress to 50 KB or compress to 100 KB.

Hitting a minimum as well as a maximum

Some forms reject files that are too small as well as too large, for example "minimum 20 KB". A tiny, over-compressed image can fall below that. Setting a range rather than a single maximum avoids this, because the tool aims for the best quality that lands inside both limits.

Common mistakes that get photos rejected

Taking a screenshot of the photo

Screenshotting a photo to "make it smaller" is one of the most common problems. A screenshot captures your whole screen, including status bar, borders and sometimes black bars, at your screen's resolution. It is usually saved as a PNG, which is often bigger than the original. Always work from the original photo file.

Saving as PNG instead of JPG

PNG is designed for screenshots, logos and text. It keeps every pixel exactly, which makes photos large. Most forms ask for JPG or JPEG for photos and signatures. JPG and JPEG are the same format with a different file extension. Our tool always outputs JPG. If your photo is in a different format, such as HEIC from an iPhone or WEBP, see converting iPhone HEIC photos to JPG or use Convert Images.

Compressing again and again

Every time a JPG is re-saved at lower quality, it loses a little more detail. If you compress a file, find it is still too big, then compress the result again, quality drops fast. Go back to the original photo and set the right size in one pass.

Ignoring the pixel dimensions

If the form says "width 200 pixels, height 230 pixels", a file in the right KB range can still be rejected for the wrong shape. Enter the exact dimensions in the tool rather than guessing.

Sending it through WhatsApp to yourself

Forwarding a photo through a chat app to get it onto your laptop changes its size and quality in ways you don't control. Use the original file, a cable, or a cloud drive instead, and then resize it once.

A quick checklist before you press upload

  • File type is JPG (or JPEG), not PNG, HEIC or a screenshot.
  • File size is inside the range the form asks for, including any minimum.
  • Pixel or cm dimensions match the instructions, if given.
  • Your face is clear when zoomed in, with no heavy blocks or smears.
  • The background and framing follow the form's photo rules.

If all five are true, the upload should go through. If the portal still rejects it, read the error message carefully; it usually says whether the problem is size, dimensions or file type.