Image Compressor
Say the size limit, get the best-looking file that fits under it. Nothing is uploaded.
Enter a size like 500KB or 1.5MB.
Compressed on this device. Nothing is uploaded or stored.
How to use
- Drop in the photos. Several at once is fine.
- Pick the limit the upload form gave you, or type your own.
- Each photo is re-encoded at the highest quality that stays under the limit. Download one by one or as a ZIP.
Examples
An upload form that rejects your photo
Application forms and government sites often cap attachments at 1MB or 2MB. Set the limit, and the photo comes back just under it instead of being cut to some random quality.
Email attachments
Most mail providers stop around 25MB per message. Ten phone photos blow past that. Set 500KB and the whole batch fits with room to spare.
Why it does not just resize
Making an image smaller in pixels throws away detail permanently. Lowering quality first keeps the full size, and the pixels only shrink when the limit cannot be reached any other way. The result line tells you when that happened.
Careful with photos of documents
Text and thin lines are the first thing compression ruins. If you are sending a scanned document or an ID, use a higher limit and check the result before sending it.
FAQ
Are my photos uploaded?
No. The compression runs in your browser, so the images never leave the device. That also means it keeps working with the network off.
How does it decide the quality?
It encodes the image a few times and narrows in on the highest quality that still lands under your limit. If even the lowest quality is too big, it steps the pixel size down and tries again.
Why is my file smaller than the limit I set?
It never goes over, so it lands just below. Compression is not fine-grained enough to hit an exact number, and a file over the limit would be rejected by whatever you are uploading to.
What if it cannot reach my limit?
It tells you and gives you the smallest version it managed. Very small limits on a large photo are sometimes impossible without destroying the image.
Does it work on PNG and WebP?
You can put them in, and the output is JPG or WebP. PNG is not a compression target here because it is lossless and cannot be tuned to a size. If you need transparency, keep the original.
Is the location data removed?
Yes. The image is re-encoded from scratch, so camera details and GPS coordinates are not carried into the result.
How much quality will I lose?
The result line shows the quality it settled on. Above about 70% the difference is hard to see on a screen. Below 50% you will start to notice it around edges and in flat areas like sky.