Compress Image

Make an image file smaller while keeping a useful level of visual quality.

Use the tool

Supported formats: JPEG, PNG, and WebP. Maximum file size: 20 MB.

No files selected.

80%

Files stay in this browser. No document or image is uploaded to a server.

Choose one JPEG, PNG, or WebP image, select JPEG or WebP output, and adjust quality. The image is decoded and re-encoded on your device; no upload is involved.

How image compression works

Compression re-encodes pixels using the selected format and quality. Lower quality generally reduces file size but can add visible artifacts.

  1. Choose one JPEG, PNG, or WebP image up to 20 MB.
  2. Select JPEG or WebP and set the quality level.
  3. Process the image and download the compressed copy.

Worked examples

Compress a camera photo

Input
4.8 MB JPEG at 80% quality
Result
A smaller JPEG file

The output is re-encoded at the selected quality. Savings depend on the original image.

Convert a PNG illustration

Input
PNG to WebP at 75% quality
Result
A WebP image

WebP can reduce file size for many images, depending on image content.

Frequently asked questions

Will compression always make an image smaller?

Not always. Results depend on the original format, image content, dimensions, and quality setting. A re-encoded file can occasionally be larger.

Does this tool keep transparency?

The output is JPEG or WebP rendered on a white background. Transparent areas are not preserved in this compression workflow.

Which image formats are accepted?

The tool accepts JPEG, PNG, and WebP when the declared MIME type and file signature are valid.

Is there a file-size limit?

Each input image can be up to 20 MB. Images larger than 40 megapixels are rejected to protect browser memory.

Are my photos uploaded?

No. The image is decoded and re-encoded in your browser. File contents are not uploaded to the website.

Last updated: