How to compress images
- Drop up to 30 JPG, PNG or WebP images onto the box above, or click Choose files.
- Choose the output format. WebP gives the smallest files; JPG opens in every program; Same format keeps the original type.
- Set the quality. Around 75 is a good start for photos on websites; raise it if you see blocky areas or color bands.
- If the images are larger than they need to be, pick a maximum size such as 1920 px. Fewer pixels shrink the file far more than a lower quality setting.
- Click Compress images. Each file shows its new size and the percentage saved; download them one by one or as a ZIP.
What makes an image file smaller
Two things decide the size of a photo: how many pixels it has and how hard those pixels are compressed. A 12-megapixel phone photo shown on a website 1200 pixels wide carries about ten times more pixels than anyone will see. Capping the longest side at 1920 or 1280 pixels is therefore the biggest saving, and the result looks the same on screen.
The quality slider controls lossy compression: lower values throw away more fine detail. Small changes near the top of the scale save the most bytes for the least visible damage, which is why 75 to 85 is the usual range for web images.
Why WebP is the default
Google's WebP documentation reports that lossy WebP files are 25–34% smaller than JPEG files of equivalent quality, measured with the SSIM index. All current browsers display WebP, and Windows 11 opens it in Photos, so it is the best choice for websites, blogs and online shops.
Pick JPG when the file goes to someone who might use older software, a print service or a form that accepts only JPG. Keep the same format when a program expects a particular type.
PNG screenshots and graphics
PNG is lossless, and your browser's PNG encoder has no compression setting, so compressing a PNG as PNG rarely helps. Converting it to WebP usually shrinks it a lot while keeping transparency. If you must stay with PNG, a desktop optimizer such as Caesium can squeeze PNG files without changing a pixel.
Supported files and limitations
- Accepts JPG, PNG or WebP files. The format is checked from the file's contents, not only its extension.
- Up to 30 files at a time, 50 MB each.
- Images up to 50 megapixels and 16,384 pixels on the longest side. A decoded image needs about 4 bytes of memory per pixel, so a 50-megapixel photo takes around 200 MB while it is processed.
- Files are processed one at a time in a background thread, so the page stays responsive.
When re-encoding would make a file bigger in the same format and size, the tool keeps your original instead and says so.
Compression always re-encodes the image, so EXIF data such as camera details and GPS location is removed. Photos are turned upright according to their EXIF orientation before saving.
Animated GIF, WebP and PNG files are saved as a still image of the first frame.
Colors are saved in standard sRGB. Images with a wide-gamut color profile can lose some saturation.
Transparent areas become white if you choose JPG, because JPG cannot store transparency.
Privacy and security
Your files are opened and processed by your own browser. The ExeDepot server only delivers this page and its scripts; it never receives your files, their contents or their names. The page loads no third-party scripts or ads, and its Content Security Policy allows connections only back to exedepot.com.
Results exist only in your browser's memory until you download them, and they are discarded when you click Compress more images or close the tab. No online tool can promise perfect security, so keep your browser up to date, and for documents you would never put online consider an offline desktop app such as Caesium Image Compressor.
Frequently asked questions
How much smaller will my images get?
It depends on the picture and the settings, so the tool shows the exact saving for each file. Photos from phones and cameras usually shrink the most, especially when you also cap the pixel size. Images that were already compressed for the web may barely change.
Does compressing reduce quality?
Lossy compression removes detail you are unlikely to notice at normal viewing size. At quality 75–85 most photos look the same as the original on screen. Keep the original if you plan to print or edit the picture later.
Are my photos uploaded to a server?
No. Your browser decodes and re-encodes each image on your device. Nothing is uploaded, and the compressed files exist only in the tab until you download them.
What is the best free image compressor for Windows?
For large folders and lossless PNG optimization, Caesium Image Compressor is a good free desktop option. XnConvert can resize, convert and compress thousands of files in one batch.
Can I compress an image to an exact size like 100 KB?
Not automatically. Lower the quality or the maximum size step by step and check the new size shown next to each file. Reducing the pixel size has the biggest effect; the exact result depends on how detailed the picture is.