Compress an image
Choose an image, pick JPEG or WebP and a quality, then press “Compress” to see the real output size and how much smaller it got.
Or drop it here. One JPEG, PNG or WebP image · up to 20 MB · 20 megapixels · 8,192 px on the long side. Your image never leaves this device.
Result
Choose an image to compare the original and the result here.
How it works
- The image is saved again in the format (JPEG or WebP) and quality (10–100%) you choose. The size shown is the size of the file actually created, not an estimate.
- Reduction = (1 − output size ÷ original size) × 100. If the result is larger, you are told by how much.
- PNG has no quality setting, so only JPEG and WebP are offered here. Transparent areas are filled with the background colour you choose.
- Reducing the pixel dimensions shrinks the file even more — try Resize as well.
- If you need a specific limit such as “under 200 KB”, Target file size finds the quality for you.
Is my image uploaded to a server?
No. The image is opened and saved again only inside this browser. It is never sent to a server, and the work pages carry no ads or third-party analytics. When you close the page, the image and the result are cleared from memory.
Is camera information such as location (EXIF) removed?
The image is redrawn and saved through the browser's canvas, so the original camera information is usually not carried into the result. This has not been confirmed for every browser and file, so removal is not guaranteed. If the photo contains sensitive information, check the result with another tool.
Sources and rules
- Canvas toBlob (MDN): How the browser saves an image in a chosen format and quality. If a format is not supported, the real output format is checked and you are told.
- createImageBitmap (MDN): How the image is opened. Rotation information (EXIF orientation) is applied where the browser supports it.