Image compressor

Compress images locally in your browser. Nothing is uploaded.

Output formats

Select an image to start.

The tool shows each selected format in quality order. Lower quality is above higher quality. The tool shows the file size on each result. A smaller file is not always a better image. Compare the previews. The same quality values are used for WebP, AVIF, and JPEG, but the codecs can produce different file sizes and visual results. Move the pointer over a preview to view source pixels at 1x scale. Hold the mouse button to view the original image. The decoders support images up to 25 MP. AVIF output supports up to 12 MP.

The JPEG decoder supports baseline and progressive JPEG. The PNG decoder supports common non-interlaced 8-bit PNG files. The WebP decoder supports still lossy and lossless WebP. The AVIF decoder supports still sRGB AVIF images without an embedded ICC profile. The tool rejects other image features, including animated WebP and AVIF. It does not send your file to a server. Each image is decoded to KTX2 (R8G8B8A8 sRGB) pixels, and each encoder reads those pixels. The AVIF components use libavif and libaom. The JPEG component uses MozJPEG and composites transparency onto white. Quality 100 is not lossless.

The tool supports sRGB images only. It does not convert wider color profiles. Images with wider profiles, such as some Mac screenshots, can have color shifts. Convert them to sRGB before selecting them.

Components used by this tool #