Ready now
Image Compressor
Preparing controls…
About this tool
What Image Compressor does
Reduce a local image file size with browser quality controls and compare the source and output byte sizes.
Re-encode a JPEG or WebP using a chosen quality, or re-export PNG pixels. The tool reports the actual resulting size rather than promising a fixed reduction.
Interpret a PNG compression result
Input or settings
Source: 400 × 200 PNG Quality setting: 0.8
Expected result
PNG download: 400 × 200 pixels; no adjustable PNG quality and no guaranteed size reduction
Exact output bytes depend on the browser encoder. Keep the original when the export is not useful.
How to use it
- Choose a supported image and set JPEG/WebP quality.
- Choose Compress image.
- Compare file size and visible quality before replacing the original.
Common uses
- Try a lower JPEG quality for a non-critical preview.
- Compare an export with the original before deciding whether compression helps.
Important limitations
- PNG quality is not adjustable through browser Canvas; re-exported PNG may be larger.
- JPEG/WebP quality values and file sizes vary by browser, and repeated lossy exports can compound quality loss.
Frequently asked questions
Why did a PNG become larger?
Canvas exports PNG pixels but does not expose a PNG quality slider. Different encoding choices can increase size.
Does quality 0.8 mean 80% of the file size?
No. It is an encoder setting, not a target size or a measured quality percentage.