Design Drifter

Find a tool

All Tools

Image Compressor

Compress an image to PNG, JPEG, WebP, or AVIF.

Image

Processed locally. Your input never leaves your browser.

Private by design

Everything is processed locally in your browser.

PNGJPEGWebPAVIF*20 MB

About

Re-encodes an image as PNG, JPEG, WebP, or AVIF when supported by the browser, entirely in your browser using the Canvas API. PNG is lossless and does not use a quality slider; lossy formats support adjustable quality. Actual savings depend on the source image.

Reduce an image file before publishing it on a website, attaching it to an email, or sharing it online. Choose PNG, JPEG, WebP, or AVIF when supported, adjust quality for lossy formats, or set a 200 KB, 500 KB, or 1 MB target.

What you can do

  • Exports PNG, JPEG, WebP, or AVIF when the browser supports it.
  • Supports manual quality for lossy formats or 200 KB, 500 KB, and 1 MB size targets.
  • Shows original size, output size, and percentage saved while processing locally.

Common uses

  • Reduce page weight before uploading a website image.
  • Make an attachment easier to send.
  • Compare PNG, JPEG, WebP, and AVIF output for different use cases.

Frequently asked questions

Which format should I choose?

PNG keeps lossless quality and transparency. WebP and AVIF can produce smaller web images, while JPEG remains useful for broad compatibility. AVIF is only available when your browser can encode it.

Does compression change image dimensions?

No. This tool keeps the original width and height. Use Image Resizer when you also need to change pixel dimensions.

Related Tools