Compress

Compress an image

Pick a quality, read the real size, then download.

Quality

A JPEG is written, so a transparent PNG comes back on white.

The image is decoded by your browser, drawn onto a canvas at its original pixel size, and encoded again at the quality you pick. The number on the result card is the size of the file that was actually produced, not an estimate.

This writes a JPEG. That is what makes it small, and it has two consequences worth knowing before you start: a PNG with transparency comes back on a white background, because JPEG has no alpha channel, and a photo that was already a JPEG loses a little detail, because this is a second lossy generation. At 80 percent nobody sees it; at 40 you will.

If you need the picture at smaller pixel dimensions rather than lower quality, use the resize tool — that reduces the amount of picture to encode instead of throwing detail away. For a screenshot or line art, going down in quality is the wrong lever: PNG keeps text crisp and this does not.

Questions

Does it keep transparency?

No. The compressed file is a JPEG, which has no alpha channel, so transparent areas come out white. Use the resize tool if you need to keep a transparent PNG.

What does the percentage mean?

It is the encoder’s quality setting, passed straight to the browser: 80 keeps most detail, 40 is visibly softer. It is not a file-size target.

How much smaller will it be?

It depends on the picture. A 4 MB phone photo at 80 percent often lands near a quarter of that; a file that was already compressed hard may barely move. The result card shows the real number before you download.

Is the image uploaded?

No. It is decoded and re-encoded by this page in your browser, and there is no request that carries it.

More images