# Compress image

Source: https://image-edit.app/compress-image/

[All tools](https://image-edit.app/)/Compress image

Export JPEG or WebP at a chosen quality and compare the actual file sizes.

Choose imageDrag and drop an image here, or choose a file.PNG, JPEG or WebP. Maximum 16 MiB and 24 megapixels.

Your image stays on this device.

Output formatQuality

A smaller output file is not guaranteed.

JPEG replaces transparent areas with white.

Choose an image to begin.

Canvas exports create a new image without the original file metadata. Base64 retains the original bytes.

## How to use this tool

Choose an image, select JPEG or WebP, and adjust the quality. Compare the downloaded result with the original. A smaller file is not guaranteed.

## Worked example

If an original file is 800 KB and the exported result is 240 KB, the saving is 560 KB, or 70%. Actual savings depend on the image and export settings.

## Related tools

[Resize image ↗](https://image-edit.app/resize-image/)[Convert image ↗](https://image-edit.app/convert-image/)[Crop image ↗](https://image-edit.app/crop-image/)[Rotate and flip ↗](https://image-edit.app/rotate-flip-image/)
