Compress Image

Adjust JPG or WebP quality and re-encode PNG images locally. Compare file sizes before downloading your compressed image.

Free · No account required · Browser-based
LET’S WORK ON YOUR IMAGEJPEG, PNG, WebP · One image at a time

Drop your image here

One small step to your next great image.

JPEG, PNG, WebP · Up to 25 MiB · 24 megapixels · 10,000 px per side

Limits help protect your browser’s memory.

Local processing. Images selected for this tool are processed in your browser and are not uploaded to 4ool servers. Learn more

How it works

01

Choose one JPG, PNG or WebP image.

02

Adjust quality for JPG or WebP. PNG uses lossless re-encoding without a quality slider.

03

Create a result, compare its size and appearance, then download the copy.

A smaller file starts with the right trade-off

An image has both pixel dimensions and a file size. Compression here keeps the dimensions and creates a fresh file in the same format. For a photograph, lowering JPG or WebP quality can reduce the space used to describe fine detail.

Start with a moderate setting and inspect small text, hair, edges and smooth gradients. Lower settings can introduce visible artifacts. There is no single quality percentage that looks equally good on every image.

JPG and WebP quality

The quality control is a request to your browser encoder, not a promise of a particular file size. Two photos with the same dimensions and setting may produce very different results because their detail is different.

Repeatedly compressing an already compressed file can add visible loss. Keep the original, and generate each new attempt from that original when possible. If you need far fewer pixels, resizing may save more space than reducing quality alone.

What happens to a PNG?

PNG is lossless and does not use the same quality control as JPG or WebP. This tool decodes and re-encodes its pixels, which can change the file size without reducing the image dimensions.

A PNG that was already optimized may stay similar in size or become larger. The result comparison reports that honestly. For web delivery, PNG to WebP is another option when a lossy result is acceptable; check transparent edges and small lettering before using it.

Compare before you replace

The size comparison is based on the original file and the file actually generated. If the result is larger, you can still download it, but it should not be treated as a saving.

Re-encoding creates a new image and does not preserve the original metadata or color profile as an exact byte-for-byte copy. Images selected for this tool are processed in your browser and are not uploaded to 4ool servers.

Frequently asked questions

Why did my compressed image get larger?

The original may already use efficient compression. PNG re-encoding is especially unlikely to guarantee a reduction. The comparison shows the actual output size, including when it is larger.

Does compression change the dimensions?

This tool keeps the original pixel dimensions. Use Resize Image when you also want a smaller width and height.

What quality setting should I choose?

Start with the default, then inspect the result. Detailed photos, text and graphics need different settings; the percentage is not an exact measure of visual fidelity.

Can I get the original quality back later?

Lost detail cannot be restored by raising the quality setting or changing the format. Save the original file separately before replacing it.