Back to Articles

How to Reduce Image Size to 20KB, 50KB or 100KB for Online Forms

You fill in a long online form, reach the photo upload and get the message: "File size must be under 50KB." It happens on job portals, exam registrations, visa and ID applications. The good news is that any photo can be brought under the limit in about a minute, as long as you change the right things in the right order.

Why forms ask for such small files

Government and exam websites receive millions of uploads. Small limits keep their servers fast and their storage costs low. A photo straight from a modern phone is usually 2 to 5 MB, which is 2,000 to 5,000 KB. To get under 50KB, you need to remove more than 95% of the file. That sounds extreme, but a passport-style photo shown at a small size simply doesn't need all that detail.

Before you start, read the form's rules carefully. Most forms list three things: the maximum file size in KB, the allowed format (often JPG or JPEG only), and sometimes the exact width and height in pixels. Write them down, because you will need all three.

The two things that control file size

Every image file gets smaller in two ways, and for tight limits you usually need both:

  • Dimensions: the width and height in pixels. Halving both the width and height leaves only a quarter of the pixels, so the file drops a lot.
  • Quality: how much detail the JPG or WebP format keeps. Lower quality removes fine detail your eye barely notices at small sizes.

Try the free Image Compressor

It runs in your browser, with no sign-up.

Open Image Compressor

Step by step: shrink a photo to the size you need

Open our free Image Compressor and follow these steps. It works in your browser, so your photo or ID never leaves your device.

  • Crop first if you can. Remove empty background so the face or signature fills the frame. Less picture means a smaller file.
  • Drop your image into the compressor.
  • Set a max width. Use the exact width the form asks for. If it doesn't say, try the guide in the next section.
  • Choose JPG as the output format if the form only accepts JPG or JPEG. Choose WebP only if the form clearly allows it.
  • Lower the quality step by step, starting around 70, and check the new size shown for the file.
  • Download the image and check the file size again on your computer or phone before uploading.

What width to use for each size

These are starting points for a normal photo saved as JPG. Every photo is different, so adjust from here:

  • Under 200KB: around 1000 to 1200 pixels wide, quality 75 to 80.
  • Under 100KB: around 600 to 800 pixels wide, quality 70 to 75.
  • Under 50KB: around 400 to 500 pixels wide, quality 60 to 70.
  • Under 20KB: around 200 to 300 pixels wide, quality 50 to 65.
  • Signatures: often 300 x 100 pixels or smaller. A dark signature on plain white paper compresses very well.

Photos and signatures for exam and job forms

Many forms ask for both a photo and a scanned signature, often with limits such as 20KB to 50KB for the photo and 10KB to 20KB for the signature. Some also set a minimum size, so a file that is too small can be rejected too. If the form says "between 20KB and 50KB", aim for around 35KB to stay safely inside.

For signatures, sign with a black pen on clean white paper, take the photo in daylight, and crop tightly around the signature. A clean background matters more than the camera, because noise and shadows add KB without adding anything useful.

How to keep the photo sharp

Resize before you drop the quality. A small image at quality 70 looks far better than a large image squeezed down to quality 20, which turns blocky and smudged around the face.

Start with a good original. A well-lit photo against a plain light wall compresses better and looks cleaner than a dark photo with a busy background. Avoid screenshots of photos, because they add blur and extra edges.

Don't compress the same file again and again. Each round of JPG compression loses a little more detail. Always go back to the original photo and compress it once with new settings.

Common problems and quick fixes

If the upload still fails, one of these is usually the reason:

  • "Invalid format": the form wants JPG, but you saved PNG or WebP. Compress again with JPG as the output format.
  • "Invalid dimensions": the form wants exact pixels, such as 200 x 230. Crop to the right shape first, then set the max width.
  • Still too big: lower the width a little more before lowering quality again.
  • The file got bigger: PNG screenshots can grow when saved as JPG at high quality. Lower the quality or the width.
  • Wrong file uploaded: phones sometimes save copies with similar names. Check the date and size of the file you pick.

Is it safe to compress ID photos online?

Many online compressors upload your photo to their server. For a passport photo, ID card or signature, that is a real privacy risk. Our Image Compressor does all the work inside your own browser, so the file is never uploaded to us or anyone else. You can even disconnect from the internet after the page loads and it still works.

Want to understand compression in more depth, such as JPG vs PNG vs WebP? Read our guide on how to compress images without losing quality.

Try the free Image Compressor

It runs in your browser, with no sign-up.

Open Image Compressor