Image compressor
Resize and re-encode photos to JPEG, WebP or PNG right in your browser. Images never leave your device.
No images yet. Your files stay on this device.
How it works
Each image is decoded by your browser, drawn onto a canvas at the new size, and re-encoded with canvas.toBlob in the format and quality you choose. The file never leaves your device: there is no upload step and no server involved. Changing a setting re-processes every image in the list.
- Max width and height shrink the image to fit inside the box while keeping its proportions. Images are never enlarged. Leave both empty to keep the original dimensions.
- JPEG is best for photos. WebP is usually smaller at the same visual quality and is supported by all current browsers. PNG is lossless, so the quality slider does not apply; use it for screenshots, icons and images with transparency.
- A quality of 70–85 is a common balance for photos on the web.
FAQ
Are my images uploaded anywhere?
No. Processing happens entirely in your browser tab. You can load the page, go offline, and it keeps working.
Why is the result sometimes larger than the original?
An already well-compressed file, or a conversion to PNG, can come out bigger. The list marks those results so you can keep the original instead.
Is photo metadata kept?
No. Re-encoding through a canvas drops EXIF data such as camera details and GPS location, which is often what you want before sharing.
What happens to transparency when I choose JPEG?
JPEG has no transparency, so transparent areas are filled with white. Choose WebP or PNG to keep them.