How it works
The image is redrawn on an HTML5 canvas and re-exported at the chosen quality level, all locally in your browser. Lower quality means a smaller file — but also lower visual fidelity, so it's worth testing a few values to find the right balance.
Why PNG sometimes barely shrinks
PNG is a lossless format: the quality control has no effect on it the way it does on JPG/WEBP. If your image is a PNG and you want real size reduction, switch the output format to JPEG or WEBP (JPEG loses transparency).
Picking the right quality
On photos, lowering quality from 100 to about 80 usually shrinks the file noticeably with no obvious difference to the eye; below roughly 50, visible blocks and smudges appear. Test in the preview and compare sizes before downloading.
Good practice for the web
- Resize before compressing: a 4000-pixel photo displayed at 800 pixels wastes bytes, and cutting the dimensions gains more than any quality tweak.
- Prefer WEBP when the destination accepts it, since it tends to come out smaller than JPEG at similar visual quality.
A good workflow: resize, compress, then compare the before and after sizes.
Avoid recompressing an already compressed JPG repeatedly; each pass adds artifacts, so keep the original and compress from it.
Frequently asked questions
Is my image uploaded to a server?
No — compression happens entirely in your browser using the Canvas API. Your image never leaves your computer.
Why didn't the compressed image get much smaller?
If you kept the PNG format (lossless), the reduction is usually small. For bigger reductions, switch to JPEG or WEBP and adjust quality.
Is there a size limit?
Yes, the limit is 20MB per image.