How Compress images works
Shrink the file size of your photos directly in your browser, with the same WebAssembly codecs used by professional tools (MozJPEG, OxiPNG, WebP). The compressor accepts JPEG, PNG, WebP, AVIF, GIF, BMP and TIFF files up to 50 MB, and can keep the original format or convert the output to JPEG, WebP or AVIF, which often saves more at the same visual quality.
Two modes cover the two real-world situations. In quality mode you set the level yourself (the default of 82 is a good starting point for photos) and compare the result. In target-size mode you type any maximum size in kilobytes you need, 100 KB fits most email attachment limits, 50 KB clears a typical web upload form, 20 KB suits a tight avatar or thumbnail cap, and the tool searches for the highest quality that fits under that number by re-encoding at different levels, so you do not have to guess. The result lists the size before and after with the exact percentage saved, before you download anything. Very small targets on detailed photos will visibly soften the image; that trade-off is inherent to lossy compression, and if the result looks too soft you can simply re-run the same photo at a higher quality.