Compress JPEG, PNG, WebP and AVIF images
Compress makes images smaller with the encoders image-optimisation tools rely on: MozJPEG for JPEG, libwebp for WebP, libavif for AVIF and OxiPNG for lossless PNG. A before-and-after slider shows the result and its size as you move the quality setting.
Target size mode answers the common upload-form question: “make it under 200 KB”. It finds the highest quality that fits, and only reduces the dimensions if quality alone cannot get there. Everything runs on your device.
How to compress an image
Add images
JPEG, PNG, WebP, AVIF, HEIC, GIF or BMP, one or many.
Choose quality or a target size
Pick a format and a quality, or switch to Target size and enter a limit in KB.
Compare and download
Drag the preview slider, then compress all files and download them or a ZIP.
Which format should I choose?
| Format | Best for |
|---|---|
| JPEG | Photos that must open everywhere. Quality 75 to 85 is a good balance. |
| WebP | Photos and graphics for the web; usually smaller than JPEG at the same quality. |
| AVIF | The smallest files at a given quality; slower to encode. |
| PNG | Screenshots, text and graphics with sharp edges or transparency. Lossless. |
Good to know
Compression re-encodes the image, so it is marked Re-encodes image. Metadata is removed and the orientation is applied to the pixels. Colours are converted to sRGB, so wide-gamut photos lose their extra range. See the guide on compressing an image to a size limit.
Questions about Compress
How do I compress an image to under 100 KB?
Open Compress, add the image, choose Target size and enter 100 KB. Exifo lowers the quality until the file fits, and reduces the dimensions only if it has to. The result shows the final size and quality.
What quality setting should I use for photos?
For JPEG, 75 to 85 keeps photos looking sharp at a much smaller size. Use the before-and-after slider to check fine detail such as text and hair.
Why did my PNG barely get smaller?
PNG is lossless, so OxiPNG can only find a better encoding of the same pixels. For photos saved as PNG, converting to JPEG or WebP saves far more.
Are my images uploaded to compress them?
No. The encoders run in your browser as WebAssembly. Your images never leave your device.