A form rejects your photo with "file must be under 100 KB". Compressing it over and over until it passes is the slow way and gives the worst-looking result. The order that works is: read what the form actually asks for, resize, pick the format, then let a target-size compressor find the quality.
What happened when I ran it
I ran a real 311 KB JPG photo through the image compressor on this site: dimensions unchanged, output format WebP, target size 100 KB.
| Before | After | |
|---|---|---|
| File size | 311 KB | 100 KB |
| Reduction | 68% | |
| Format | JPG | WebP |
The result was fine for viewing on a screen. Two caveats. The number in the interface is rounded: the tool looks for a file at or under the limit, so the real result sits a little below 100 KB, which is what an upload form wants anyway. And I chose WebP because I was testing size against quality, not uploading to a form that demands JPG. If the form says JPG, the output has to be JPG.
A second run shows how much the format matters on its own. A 64 KB JPG, left at 80% quality with WebP as the output and no target at all, came out at 22 KB: 66% smaller without touching the quality slider.
Read all three requirements first
Forms that reject on size usually specify more than size:
- A maximum file size. Check the unit. KB and MB differ by a factor of about a thousand and forms are inconsistent about which they use.
- Pixel dimensions, sometimes a minimum, sometimes an exact size. Visa and ID photos are often a specific square.
- A format, usually JPG, occasionally PNG.
People fix the size, resubmit, and get rejected again on dimensions. Solve for all three at once. If the form gives dimensions, set those first; the file size often falls into place on its own, because pixel count is the biggest driver of file size.
The steps
- Resize to the dimensions the form asks for. If it gives none, about 1000 pixels on the long edge is plenty for a photo that will be viewed on a screen. Use the image resizer.
- Choose the output format the form accepts. JPG for photos unless told otherwise.
- Open the image compressor, add the resized image, switch on Target size and enter 100 KB.
- Compress, then open the result at full size before uploading. Look at the face, any text, and large smooth areas such as a plain background. Those show damage first.

Compressing first and resizing afterwards throws away quality twice. Resize, then compress.
How the target-size search works
It helps to know what the tool is doing, because it explains the results you get.
For JPG and WebP, the compressor encodes the image at a quality in the middle of the range, checks the file size, and halves the range eight times, keeping the highest quality that still fits under your target. That is why the result lands just under the number instead of far below it.
PNG is lossless, so a quality setting changes nothing. For PNG output the tool searches on scale instead: it shrinks the pixel dimensions step by step until the file fits. If you ask for a 100 KB PNG of a photograph, expect the picture to come back smaller in pixels. That is the honest cost of keeping a photo in PNG.
One limit follows from this. If a large, detailed image cannot reach the target even at the lowest quality, the tool returns its smallest attempt, which can still be over the limit. The fix is not another pass on the compressed file. Go back to the original and reduce the dimensions.
Which format for which image
| Image | Use | Why |
|---|---|---|
| Portrait or any photograph | JPG | Accepted everywhere, compresses photos well |
| Photo for a modern website | WebP | Smaller than JPG at similar quality; check that the destination accepts it |
| Logo or graphic with transparency | PNG | Keeps transparency and sharp edges |
| Screenshot with small text | PNG or WebP | JPG leaves halos around letters |
Three cases come up often enough to spell out:
- A JPG or JPEG photo. They are the same format. This is the easiest case and the one most likely to hit 100 KB with little visible loss.
- A photo straight from a phone. It is large in pixels as well as in bytes, often 4000 pixels wide. Forcing it to 100 KB by quality alone spreads very few bytes over millions of pixels. Resize first.
- A PNG that will not shrink. If it is really a photograph, convert it to JPG or WebP with the format converter and it will drop sharply. If it is a logo, it is probably small already. The reasoning is in PNG vs JPG vs WebP.
When the photo is a document
Many of these uploads are not portraits. They are pictures of an ID card, a certificate, a bill or a signature, and they fail differently: the file passes the size check and is rejected because the text cannot be read, or because the reviewer can see it is a photo of a card lying on a table.
Do not compress a camera photo for those. Scan the document, with edge detection and perspective correction, which produces a flat, cropped, high-contrast page that is both smaller and far easier to read. Two-sided cards usually need both sides on one page; that is covered in scanning an ID card to PDF.
When it will not fit
Some images cannot reach a small target and still look acceptable. Before giving up:
- Reduce the dimensions further. A smaller sharp image beats a large blurry one.
- Crop tighter. Background you do not need is real data. For a portrait, crop to the head and shoulders the form wants anyway.
- Re-read the limit. Some forms say "small file" in the help text and accept far more, or state the cap in MB while you have been aiming at KB.
- Do not chase exactly 100. The requirement is nearly always "100 KB or less". A 96 KB file does not need another pass.
Signs you have gone too far: blocky patches in skies and plain backgrounds, halos around letters, hair and fine patterns turning to mush. If you see them, start again from the original with smaller dimensions. Re-compressing an already compressed file stacks the damage.
If you have the opposite problem, a form that demands a minimum file size, that is a different job: see how to increase an image's size in KB.
Is it safe for an ID photo?
The compressor on this site processes the image in your browser; the file is not uploaded. That matters when the picture is a passport page or an ID card. You can check it yourself in under a minute with the method in are online PDF converters safe, which works for any site, not only this one.
