Image Compressor
Reduce image file size by adjusting quality and output format for web uploads and sharing.
What is Image Compressor tool?
Image Compressor re-encodes a local picture using browser Canvas so you can compare a lighter export with the original. It is useful for website photos, documentation screenshots, or an attachment that exceeds a receiving system's limit. Processing happens on your device without an account or an image upload. Compression is an attempt to reduce size, not a promise of a specific byte budget or an invisible quality change.
Choose the change that matches the picture
JPEG and WebP export quality can trade visual detail for size. PNG output is lossless for the rendered pixels, and its quality setting does not provide lossy PNG compression. Reducing maximum width lowers pixel count while preserving aspect ratio. If dimensions already match your needs, leave the maximum width at zero to retain them; a larger maximum width does not enlarge the source.
Check a dimensions example
Example source and settings:
Source: 2400 x 1600 pixels
Maximum width: 1200
Output format: WebP
Expected output dimensions:
1200 x 800 pixels
The resulting file size depends on the actual image content, quality, and browser encoder. Compare the reported bytes rather than assuming that halving the width halves the file size. Keep the original when evaluating sharp text, fine lines, or product details.
Review format and transparency
Transparent pixels cannot survive as transparency in JPEG; this export uses a background instead. Choose PNG or WebP when transparency matters. Keeping the original format does not mean copying the original file: AVIF input falls back to PNG because this implementation does not export AVIF. Re-encoding may produce a larger result, in which case the tool displays a warning. Try another format or smaller dimensions rather than repeatedly recompressing an already-degraded export.
Know the processing boundary
This is a rendered, static Canvas export, not a metadata-preserving or animation-preserving file optimizer. Do not rely on it to retain animation, color profiles, source metadata, or signed file bytes, and do not treat it as a certified metadata scrubber. Source and output dimensions are limited to 16384 pixels per edge and 32000000 total pixels; decoding can still fail on constrained devices.
Use Image Cropper to choose a region, Image Resizer for exact fit behavior, and Image Converter when format compatibility is the main requirement. Review the final downloaded file in its destination before replacing your original asset.
FAQ
PNG export is lossless for the rendered pixels, but the quality setting does not reduce PNG quality. Resizing changes pixels; conversion to JPEG or lossy WebP can change visual detail. Byte-for-byte preservation of the source file is not promised.
A new browser encoding may be less compact than the source, especially for already-optimized images or AVIF falling back to PNG. Compare actual bytes and try a smaller width or another supported output format.
No. There is no target-byte-size search. Adjust quality, dimensions and format, then check the measured result against the receiving system limit.
JPEG has no transparency and uses a background. PNG or WebP can retain transparency. AVIF is not an output format here; keeping the original format for AVIF falls back to PNG.
Do not rely on it. This is static Canvas rendering, not a lossless file optimizer, animation editor or certified metadata scrubber. Preserve the original for animation, profiles, metadata or signatures.
Processing is local. Source and output dimensions allow at most 16384 pixels per edge and 32000000 total pixels. Browser memory and format support can still prevent decoding or export within those limits.



