Image compressor

Convert photos into JPG, PNG, WebP, or AVIF, at whatever quality you choose, and see exactly how much space each version saves.

Drop images here

or choose files from your device

Output formats

Quality

90%

Applies to JPG, WebP, and AVIF. PNG is always lossless, so quality doesn't change its size.

Your images

Nothing added yet — drop some photos in above.

What this tool does

This is a free, browser-based image compressor and format converter. It reduces file size and converts JPG, PNG, WebP, and AVIF images into each other, entirely on your own device — no image is ever uploaded to a server.

How to compress an image

  1. Add your images — drop them into the box above, or click to choose files from your device. You can add several at once.
  2. Choose one or more output formats — JPG, PNG, WebP, and AVIF (where your browser supports it) can all be selected at the same time.
  3. Set a quality level — lower quality means a smaller file for JPG, WebP, and AVIF. PNG stays lossless regardless of this setting.
  4. Click "Convert all" and check the size change shown next to each result.
  5. Download whichever version you want to keep.

Which image format should you choose?

Each format trades off file size, quality, and compatibility differently. Here's how the four supported formats compare:

Comparison of JPG, PNG, WebP, AVIF, and HEIC for compression and browser support
FormatBest forCompressionCreating it in a browser
JPGPhotos and general useLossy, small file sizeSupported everywhere
PNGGraphics, screenshots, transparencyLossless, larger file sizeSupported everywhere
WebPPhotos and graphics; smaller than JPG or PNG at similar qualityLossy or losslessSupported in all modern browsers
AVIFPhotos where the smallest possible file matters mostLossy, very efficientRecent Chrome, Firefox, and Edge only
HEICiPhone camera photosLossy, efficientNot possible — no browser can encode HEIC

Frequently asked questions

What does this image compressor do?

It shrinks the file size of JPG, PNG, and WebP images, and can convert them into a different format, entirely inside your browser. No image is uploaded to a server at any point.

Is it free to use?

Yes. It's completely free, with no sign-up, no watermark, and no limit on how many images you process.

Which image format produces the smallest file?

For photos, AVIF usually produces the smallest file, followed by WebP, then JPG. PNG is lossless and is typically the largest of the four for photographic images, though it's a better choice for graphics, logos, and screenshots that need transparency or flat colors.

Can this tool create HEIC files?

No. Browsers don't provide any way to encode HEIC — it's a licensed format used mainly by iPhone cameras and Apple's own software. This tool can convert images to JPG, PNG, WebP, and AVIF, but not to HEIC.

Does compressing an image reduce its quality?

It can, depending on the format and quality setting. JPG, WebP, and AVIF are lossy formats, so lower quality settings trade some visual detail for a smaller file. PNG is lossless, so its visual quality never changes — only its compression efficiency does.

Are my photos uploaded anywhere?

No. Every image is read and processed directly in your browser using the Canvas API. Nothing is sent to a server, so your photos never leave your device.

Does this work on mobile?

Yes, it works in any modern mobile browser. AVIF conversion specifically depends on that browser supporting AVIF encoding, which the page checks automatically.