Image Compressor

Upload a JPG, PNG or WebP image to shrink its file size, entirely in your browser. Adjust the quality, pick an output format and optionally resize the image. You'll see the real resulting size before you download. Nothing is uploaded to a server, and the image is gone as soon as you close or refresh this tab.

Frequently asked questions

Is my image uploaded to a server?

No. Everything (reading, compressing and, when enabled, resizing) happens in your browser using the HTML5 canvas element. The image never leaves your computer, and it isn't saved anywhere - it's gone as soon as you close or refresh this tab.

Which format should I choose?

For photos and busy, colorful backgrounds, JPEG or WebP give the best compression. WebP usually produces smaller files than JPEG at similar quality, though a few older tools still don't handle it well. For logos, icons or screenshots with text/transparency, PNG keeps sharp edges and the alpha channel, at the cost of a larger file.

Why doesn't my PNG shrink much?

PNG is a lossless format: it has no "quality" knob like JPEG, so this tool can only re-encode the same pixels with the browser's standard algorithm without discarding any information. If the original PNG is already well optimized, a similar or only slightly smaller result is normal. For photos, converting to JPEG or WebP will get you a much bigger reduction.

Will I lose my image's transparency?

Only if you convert to JPEG, which doesn't support transparency (transparent areas get filled with white). PNG and WebP both keep the alpha channel intact.

Does the file size always go down?

In the vast majority of cases, yes - especially for photos exported as JPEG/WebP. But if the image is already well optimized, this tool will never hand you back a file heavier than the original: if it can't shrink it at the chosen settings, it returns the original file untouched.