How to use it
- Choose a target: 100 KB, 200 KB, 500 KB, 1 MB, or type your own number under "Custom".
- Choose JPG or WebP. If the form does not say which format it wants, JPG is the safe choice because everything opens it.
- If the form also limits width or height, turn on "Limit the long edge" and enter the pixel count.
- Drop your photos on the box or click to pick them. Several at once is fine, and iPhone HEIC and TIFF files are read too.
- Each result shows the original and new size, the quality used and the final dimensions. Download them one by one, or as a ZIP when there are two or more.
After changing a setting, "Refit with current settings" runs the files you already added again.
How the size is reached
JPG and WebP take a quality number when they are saved, and lower quality means a smaller file. The tool works in three steps:
- Save at quality 92 at the current dimensions. If that is already under the target, stop there.
- Save at quality 40. If even that is too big, the tool does not go lower. It shrinks the width and height and starts again from step 1. The usual step is 0.85×; when the file is several times over, it jumps further in proportion to the overshoot, but never below half in a single step.
- If quality 40 fits and 92 does not, the tool halves the gap between them (a binary search) to find the highest quality that still fits. That takes at most seven more saves.
Quality stops at 40 because blocky artifacts become obvious below that. For the same number of bytes, a slightly smaller but clean photo usually looks better than a full-size one that has fallen apart. Encoding is done with the browser's canvas feature, and the original file is never sent anywhere.
Measured results
To get real numbers, the same search code was connected to the sharp image library and run on one test image. The test image is a synthetic 4000×3000 picture, the size of a typical phone photo, drawn for this purpose: a sky gradient, textured grass, a building with sharp edges, and a layer of sensor-like noise over everything so it does not compress too easily. Saved at quality 92 at full size, it comes to about 4.0 MB as JPG and 3.9 MB as WebP.

| Target | Format | Result | Dimensions | Quality | Saves |
|---|---|---|---|---|---|
| 100 KB | JPG | 99,373 bytes | 1700×1275 | 45 | 12 |
| 200 KB | JPG | 195,024 bytes | 2336×1752 | 51 | 10 |
| 500 KB | JPG | 477,421 bytes | 3400×2550 | 48 | 10 |
| 1 MB | JPG | 982,446 bytes | 4000×3000 | 60 | 8 |
| 100 KB | WebP | 95,246 bytes | 2000×1500 | 64 | 10 |
| 200 KB | WebP | 197,674 bytes | 2385×1789 | 71 | 10 |
| 500 KB | WebP | 466,020 bytes | 3400×2550 | 61 | 10 |
| 1 MB | WebP | 922,236 bytes | 4000×3000 | 54 | 8 |
The 1 MB target was met by lowering quality alone; 500 KB and below needed smaller dimensions as well. At 100 KB and 200 KB, WebP kept larger dimensions than JPG. Keep in mind that JPG and WebP quality numbers are on different scales, so they cannot be compared directly. The quality column is not in neat order either (the 500 KB JPG has lower quality than the 200 KB one). That comes from shrinking in steps: the tool keeps as many pixels as it can and spends what is left on quality, so landing on a larger step can mean a lower quality number.
The next figure crops the same area from each result and enlarges it to the same size. The 100 KB result keeps about 18% of the original pixels, so the grass texture smears and the building edges soften. The fine noise is the first thing to go as the target gets smaller.

These numbers come from this one test image only. Real photos vary a lot depending on what is in them, and browser encoders are not identical to sharp, so the same quality number gives slightly different sizes. Chrome, Firefox and Safari also differ from one another.
Why the result is not exactly the target
The result is always at or under the target, but almost never the exact byte count. Quality moves in whole steps, and each step changes the size by a few kilobytes, so the search stops on the last step that fits. In the table above, results landed between 0.6% and 8% under the target. Content matters too: plain areas such as sky or walls compress well, while foliage, sand and other fine detail stay large at the same quality.
1 KB is counted as 1,000 bytes
Some sites count 1 KB as 1,000 bytes and others as 1,024, and upload instructions rarely say which. This tool uses 1,000. Picking 200 KB means 200,000 bytes or less, which is also under the 1,024-based limit of 204,800 bytes, so the file passes either way. The exact byte count is shown next to every result so it can be checked before submitting.
Why not PNG?
PNG is lossless and has no quality setting. The only ways to make it smaller are fewer pixels or fewer colors, and getting a photo under 200 KB as PNG means shrinking it drastically. The same photo is often several times larger as PNG than as JPG. If a form accepts only PNG, reduce the dimensions first; logos and screenshots with few colors can still come out small. The guide to reducing image size covers the format differences in more detail.
Limits
- Re-saving removes all EXIF data (camera model, date, GPS location). That is good for privacy, but keep the original if the shooting details matter.
- JPG has no transparency, so transparent areas are filled with white. Choose WebP to keep transparency.
- Animated GIF and WebP files are saved as their first frame only.
- A very small target (say, 5 KB for a large photo) may be impossible even after shrinking the long edge to 16 px. The result is then marked "Target not reached" and the smallest attempt is shown.
- Large photos can take a few seconds, since each one is saved several times. All of it happens inside this browser.
This page was last updated on 2026-11-21