Image Compressor
Compress JPG, PNG and WebP images free and privately.
We never see your files
They are converted right here on your device, in this browser tab.or drop them anywhere on this page
CtrlV pastes a screenshot
Files ready
Compressing
0%
Files compressed
0% smaller
to
Need every file under a set size? Compress image to 100 KB
Ready
Queued
Converting… 0%
to
smaller
How to shrink a mixed batch of images
Choose images, or drag a whole folder onto the page; pictures in its subfolders are picked up as well. A copied screenshot goes in with Ctrl+V.
Check the settings under the list: Quality (75 at first) shows up for JPG and WebP files, the PNG switch for PNG, GIF and BMP. Fewer colours suits screenshots and logos. Then press Compress.
Download files from their rows as they finish, or everything at once in convertgod-compressed.zip.
What happens to each format
JPG and WebP files are written anew at the Quality on the slider, one value for both formats. The lower the number, the more fine detail is traded for a smaller file. In our tests at 75, a large photo (3840 × 2400) shrank from 1.6 MB to 327 KB as a JPG, and a WebP photo of that size from 297 KB to 154 KB.
PNG is lossless and has no quality number. Fewer colours, the first choice, rebuilds the picture from at most 256 colours and keeps transparency, soft edges too; a picture that already has that few colours keeps every pixel. Lossless changes no pixel and only stores them more tightly. A 56 KB logo, for example, came out at 21 KB with the first and 35 KB with the second.
GIF, BMP, AVIF and HEIC are formats the tool cannot write, so they change on the way: GIF and BMP (and ICO icons and SVG drawings) become PNG, AVIF and HEIC become JPG, with the new extension. The tool can read HEIC only in Safari.
Whatever the format, a file that compressing would not make smaller is handed back as it was, and "already compact, kept as it is" appears under its name.
Related tools
All toolsQuestions and answers
What happens to each file in a mixed folder?
Each file the tool can write is compressed in its own format and keeps its name: report.png comes back as report.png, and a WebP stays a WebP. Other formats change, and so does their ending: scan.bmp turns into scan.png, a GIF also becomes a PNG, and a HEIC photo becomes a JPG.
When the batch is done, the summary above the list counts the compressed files and shows the total size before and after.
Why do I see the PNG switch but no Quality slider?
Settings show up only for files that use them. The Quality slider acts on JPG and WebP, so it appears once one of those is in the list. The PNG switch appears for PNG files and for GIF and BMP files, since those become PNG. Max width is always there and scales down pictures of every format, never up.
Why is my AVIF still the same size?
The tool cannot write AVIF, so compressing one would mean saving it as a JPG, and AVIF stores a photo more tightly than JPG does. Rather than hand you a bigger file, it gives back the AVIF untouched, and the row shows Same size. This can also happen to a PNG that has been through an optimiser already.
Such a file is your original, metadata included. For a site that will not take AVIF, a JPG copy from AVIF to JPG works, though it is larger.
Will an animated GIF still play afterwards?
Usually not: the GIF turns into a still PNG made from the opening frame, and the row marks it "first frame only". Only when that PNG would not be smaller is the GIF handed back untouched, and then it still plays.
To be sure an animation survives, remove the GIF from the list with its × before you press Compress.
My photos are PNG files. Will they stay PNG?
Yes, the format does not change here. With Fewer colours a PNG photo shrinks a lot, but it is rebuilt from at most 256 colours with a light dither, a fine dot pattern you may see when you zoom in. Lossless keeps it exact and saves less.
A photo without see-through areas needs far fewer bytes as a JPG, so run it through PNG to JPG first and bring the JPG back here.
I need every file under 100 KB, or in another format. Is this the right tool?
Not quite. Here you choose the quality, and the size follows from it. For a fixed limit, the size pages such as Compress image to 100 KB take the limit in KB and pick the quality themselves, making a picture smaller in pixels only if that is not enough. To get every file in one new format instead, use the Image converter.