Image Compressor

Reduce the file size of JPG, PNG and WebP images in your browser without uploading them.

How to compress an image

  1. Drop one or more images on the box above, or click it to pick files.
  2. Move the quality slider. Lower values give smaller files; the list updates straight away with the new size.
  3. Optionally choose WebP or JPG as the output, or cap the longest side in pixels.
  4. Press Download next to each file.

How it works

The image is decoded and re-encoded by your browser at the quality you choose. JPG and WebP are lossy formats: they discard fine detail the eye rarely notices, which is why a photo at 75% often weighs a third of the original. PNG is lossless, so re-saving it as PNG barely changes its size; convert it to WebP for the largest saving while keeping transparency.

Tips for the smallest files

  • Resize first. An image shown at 800 pixels wide does not need to be 4000 pixels wide; halving the dimensions cuts the pixel count by four.
  • Use WebP for websites. It is typically 25–35% smaller than JPG at similar quality and is supported by all current browsers.
  • Keep an untouched original. Each lossy save removes a little more detail, so always compress from the source file.

Frequently asked questions

Are my images uploaded to a server?

No. Compression happens inside your browser using its built-in image encoder. Your files never leave your device, so the tool also works offline once the page has loaded.

Why did my PNG not get smaller?

PNG is a lossless format, so the quality slider cannot remove detail from it. To shrink a PNG substantially, set the output format to WebP or JPG. WebP keeps transparency; JPG replaces transparent areas with white.

Which quality setting should I use?

For photos, 70–80% usually cuts the file size by more than half with no visible difference at normal viewing size. Go lower for thumbnails and higher for images that will be printed or edited again.

Is there a file size or count limit?

There is no fixed limit. Very large images (above roughly 16,000 pixels on a side) may exceed what your browser can draw, and many big files at once use more memory on phones.

Related tools