How to Compress a Photo to 20KB, 50KB or 100KB
You've filled in the whole application form, chosen your best photo, and the website says: "File size must be between 20 KB and 50 KB." The photo on your phone is 3 MB. This guide explains why those limits exist, what really makes an image file big, and how to get under the limit without turning your face into a blur.
Why do forms limit photo size?
Exam registrations, job applications and government portals collect millions of uploads. Small files keep storage costs down, pages loading quickly, and the process working on slow connections. A limit is usually a maximum ("not more than 50 KB") and sometimes also a minimum ("at least 20 KB"), which stops a photo being squeezed so hard that it becomes unusable. Both numbers matter, and the exact rules are different for every form, so always read the instructions for yours.
What actually makes a photo file big?
Four things decide the size of a JPG. Knowing them tells you which one to change.
- Pixel dimensions. A modern phone photo is around 4000 × 3000 pixels — 12 million pixels. A passport-style photo of 600 × 800 pixels has only 480,000, which is 25 times fewer. Most forms show your photo very small, so those extra pixels are wasted. Reducing the dimensions is usually the biggest saving.
- Compression quality. JPG saves space by discarding fine detail. Lower quality means a smaller file but more blur and blocky patches. Going from very high quality down to "balanced" often shrinks a file dramatically with little visible difference; going much lower starts to show.
- File format. Photos belong in JPG. The same photo saved as PNG can be several times larger, because PNG keeps every pixel exactly. PNG is for logos and screenshots, not faces.
- How detailed the picture is. A plain, evenly lit background compresses far better than a busy or grainy one. A bright photo against a plain wall is simply easier to shrink than a dark one taken in a cluttered room.
The fastest way: compress to an exact size
The Quikbench Image Compressor runs in your browser — your photo isn't uploaded — and can aim for a size you choose:
- Open the Image Compressor and add your photo (up to 20 at once on the free version).
- Set the goal to Exact size.
- Choose the maximum size: tap 20 KB, 50 KB or 100 KB, or type your own. You can switch between KB and MB.
- Keep the output format on JPG for photos. If your picture is a PNG or WebP and the form wants JPG, choose JPG here.
- If the form also gives maximum pixel dimensions, tick Also limit dimensions and enter them. Proportions are kept and the image is never enlarged.
- Click Compress, use the before/after compare button to check the quality, then download.
Squeeze a photo under an exact size — free, in your browser.
Open the Image Compressor →There are also ready-made pages for the most common targets: 20 KB, 50 KB and 100 KB.
A note on "KB"
Quikbench counts 1 KB as 1,024 bytes. Some computers and portals count 1,000 bytes per KB, so the same file can show a slightly different size in different places. On a very tight limit, leave a few KB of room rather than aiming exactly at the line.
If the form wants exact dimensions and a size range
Many exam forms specify a width and height as well as a size range. Do it in two steps: first set the pixel size with Resize Image, then compress that result to the size limit. For passport, visa and exam photos there's a shortcut — the Passport Photo Maker has an "Exam forms — 3.5 × 4.5 cm, 20–50 KB" preset that sets the size, the white background and the file size together.
Signatures and scanned documents
- Sign with a dark pen on plain white paper, photograph it straight-on in daylight, and crop tightly so there's no empty paper around it.
- Signatures are mostly white space, so they often compress to a very small file easily. If a portal also sets a minimum size, set your target a little higher.
- If a document must be uploaded as a PDF under a size limit, shrink the pictures first and then build the PDF. Compress PDF explains why the images matter more than anything else.
Fixing common problems
- The portal still says the file is too large. Check that you uploaded the compressed copy, not the original, and look at the file's size in its properties (the "size", not "size on disk").
- "File too small." The portal has a minimum. Raise your target size, and check the result. If it needs 20–50 KB, aim for the top of the range.
- "Invalid format." The form probably wants JPG. iPhone photos are often HEIC — see our guide to HEIC and how to convert it.
- The photo looks blurry. Allow a larger size if the form permits, and always compress from the original photo — compressing an already-compressed copy loses more quality each time.
- The photo is rejected for its background or the face position. That's a separate rule from file size. The Passport Photo Maker handles both.
Tips for a better result before you compress
- Take the photo in even daylight, facing the light, in front of a plain background.
- Keep the original. Do every edit and every compression from that one file.
- Don't use filters or beauty modes — many forms reject edited-looking photos, and heavy smoothing also confuses compression.
Is it private?
The free compressor works entirely in your browser, so your photo isn't sent anywhere — worth knowing when the picture is an ID photo or a signature.