How to compress an image to 100 KB (or 50 KB, or 20 KB) without wrecking it
Upload form says the photo must be under 100 KB and yours is 4 MB? Resize first, then compress to a target size. Here's how to hit any limit and still look sharp.

You've filled in every field. Name, date of birth, address, the twelve-digit number you had to dig out of an old email. Then you get to the last step, "Upload photograph", pick the picture you took against a white wall, and the form throws it back at you:
File size must be less than 100 KB.
Your photo is 3.8 MB. That's roughly forty times too big.
Job portals, college admissions, exam registrations, visa forms and most government websites have limits like this. Some want under 200 KB, some want under 50 KB, and signature scans often have to fit in 20 KB. The forms rarely tell you how to get there, so most people end up on a random website dragging a quality slider down until the photo looks like it was taken through a frosted window.
You don't need to do that. There's a better order of operations, and once you know it, hitting any size limit takes about a minute.
Why your photo is so big in the first place
A modern phone shoots 12 megapixels or more. That's an image around 4000 × 3000 pixels. The form that's asking for it will probably show it at 200 pixels wide, next to your name, on a screen an officer glances at for two seconds.
So you're carrying about 12 million pixels when the form needs maybe 50,000.
There are only two ways to make an image file smaller:
- Fewer pixels (resize it)
- Fewer bytes per pixel (compress it harder, which means lower quality)
Almost every "compress to 100 KB" tool only pulls the second lever. It keeps all 12 million pixels and squeezes each one until the file fits. That's why the result looks blotchy, with smeared skin and blocky edges around your hair.
If you pull the first lever first, the second one barely has to move.
The rule: resize first, then compress
Here are rough starting points I use. They're not exact, because a busy photo with lots of texture needs more bytes than a plain one against a white wall, but they get you close on the first try:
| Size limit | Resize the long edge to | Typical JPEG quality needed |
|---|---|---|
| 200 KB | about 1600 px | 80–85 |
| 100 KB | about 1200 px | 75–80 |
| 50 KB | about 800 px | 70–80 |
| 20 KB | about 400–500 px | 65–75 |
Notice the quality column barely changes. All the heavy lifting is done by resizing. A 1200-pixel photo at quality 78 still looks clean on any screen, while a 4000-pixel photo crushed down to 100 KB looks bad no matter what you do.
Read the form's fine print first
Before you touch the image, check what the form actually wants. Look for these three things in the instructions, usually in small text near the upload button:
- Format. Most official forms only accept JPG/JPEG. Some also take PNG. Very few accept WebP or HEIC, even though those are smaller. If it says JPG, give it JPG.
- Dimensions. Exam portals often specify exact pixel sizes, like 200 × 230 px for a photo or 140 × 60 px for a signature. If they give you numbers, use those instead of my table.
- A minimum size. This catches people out. A lot of forms say "between 20 KB and 50 KB", and a file that's too small gets rejected just like one that's too big. Don't overshoot.
How to do it with TinyRes
This is exactly the job we built the target-size feature for. Instead of guessing a quality number, re-exporting and checking the file size over and over, you type the limit and the engine works out the quality for you.
- Open TinyRes and drop your photo in. Phone photos are fine, including iPhone HEIC files.
- In the Resize tab, set the Width using the table above (or the exact size the form asks for). Leave height on auto so nothing gets stretched.
- In the Output tab, set Format to JPEG. (There's an "Under 100 KB" preset too, but it outputs WebP, which is great for websites and usually rejected by forms. Switch it to JPEG for uploads.)
- Set Target size to your limit, say 95 KB. I always leave a few kilobytes of headroom, because some forms count 1 KB as 1000 bytes and some count it as 1024.
- Hit apply, check the preview, and download.
Quality steps down automatically until the file fits, so you never get a file that's 103 KB and rejected for the third time.
Two things happen in the background that are worth knowing:
- EXIF data is stripped by default. Phone photos carry the camera model, the time and often the exact GPS location where they were taken. A university admissions office doesn't need to know where you live. Removing it also saves a few kilobytes.
- Nothing is stored. Your photo is processed in memory and streamed straight back to your browser. That matters more than usual here, because ID photos, signatures and scanned documents are exactly the kind of files you don't want sitting on some stranger's server.
It's free for 20 images a day, with no account and no watermark.
Signatures and scanned documents
Signatures usually have the tightest limits, often 10 to 20 KB. A few tips that make them easy:
- Crop tight. Cut away the empty paper around the signature. Every bit of blank page still costs bytes.
- Use plain white paper and a dark pen. Blue ballpoint on lined notebook paper picks up the lines and the paper texture, and both eat into your budget.
- Go grayscale. A signature doesn't need colour. In TinyRes you can turn on grayscale in the Adjust tab. A small black-and-white signature fits in 20 KB without trying.
For a scanned document like a mark sheet or certificate, the same rule applies. Resize so the text is still easy to read (around 1200–1600 px on the long edge for an A4 page), then set the target size.
If it still looks bad
Sometimes you hit the limit and the result is still blotchy. Usually it's one of these:
- You started from a compressed copy. If the photo came through WhatsApp or was screenshotted, it has already lost detail. Every round of JPEG compression makes it worse. Go back to the original from your camera roll.
- The photo is noisy. Pictures taken indoors at night have grain, and grain is very expensive to compress. Take the photo again by a window in daylight. Seriously, it makes a bigger difference than any setting.
- The budget is just too small for the size. Drop the width another step. A 600-pixel photo at good quality looks far better than a 1200-pixel one at terrible quality.
That's really all there is to it. Pixels first, quality second, and let the tool do the guessing.
zero bytes stored
Shrink your images right now
Convert to AVIF, WebP or MozJPEG, crop around faces, strip EXIF and hit exact KB targets in your browser.