Guide · Free tool inside · No upload

Compress a photo to 20 KB, 50 KB or 100 KB for online forms

Tap a size, choose your photo, download. The tool is right below, and the guide underneath explains how to keep your face and signature clear. Read this guide in Urdu

Photo to KB compressor

Step 1: tap the size your form asks for. Step 2: choose your photo.

KBLeave empty if your form gives only a maximum.
Choose photo JPG, PNG or WebP · you can pick several
More settings

How to do it in 4 steps

Works the same on Android, iPhone and computer.

1

Read the form's rule

Find the line that says the maximum size, for example "less than 50 KB", and check whether it also gives a minimum size or exact pixels.

2

Tap the size

Tap 20 KB, 50 KB or 100 KB above. If your form allows, say, 30 KB, open More settings and pick the next size down.

3

Choose your photo

Pick it from your gallery. PixNest makes a JPG copy that fits, usually in a second or two.

4

Check and upload

Look at the new size under the picture, zoom in to check your face, then download and upload it to the form.

The complete guide

Why the form keeps rejecting your photo

A photo straight from a phone camera is usually 2 to 6 MB. That is a hundred times bigger than a 50 KB limit, so job, exam, admission and ID portals refuse it. When a form says "photo too large" or "invalid file", one of three things is usually wrong, and it helps to know which one:

  • File size (KB). How heavy the file is. This is what "under 20 KB" or "maximum 50 KB" means. Compressing fixes it.
  • Pixel size. How many dots wide and tall the picture is, for example 350 × 450. Some forms check this too. Resizing fixes it, and it is a different thing from KB.
  • File type. Most forms want JPG (also written JPEG). iPhone photos are often HEIC, and screenshots are often PNG. The tool above saves JPG by default.

A photo can pass one check and fail another. A tiny 200 × 250 picture may still be too heavy if it was saved at top quality, and a light 15 KB file may be refused because its pixels are too small. Fix them in this order: crop, then resize, then compress.

What size should I pick?

Always use the number printed on your own form or advertisement, because every organisation sets its own rule and the rules change from one year to the next. Many photo uploads ask for somewhere between 20 and 100 KB, and signatures are often smaller. If the form says "less than 30 KB", choose 20 KB rather than 50 KB, since the result must stay below the limit. PixNest counts 1 KB as 1,000 bytes, so a file made "under 20 KB" is under the limit whether the website counts in thousands or in 1,024s.

Some forms also give a minimum, such as "between 20 and 50 KB". Tap the higher number and type the lower one in the At least box under the buttons. The tool keeps as much quality as fits under the maximum. If the file would still be too light, it makes the picture a little larger, and as a last step it adds a few hidden bytes to the JPG file that do not change the picture at all. The result line then shows, for example, "16.5 KB ✓ between 10 and 20 KB". For the minimum we count 1 KB as 1,024 bytes, so the file passes whichever way the form counts.

Keeping your face clear at 20 KB

Twenty kilobytes is not much, but it is enough for a sharp passport-style photo if you give the compressor a good start:

  • Crop first. Head and shoulders only. Every bit of wall or room you cut away leaves more of the 20 KB for your face. Use Crop & Rotate with the Passport preset.
  • Go smaller in pixels. A form photo does not need 4,000 pixels. Around 400 to 600 pixels wide looks clean on screen and compresses far better. The tool above already limits width to 600 px; change it in More settings if your form asks for something else.
  • Use a plain, light background. A white or light blue wall needs almost no data, while patterned curtains or busy rooms eat the space and turn blotchy.
  • Good light, no filters. Stand facing a window in daylight. Dark photos show grainy noise, and noise is expensive to store, so they come out blurrier at the same size.
  • Compress once, from the original. Squeezing an already squeezed file again adds blocky marks. Always start from the camera photo.

Compressing a signature

Sign on plain white paper with a dark pen, then take the photo in good light from straight above, so the page is not tilted or shadowed. Crop tightly around the signature, leaving a small white border, and rotate it if it is crooked. A signature is mostly white, so it becomes very small very easily: often under 10 KB. If your form gives a minimum as well as a maximum, for example "10 to 20 KB", tap 20 KB and type 10 in the At least box, so the file does not drop below the minimum. Check that thin strokes are still visible after compressing.

When the form also asks for exact pixels

If the instructions say something like "width 350 px, height 450 px", do the pixels first. Open Resize Image, type the exact width and height, and download. Then bring that file back here and compress it to the KB limit. Before compressing, open More settings and set Max width to Keep original, so the pixel size you chose stays the same. Only if the photo cannot fit the KB limit at all does the tool make it slightly smaller. For a photo in a fixed shape, such as 35 × 45 mm passport size or CNIC size, crop with the presets in Crop & Rotate before resizing. Got an iPhone HEIC photo? Turn it into JPG with HEIC to JPG first.

Your photo never leaves your phone

Many websites upload your picture to their server to shrink it. PixNest does the work inside your own browser, so your face, signature and documents are never sent anywhere or stored. It also means the tool works on slow mobile data, because nothing is uploaded. Once the page has loaded you can even switch your internet off and it will still compress.

Questions

How do I compress a photo to 20 KB on my phone?

Tap the 20 KB button at the top of this page, then Choose photo and pick it from your gallery. Download the new JPG when it appears. It works in Chrome, Safari and Samsung Internet without installing an app.

Will my photo look blurry?

At 50 or 100 KB, a normal form photo looks almost the same as the original. At 20 KB it is softer, but still clear if you crop to head and shoulders and use a plain background first.

The form says "less than 50 KB". Which button do I tap?

Tap 50 KB. The result is always under the number you choose, counted as 1,000 bytes per KB, so it also passes forms that count 1,024 bytes per KB.

My file is already small but the form still rejects it. Why?

Check the other rules: the form may want JPG only, a minimum KB size (use the At least box), or exact pixels. Use Resize Image for pixels and save as JPG. A PNG file renamed to .jpg is still a PNG inside.

Can I compress several photos at once?

Yes. Choose many photos together and each one is made to fit the same size. Use Download all to get them in one ZIP file.

Is it free and safe?

Yes. There is no sign-up and no limit, and your pictures are processed on your own device. Nothing is uploaded or saved by us.

Tools that help with forms