Image Compressor
Shrink an image's file size, or hit a target size in KB, without uploading it.
Image
5 to 20,480 KB.
Result
Choose an image to begin.
About this tool
Make a photo small enough for an email, a website or an application form that only accepts files under a set size, such as 100 KB. Choose a quality, or give a target size and the compressor finds the best quality that fits, shrinking the dimensions only if it has to. Everything happens on your device.
- Choose or drop a JPEG, PNG or WebP image up to 20 MB.
- Choose a target size in KB, or set the quality yourself.
- Press Compress image, check the preview and download it.
Formula
Target mode tries qualities between 10% and 95% by halving the range seven times, keeping the highest quality at or under the target. If 10% quality is still too big, the image is scaled down by 15% at a time and searched again.
Worked example
A 2.4 MB phone photo with a 200 KB target is typically saved at around 60–75% quality at full size, which is hard to tell apart from the original on screen.
Assumptions and limits
- Up to 20 MB and 40 megapixels, to stay reliable on phones with limited memory.
- Output is JPEG or WebP. Transparent areas become white in JPEG.
- Metadata such as camera details and location is removed.
Questions
Is my image uploaded?
No. It is compressed in your browser and never leaves your device.
Why did the size of my photo change?
If the target could not be met at the lowest quality, the image was made smaller so it fits. The new size is shown.
JPEG or WebP?
WebP is usually smaller at the same quality. Use JPEG if the site or form only accepts JPEG.