Image Compressor
Compress JPG, PNG, WebP and AVIF images in your browser, in bulk, with a quality slider or a target size. Nothing is uploaded.
Runs in your browser. Nothing is uploaded.
Add images to start. Results appear here as soon as they're ready.
How to use the Image Compressor
- Drop one or more images on the page, or browse for them. JPG, PNG, WebP and AVIF all work.
- Adjust the Quality slider, or enter a Target size in KB to let the tool find the right quality.
- Keep the original format or choose another one. PNGs are reduced to 256 colours by default.
- Check the before-and-after comparison, then download each image or all of them as a ZIP.
Smaller images, same picture
Photos from modern phones and cameras are often 3–10 MB each, far more than needed for email, websites, chat apps or online forms. Compressing them reduces the file size, usually dramatically, while keeping them looking the same on screen. This compressor works on whole batches at once and shows you exactly how much each file shrank.
How compression works here
For JPG, WebP and AVIF, the image is re-encoded at the quality you choose. These formats discard detail the eye is least likely to notice; at quality 70–85 the difference is very hard to see, while the file can be several times smaller. Drag the comparison slider to check fine details such as hair, text and sky gradients.
For PNG, which is lossless, the biggest savings come from reducing the number of colours. Most screenshots, icons and graphics look identical with 256 well-chosen colours, and transparency is kept. The tool compares the result with a standard lossless PNG and keeps whichever is smaller.
Hitting an upload limit
Many forms limit uploads to sizes like 200 KB, 500 KB or 1 MB. Enter the limit as a target size and the tool tests different qualities to find the best one that fits. If even the lowest quality is too big, resize the image as well: halving the width and height cuts the pixel count by three quarters.
Choosing a format
Keeping the same format is simplest. WebP typically gives files 25–35% smaller than JPG at similar quality and is supported by all modern browsers. AVIF can be smaller still, but encoding is slower and some browsers, such as Safari, can’t create it. Choose JPG when you need something that opens everywhere.
Private by design
Your images are processed on your device in a background thread, so the page stays responsive even with large batches. Nothing is uploaded, and the downloads are created directly in your browser.
Frequently asked questions
Are my images uploaded?
No. Compression runs in your browser using its own image engine, in a background thread. You can disconnect from the internet after the page loads and it still works.
How much smaller will my images get?
It depends on the image. Photos straight from a phone or camera often shrink by 60–90% with no visible difference at quality 70–80. Images that were already compressed shrink less.
What does the target size do?
It searches for the highest quality that keeps each file under the size you enter, which is handy for upload limits. It works for JPG, WebP and AVIF.
Why was my original kept?
If compressing would make a file bigger, which can happen with images that are already well optimised, the tool keeps the original instead.
Is photo information removed?
Yes. Re-encoding removes EXIF data such as camera model and GPS location, which also saves a little space.
Tutorials
How to compress a JPG under a file size limit
Get a JPG photo under a size limit like 200 KB for a website or form, by setting a target size and checking the quality.
How to compress photos for email or upload limits
Shrink large phone photos to a target size such as 200 KB in your browser, check the quality and download them all as a ZIP.
How to shrink PNG screenshots without losing quality
Reduce the size of PNG screenshots and graphics by cutting them to 256 colours, while keeping text sharp and transparency intact.