Compress Image Online
Free tool to shrink JPG, PNG and WebP files by quality or to a target size in KB, in your browser with no upload
Free Online Image Compressor
Upload a JPG, PNG or WebP, pick a quality or a file size to aim for, and download the smaller file. You see the original and compressed sizes side by side, with the saving as a percentage, before you download anything. The image is compressed by your own browser and is never uploaded.
1. Upload your image
Choose a file or drag one anywhere onto the page. Phone photos are turned the right way up automatically, using the orientation the camera stored.2. Choose quality or a target size
Choose quality gives you a slider: lower values make a smaller file with more visible artifacts, and the preview re-encodes as you move it. Target file size takes a number in KB, for upload forms with a limit. It searches for the highest quality that fits, and if the lowest quality is still too big it scales the image down in steps until it does. The result line tells you the quality and dimensions it ended up with, or says plainly that the target could not be reached.3. Pick the output format and an optional size limit
Keep the original format, or switch to JPG or WebP. WebP is usually the smallest at the same visual quality. Max width or height scales the picture down so its longer side is no more than the number you enter, which is often the biggest saving of all for a photo straight off a camera.4. Download
Click Download when the size and the preview both look right.Why did my PNG barely shrink?
PNG is lossless: every pixel is stored exactly, so there is no quality setting to turn down, and re-saving a PNG here can even come out slightly larger than a file that was already well optimised. A PNG gets smaller mainly by reducing its dimensions or by converting it to JPG or WebP. Choose WebP if the image has transparency you need to keep.What if the result is larger than my original?
It happens, mostly with files that were already heavily compressed or when the quality is set higher than the original was saved at. The tool says so in a warning under the sizes rather than quietly handing you a bigger file. Lower the quality, set a max dimension, or keep your original.Good to know
• JPG has no transparency, so transparent areas are filled with white.• The compressed file is re-encoded from the pixels, so camera metadata such as location and EXIF data is not carried over.
• Images above roughly 16 megapixels are scaled down to that size first, because browsers cannot process a larger canvas reliably.
• Animated GIFs are not handled here. Use the GIF optimizer for those.
Related Tools
Explore Resize Image, Crop Image, PNG to JPG, Optimize a GIF for adjacent image workflows.If you enjoy the site, consider joining our Patreon We will also try to do our best to create animation options of your choosing :)