Image Compressor (JPG, PNG, WebP)
Compress JPG, PNG and WebP images in your browser, or get them under a size such as 100 KB. Compare before and after, and download them all as a ZIP.
JPG and WebP at quality 75. PNG with up to 128 colors.
Runs in your browser. Nothing you enter is uploaded.
How to use
This tool makes JPG, PNG and WebP images smaller, one or many at a time, without uploading them anywhere.
- Add images: drop them on the box, choose them with the button, or paste one with Ctrl+V (Cmd+V on a Mac). Up to 50 images or 500 MB go in at once.
- Choose how much to compress:
- Smallest for the smallest files, when a little softness is fine.
- Balanced for most uses. The difference is hard to spot.
- Best quality when the image has to look just like the original.
- Custom to set the JPG and WebP quality and the number of PNG colors yourself.
- Target size to get each image under a size, such as 100 KB for a form that won't take more. The tool finds the best quality that fits, and makes the picture smaller in pixels only when that isn't enough.
- Check the result. Each image shows its size before and after. The comparison shows the original on the left and the compressed image on the right: drag the slider, or turn on Actual size to look closely.
- Download each image, or all of them with Download all (.zip).
Every file keeps its format. JPGs are saved with MozJPEG, which makes smaller files than most programs at the same quality. PNGs are reduced to fewer colors, then packed as tightly as possible. Dithering keeps gradients in PNGs smooth, but makes the files larger.
If a file doesn't get at least 1% smaller, you get the original back. Animated images are left out, because only their first frame would survive.
Compressed files leave out metadata such as the camera and the place a photo was taken.
Frequently asked questions
How much smaller will my images get?
It depends on the image. Photos saved at high quality often shrink by half or more, and PNG screenshots and graphics often by more. An image that was already compressed well may shrink only a little. If a file doesn't get at least 1% smaller, the tool gives you the original back.
Will my images look worse?
Compression removes detail you are unlikely to notice. At Balanced, most people can't tell without zooming in. JPG and WebP lose some fine detail, and PNGs keep up to 128 colors (256 at Best quality). Check with the comparison and Actual size, and choose Best quality if you see a difference.
What happens to photo metadata, like the location?
Compressed files leave it out: no camera details, date or location. Photos are turned the right way up first, so they still show correctly. A file the tool gives back unchanged keeps its metadata; the EXIF remover can take it out without touching the image.
Related tools
- Image resizer Resize JPG, PNG and WebP images by width, height, longest side or percent, one or many at a time, with sharp Lanczos resizing in your browser.
- Image converter Convert images between PNG, JPG and WebP in your browser, one or many at a time.
- EXIF remover See and remove hidden photo data such as the GPS location, camera and date, without re-saving the image.
More image tools
- Crop and rotate image Crop an image by dragging or with exact pixel sizes, lock a ratio like 1:1 or 16:9, and rotate or flip it.
- SVG to PNG converter Convert SVG to PNG, JPG or WebP at 1x, 2x, 4x or an exact width, with a transparent background.
- Favicon generator Make favicon.ico, the Apple touch icon, Android icons and a web app manifest from one image or SVG, with the HTML tags to paste.
- HEIC to JPG Convert iPhone HEIC photos to JPG or PNG in your browser, one or many at a time.
- Blur and pixelate image Blur or pixelate faces, number plates and text in a photo before you share it, in your browser.
- QR code reader Read QR codes from a screenshot or photo in your browser: links, Wi-Fi, contacts, events, bank payments and 2FA keys, all codes in it.