Image Compressor

Compress and resize images in your browser — nothing is uploaded.

How image compression works here

This tool re-encodes your image through the browser's canvas engine. For photos, lowering the quality slider dramatically cuts file size — quality 70–80 is usually visually indistinguishable from the original. Switching to WebP typically saves another 20–30% over JPEG at the same visual quality.

Setting a max width downscales large photos, which is the single biggest saving when images came straight from a phone camera (4000px wide photos rarely need more than 1600px on the web).

Everything runs locally using the Canvas API — your images are never uploaded to a server, making this safe for private or client work.

FAQ

Why can't PNG get much smaller?

PNG is lossless: re-encoding keeps every pixel and format conversion is limited. For photos, JPEG or WebP compress far better. PNG suits flat graphics and screenshots, where lossless matters.

What quality should I use for web images?

Start at 75 for JPEG or WebP, and drop to 60 if the image is a background or thumbnail. Raise it only if you see visible artifacts around sharp edges.

Does compression change image dimensions?

Only if you set a max width. By default the output keeps the original pixel size and only re-encodes.