
Image Compressor
This free image compressor shrinks JPG, PNG and WebP files in your browser, in batches, with nothing uploaded. Type an exact target such as 100 KB and it finds the highest quality that fits, shrinking the image only when it must, or drag the quality slider and compare the new file size.
How do you compress an image to 100 KB, or any exact size?
Switch to Target size, type the number of kilobytes, and press Compress. The tool tries a quality, checks the result against your target, and keeps halving the gap, up to ten rounds, until it finds the highest quality that still fits. If even the lowest quality is too big, it shrinks the image by 10% at a time and searches again. Each result says which quality it used and, if it had to shrink the image, the new size in pixels.
That quality number is worth a look. Very low settings make a photo blocky, and below roughly 50% a smaller image at good quality usually looks better than a full-size one squeezed hard. If your target needs that, resize the photo first with the image resizer, then compress it.
How much smaller does each setting make a photo?
We ran the same 2000 × 1333 photo, the Try a sample photo image, through the tool in all three formats:
| Setting | JPG (1.11 MB) | WebP (1,016 KB) | PNG (4.22 MB) |
|---|---|---|---|
| Quality 80% | 452 KB (−60%) | 462 KB (−55%) | unchanged |
| Quality 50% | 154 KB (−86%) | 182 KB (−82%) | unchanged |
| Target 100 KB | 98.4 KB, quality 36%, full size | 93.3 KB, quality 37%, full size | 85.9 KB, shrunk to 270 × 180 px |
Three things stand out. Quality 80% already cuts a photo by more than half, with no visible change at normal size. The same quality number does not mean the same file size across formats, so compare results, not settings. And a photo saved as PNG cannot get small without becoming tiny, because PNG has no quality setting to lower.
Why doesn't my PNG get smaller?
Because PNG is lossless: browsers store every pixel exactly and ignore the quality slider, so re-saving a PNG at "80%" gives you the same file. That is the right format for screenshots, logos and graphics with flat colours and text, where PNG files are naturally small. It is the wrong format for photos.
For a PNG, use Target size: the only way to shrink it here is to reduce its dimensions. If the PNG is a photo, export it as JPG or WebP from your photo editor first, then compress that. This tool keeps the format you give it and does not convert between them.
When re-saving would make a file bigger, which happens with PNGs that were already optimized by tools like TinyPNG, you get your original back unchanged and a note saying so, never a larger file labelled as a saving.
What size should an image be for a website or an email?
For a website, the common guidance for a full-width image is about 1920 pixels wide and a few hundred kilobytes, often under 300 to 500 KB, and much less for thumbnails. Width matters as much as kilobytes: a 4000-pixel photo shown in a 800-pixel column wastes most of its size.
For email, Gmail and Outlook.com cap attachments at about 20 to 25 MB, and attachments grow by roughly a third when they are sent, so a batch of phone photos runs out fast. Compressing each photo to 300 to 500 KB keeps them sharp on screen and lets dozens fit in one email. Drop them all at once, then press Download all for a single zip.
Does compressing remove the location from a photo?
Yes, as a side effect. Re-saving the image in the browser keeps only the pixels, so the camera details and the GPS location stored in the photo are left out of the compressed file. The exception is a file that comes back unchanged because it could not get smaller: it keeps whatever it had. To strip the location without changing quality at all, use Remove EXIF.
All of this happens on your device. Your photos are read, re-saved and zipped in the browser, and none of them is uploaded, so there is no upload size limit either, only your device's memory. HEIC photos from an iPhone need converting first with the HEIC to JPG converter.
Frequently asked questions
How do I compress an image to an exact file size?
Switch to Target size, type the kilobytes you need, for example 100, and press Compress. The tool searches up to ten quality levels for the highest one that still fits. If quality alone cannot get there, it shrinks the image in 10% steps and searches again, and the result shows the quality and size it used.
How do I get a photo under 100 KB?
Use Target size with 100. In our test a 1.11 MB, 2000 by 1333 pixel JPG came out at 98.4 KB, still full size, at quality 36%. If that quality looks too rough, resize the photo to around 1200 pixels wide first and compress it again: the result will look sharper at the same size.
Will compressing my image make it blurry?
At quality 75 to 85 percent most photos look the same as the original at normal size; in our test 80 percent already cut the file by more than half. Much lower, toward 20 percent, blocks appear around edges and text. In target mode the result shows the quality it used, so you know what you got.
Why doesn't the quality slider change my PNG's file size?
Browsers only apply a quality setting to JPG and WebP. PNG is lossless in every browser, so the slider has nothing to act on and you get the same file back. To shrink a PNG here, use Target size, which reduces its dimensions. If the PNG is a photo, saving it as JPG or WebP first works far better.
Is WebP smaller than JPG?
Not always at the same quality number. In our test the same photo at quality 80 was 452 KB as JPG and 462 KB as WebP, and both reached 100 KB at quality 36 to 37. Quality numbers are not comparable across formats, so compare the actual results. This tool keeps the format you give it.
Can I compress multiple images at once?
Yes. Drop as many JPG, PNG or WebP files as you want, set the quality or target size once, and every file is compressed with the same setting. When more than one file is done, Download all packages every result into a single zip built in your browser, so you get one download instead of many.
Does compressing a photo remove its location data?
Yes, as a side effect. Re-saving the image in the browser keeps only the pixels, so camera details and GPS location are left out of the compressed file. A file that comes back unchanged, because it could not get smaller, keeps its data. To remove the location without recompressing, use the Remove EXIF tool.
What image formats does this support?
JPG, PNG and WebP, both in and out. The compressed file keeps the format you uploaded, so it does not turn a PNG into a WebP. HEIC photos from an iPhone are not supported directly, because browsers cannot decode them without extra code; convert them first with the HEIC to JPG converter on this site.
What if compressing actually makes my file bigger?
It won't reach you. Browsers re-save PNG without the palette tricks tools like TinyPNG use, so re-compressing an already optimized PNG can grow it. This tool compares every result with the original: if the result isn't smaller, you get your original file back unchanged, with a note, instead of a bigger file labelled as a saving.
Does this upload my photos anywhere?
No. Every compression happens on your device with the image tools built into your browser. Files are read, re-saved and zipped locally, and stay in the page memory until you download them. Nothing is sent to a server, which is also why there is no upload size limit, only your device memory.
Related tools
Rate Image Compressor & help shape it
This tool is free and still growing. Tell us what works, what you would change, and what is missing. Your feedback is what decides what we build next.
Built and tested by the ÆON Toolhub team. Last updated: October 18, 2026. How we test our tools
