Compress Image
Shrink JPEG, PNG, or WebP files with a quality slider and a live comparison preview — nothing is uploaded.
HOW IT WORKS
- 01Drop an image
Drop a JPEG, PNG, or WebP onto the page — or click to browse. The file is read directly by the page and stays in memory on your device.
- 02Tune the quality slider
Move the slider and watch a live wipe comparison: the original and the compressed result side by side at identical pixels, with an honest size readout as the image re-encodes.
- 03Everything runs on your device
A MozJPEG, libwebp, or oxipng-class encoder runs as WebAssembly inside the page. Your image is processed in memory in your browser — there is no upload step at all.
- 04Download the result
When the preview looks right, download the compressed file. The output format always matches the input format — a JPEG stays a JPEG, a PNG stays a PNG.
FAQ
- Is my image uploaded?
- No. The encoder runs as WebAssembly inside the page, and your image is processed in memory on your device. It is never sent to a server.
- What formats are supported?
- JPEG, PNG, and WebP. The output format matches the input format — this tool compresses your image, it does not convert between formats.
- Why does PNG show an effort control instead of quality?
- PNG compression here is lossless — the pixels stay identical. Instead of a quality trade-off, the slider controls how hard the oxipng optimizer works to find a smaller file.
- Is metadata like location removed?
- For JPEG and WebP, yes — re-encoding removes metadata, including location: the compressed file is rebuilt from raw pixels, so EXIF data such as GPS position and camera details is not carried over. PNG optimization is lossless and does not re-encode, so PNG metadata chunks may remain.
- What is the size limit?
- Up to 25 MB per file. Larger files are rejected before any processing starts, with a clear message — nothing is truncated silently.
RELATED TOOLS
Cut the background from any image — coming soon.
This tool runs entirely in your browser. Your file never leaves your device.