Compress Image: make JPG, PNG and WebP files smaller
Make JPG, PNG and WebP photos smaller; at the default quality of 75, a photo straight from a phone often looks the same on screen. Compress one image or a whole batch at once, right in your browser, with no upload and no limit on the number of files.
Settings apply to images you add next. "Best for each image" saves photos as JPG and images with transparency as WebP, or PNG if your browser cannot make WebP. Animated GIF or WebP files are kept as they are, so they still move; you can choose to compress only the first frame.
Images are compressed on your device using your browser's own image encoder. They are not uploaded anywhere. Compressed copies do not include the photo's hidden metadata, such as camera details or GPS location.
How this image compressor works
Photos from phones and cameras are saved at a very high quality setting, which keeps detail you are unlikely to notice on a screen. The compressor re-saves the image at the quality you choose. At the default of 75, a photo straight from a phone often ends up half its size or less and looks the same on screen. If the compressed version would be larger than your original, the original is kept.
Making the image smaller in pixels saves even more. A 12-megapixel phone photo is about 4000 pixels wide, but a website or an email rarely shows it wider than 1920 pixels. Choosing a longest side of 1920 px usually cuts the file size by another half or more.
Which quality setting should I use?
| Quality | Good for |
|---|---|
| 85 to 95 | Printing, portfolios, photos you will edit again |
| 70 to 80 | Websites, blogs, online shops, email attachments |
| 50 to 65 | Thumbnails and previews where file size matters most |
JPG, PNG or WebP?
JPG keeps photos small and opens in every app and service. It does not support transparency, so transparent areas become white. WebP makes files about 25 to 34 percent smaller than JPG at similar quality, according to Google's own tests, keeps transparency, and is supported by all current major browsers. PNG is lossless, so screenshots, logos and graphics with sharp edges stay crisp; for photos the file is much larger.
Frequently asked questions
Are my photos uploaded to a server?
No. The page uses your browser to open, shrink and save the images. You can even turn off your internet connection after the page loads and the tool still works.
Is there a limit on file size or the number of images?
There is no limit on the number of images. On computers and Android phones, images up to 100 megapixels keep their full size. Safari on iPhone and iPad can only handle images up to about 16.7 megapixels, so larger photos are scaled down to fit there, and the result tells you when that happens.
Why did a PNG become a JPG?
With "Best for each image", a PNG without transparency, such as a photo saved as PNG, is converted to JPG because that is usually several times smaller. To keep it as a PNG, use the image converter and choose PNG.
Does compressing remove EXIF data?
Yes, whenever a new copy is made: it does not carry over camera details, dates or GPS location. If the tool keeps your original because it is already well compressed, the metadata stays in that file, so use Remove EXIF Data for it. Compressed copies are saved in the standard sRGB color space.