The problem is that there are two rules, not one
Almost every government photo upload enforces an exact pixel size and a byte limit at the same time. Singapore wants 400 x 514. Kenya's eTA refuses anything over about 293 KB. Australia demands at least 70 KB. Pakistan allows 5 MB for the photo but only 1 MB for your documents.
Free tools do one or the other. Resizers hit the dimensions and leave you a 4 MB file. "Compress to 100 KB" tools hit the bytes and hand back the wrong dimensions. You end up bouncing between two websites, uploading a photograph of your own face to both, and still getting rejected.
Doing both at once is the entire point of this tool, because the portal checks both and refuses on either.
How to resize an image to a specific KB size
- Add the photo. It is read on your device โ nothing is uploaded.
- Type the KB target, for example 200 KB. Add the pixel dimensions too if the form demands them.
- The image is encoded and weighed repeatedly until it lands inside your target.
- Download. The size shown is the size of the file you receive.
If the form gives a range โ say 20 KB to 50 KB โ put in the upper figure. A minimum is treated as a real target too, which most tools ignore entirely.
KB and pixels are two different requirements
Worth being precise, because mixing them up is why uploads fail twice in a row.
- Pixels are how big the picture is โ 600 ร 800, say. This is what photo-validation software measures.
- KB is how much disk the file takes. A 600 ร 800 photo can be 40 KB or 4 MB depending on how hard it was compressed.
They are unrelated. Hitting 600 ร 800 tells you nothing about the kilobytes, and squeezing a file to 50 KB tells you nothing about its dimensions. Most portals enforce both and reject on either, which is the whole reason this tool does the two together instead of making you visit two websites.
Measured, not estimated
JPEG quality has no reliable relationship to file size. It depends on what is actually in the image โ a busy background and a plain one, at identical quality settings, can differ by several times.
So nothing here is predicted. The image is encoded repeatedly at your exact pixel size, and each result is weighed, narrowing in until it lands inside your target. The number you see is the number that downloads.
It will not stretch your face
If your photo is 4:3 and the portal wants 400 x 514, something has to give.
Stretching would satisfy the pixel check and fail the one that matters. A distorted face is a rejected passport photo, and the rejection will not explain itself.
So the image is centre-cropped to the correct proportions first, then scaled. You are told when that has happened, because cropping moves the framing and you should look at the result before submitting โ head position and headroom are exactly what photo-validation software measures.
Minimums exist, and most advice ignores them
Search for help with a visa photo and you will be told to compress it as hard as possible.
On Australia's ImmiAccount that advice fails outright. Home Affairs sets a 70 KB minimum, and a photo squeezed down to 40 KB is rejected for being too small. The same trap appears on exam portals that specify a range rather than a ceiling.
This tool treats a minimum as a real target: it raises quality to reach one, and when the source image genuinely does not carry enough detail, it says so instead of quietly handing back something that will fail.
If you need an exact number, this is the wrong tool
Worth saying plainly rather than wasting your time.
If a form demands "under 100 KB" or "between 20 KB and 50 KB", a quality slider is the slow way to get there โ you drag, check, drag again, and still land near the number rather than on it.
[Resize an image to an exact size in KB](/resize-image-to-exact-size) does that directly: type the number, and the image is encoded and weighed repeatedly until the real file lands inside your target. It hits pixel dimensions at the same time, which is what government and exam portals check alongside the byte limit.
Use this page when the question is "how small can this get before it looks bad?" โ and that one when the question is "it must be under 100 KB."
What this does not do
- It cannot tell you whether the photo meets the composition rules. Head height, expression, background colour, glasses, headwear โ those are judged by the portal, and no resizer can check them.
- It cannot rescue a low-resolution original. Enlarging a small photo to meet a pixel requirement produces a soft image that a validator may reject. Start from the largest version you have.
- It will not invent detail to reach a minimum. If the image is too simple to reach the floor, you need a better source, and the tool will tell you so.