Image Compressor
Compress an image to PNG, JPEG, WebP, or AVIF.
ImageProcessed locally. Your input never leaves your browser.
Private by design
Everything is processed locally in your browser.
Compression settings
Find the best balance between quality and file size.
We will find the highest quality under this limit.
Compressed preview
The preview updates as you change the settings.
* AVIF output depends on browser support.
Compression result
Original Size
—
Output Size
—
Saved
—
Processed locally · nothing uploaded
About
Re-encodes an image as PNG, JPEG, WebP, or AVIF when supported by the browser, entirely in your browser using the Canvas API. PNG is lossless and does not use a quality slider; lossy formats support adjustable quality. Actual savings depend on the source image.
Reduce an image file before publishing it on a website, attaching it to an email, or sharing it online. Choose PNG, JPEG, WebP, or AVIF when supported, adjust quality for lossy formats, or set a 200 KB, 500 KB, or 1 MB target.
What you can do
- Exports PNG, JPEG, WebP, or AVIF when the browser supports it.
- Supports manual quality for lossy formats or 200 KB, 500 KB, and 1 MB size targets.
- Shows original size, output size, and percentage saved while processing locally.
Common uses
- Reduce page weight before uploading a website image.
- Make an attachment easier to send.
- Compare PNG, JPEG, WebP, and AVIF output for different use cases.
Frequently asked questions
Which format should I choose?
PNG keeps lossless quality and transparency. WebP and AVIF can produce smaller web images, while JPEG remains useful for broad compatibility. AVIF is only available when your browser can encode it.
Does compression change image dimensions?
No. This tool keeps the original width and height. Use Image Resizer when you also need to change pixel dimensions.