How to use this tool
Choose or drop a JPG, PNG or WebP image. Select an available output format and, for JPEG or WebP, adjust the quality. Generate the result, compare both previews and actual file sizes, then download or reset.
How it works
Your browser decodes the image and re-encodes its pixels through Canvas. JPEG and WebP quality settings influence re-encoding; PNG uses the browser’s PNG encoder without adjustable lossy compression. The displayed reduction is calculated from the original and output Blob sizes.
A QUICK EXAMPLE
Put it into practice.
For a large JPEG photo, try the default quality first and inspect fine detail in the output preview. Download it only if the displayed file size and visual quality suit your purpose.
Good to know
One static image at a time: up to 10 MiB, 16,000,000 pixels and 8192 pixels per side. Animated PNG/WebP and SVG are rejected. Available decoders and output formats depend on your browser. Output can be larger than the original. JPEG flattens transparency onto the selected background. Re-encoding can remove metadata; images and temporary previews stay on your device. Generated image files are limited to 32 MiB.
Common questions
Why is the compressed file sometimes larger?
An already optimized image may grow when re-encoded, especially when converting to PNG. Compare the actual sizes, try a lower JPEG/WebP quality or another supported format, and keep the original if the result is unsuitable.