A job portal asks for a photo of 500 kB or less, and the picture straight from a phone is several megabytes. Lowering the quality setting makes it blurry and blocky, and the portal still rejects it. Often the quality setting is not what keeps the file over the limit.
This guide starts from what you see on screen. Each section below begins with a symptom, explains the cause, and says what to change.
First, read the result panel
When you load a photo into the Image Compressor, the result panel shows five readouts. Between them they usually explain why a file will not shrink:
| Readout | What it tells you |
|---|---|
| Original | Size of the file you loaded |
| Compressed | Size of the file you would download |
| Saving | How much smaller the result is, in percent (negative if it grew) |
| Used quality | The quality the encoder actually used |
| Dimensions | Width × height of the result, always the same as the original |
The last row matters most. The tool saves the image again at its original size and never resizes it.
Symptom: Used quality shows 5% and the file is still too big
In Target size mode, the tool looks for the highest quality whose result fits your limit. The lowest quality it will try is 5%. If the file is still too big at 5%, the tool returns that result anyway and shows no error.
If Used quality reads 5% and the result is still above your limit, compressing again will not help. If the site accepts WebP, try that format first, because at the same dimensions it may get under the limit where JPEG cannot. Otherwise you need fewer pixels: resize the image, or use Image Crop to cut away parts you don't need, then compress again.
When the target can be reached, the result usually lands a little under it rather than exactly on it. The search takes a limited number of steps, and file size does not always rise smoothly as quality goes up, so the tool keeps the best result that stays within the limit.
The number in Target size (kB) takes effect only when you confirm it, by pressing Enter or moving out of the field. Do that before you read the results.
Why pixel count outweighs the quality slider
The file has to store every pixel, whatever quality you choose. Upload forms often show images far smaller than a phone camera records them, for example as an avatar, a thumbnail or a small document preview. If your image has many more pixels than that, resize it first in the Batch Image Resizer, then compress the smaller version.
The arithmetic is simple: halving both the width and the height leaves one quarter of the pixels. How many bytes that saves depends on the picture, but the encoder has much less to store, and you can often keep a higher quality. For more on resizing and cropping without uploading anything, see editing images locally in the browser.
When the site needs the exact original dimensions
Then you cannot remove pixels, and quality and format are the only things left to change. Use a lossy format rather than PNG and lower the quality step by step. If the file is still too large at the lowest quality in every format the site accepts, it cannot meet that limit at those dimensions.
Symptom: Saving is negative
If Saving shows a negative number, the result is bigger than the file you loaded. There are two usual causes.
The first is an earlier export. Each time an already compressed JPEG or lossy WebP is saved again, it goes through quantisation again. Artifacts build up, and the file may not shrink at all. It can even grow. If the file you loaded was an earlier export, start again from the original photo.
The second is an original that is already well optimised, or a switch to PNG. In that case, lower the quality or choose JPEG or WebP instead of PNG.
The Before / after split always compares the result with the file you loaded. Load the original, so you judge the result against the real starting point and not against an earlier export.
Symptom: the tool says it fits, the site says it doesn't
The tool counts 1 kB as 1024 bytes, so a 100 kB target means 102,400 bytes. Some sites count 1 kB as 1000 bytes. On such a site, a file the tool reports as 99.5 kB is about 101,900 bytes, which fails a strict 100,000-byte check.
You usually can't tell which rule a site uses, so set the target a few percent below the stated limit. For a 100 kB limit, a target of 95 gives at most 97,280 bytes, which passes under either rule.
Symptom: blocky edges, or a logo on a white box
The kind of picture changes what compression does to it. Photographs suit lossy formats such as JPEG and WebP. In JPEG, detail is discarded in a step called quantisation, which works on blocks of 8×8 pixels (ITU-T T.81). That step causes the blockiness and the halos around sharp edges you see at low settings. Lossy WebP predicts each block from blocks it has already processed, the same way the VP8 video codec does (Google). It still discards information.
Screenshots, scans and anything with text show these artifacts first, because they appear along sharp edges. Before you send a file like that, set Artifact zoom to a higher level and check the edges of the letters.
PNG is lossless. The format is designed to keep every pixel exactly (W3C PNG specification), so there is no quality to lower. When PNG is the output, the tool ignores the quality slider, shows 100% as the used quality and switches off the size-target mode. Turning a JPEG photo into a PNG often makes the file larger, not smaller.
Transparency is a separate case. Before encoding, the tool places the image on a white background, and it does this for every output format, PNG included. A logo with a transparent background therefore comes back on a white box. If you need to keep the transparency, use a different tool.
Why your numbers differ from someone else's
The tool passes the quality value to the browser's built-in image encoder. The HTML Standard leaves the encoding itself to the browser, and the quality value applies only to lossy formats such as JPEG and WebP (MDN). So 80% in one browser does not produce the same file as 80% in another, and JPEG at 80% is not the same as WebP at 80%.
The format list depends on the browser too: AVIF appears in Output format only if your browser can encode it.
In practice, rely on the Compressed size on screen, not on a setting you remember from another device. Before you switch to WebP or AVIF, check that the site accepts that format. If the form doesn't say, JPEG is the safest choice. To change an image's format without compressing it, use the Image Converter.
Quick reference
| What you see | Likely cause | What to change |
|---|---|---|
| Used quality 5%, file still too big | Too many pixels for the limit | Try WebP if accepted, otherwise resize or crop |
| Saving below zero | Earlier export, optimised original, or PNG output | Start from the original, lower quality, use JPEG or WebP |
| Fits in the tool, rejected by the site | Site counts 1 kB as 1000 bytes | Target a few percent under the limit |
| Blocky text and edges | Lossy compression on sharp detail | Raise quality or reduce pixels instead |
| White box behind a logo | Transparency is flattened onto white | Use a different tool |
Privacy
All processing happens in your browser, and the tool's code makes no network requests. The page states that the image never leaves the browser. The result is a newly encoded file. If you need to be sure what it contains, such as location data, inspect the downloaded file yourself.