Image Compressor

Shrink image file size with quality, scale and EXIF-aware settings.

How to use this tool

  • Drop an image (single or multiple).
  • Set JPG/WebP quality and optional max width.
  • Choose PNG palette mode for graphics.
  • Download the compressed files.

How it works

Redrawing onto a canvas at a chosen quality and/or size re-encodes the pixels, then toBlob exports a smaller file.

Tips

  • Try 0.75-0.80 quality first — usually indistinguishable from the original.
  • For PNG graphics, the 256-color palette is a hidden win.
  • WebP output can beat JPG at equal quality for photos.

Limitations

Compression is visual trade — extreme settings add visible artifacts. EXIF metadata is not preserved.

Frequently asked questions

How does compression work?

The image is re-encoded with a lower quality setting (and optional downscale), which removes redundant detail and shrinks bytes.

What is the PNG mode?

PNG is lossless, but converting to a color palette (e.g. 256 colors) can cut size massively without visible change for simple graphics.

How big a reduction should I expect?

Photos at quality 0.7 usually drop 50-80%; line art with the palette mode can shrink 90%+.