Image Compressor

Compress images by up to 90% with adjustable quality. No upload, runs in your browser.

or drag & drop images here

PNG, JPEG, WebP, GIF, AVIF, SVG

What Is the Image Compressor?

The Image Compressor shrinks image file sizes by up to 90%. It supports JPEG, PNG, WebP, GIF, AVIF, and SVG, with batch upload, color-count and dithering controls, resizing, and ZIP download. PNG files are compressed with the oxipng quantizer, GIF with gifsicle, AVIF with libavif, and SVG with svgo.

All compression happens in your browser — the WebAssembly engines run in a background worker so the page stays responsive, nothing is uploaded, and your images never leave your device.

How to Compress an Image

Compressing an image takes three steps:

  • Upload or drop one or more images.
  • Choose the output format, quality, colors, dithering, and resize options.
  • Click Compress All and watch the progress.
  • Compare sizes, then download each image or the whole batch as a ZIP.

Which Format Should I Choose?

JPEG is the best all-around choice for photos. WebP and AVIF offer even better compression for photos and graphics and are supported by all modern browsers. PNG is lossless and ideal for sharp edges, text, or transparency — use the Colors and Dithering controls to shrink it dramatically. GIF suits small animations and logos with flat colors.

Typical Use Cases

  • Shrinking product photos before uploading them to an online store.
  • Optimizing images for web pages and email newsletters to speed up loading.
  • Reducing file size so images fit within messenger and email attachment limits.
  • Preparing social media images that upload faster on slow connections.

Tips

  • Start at 80% quality — it usually looks identical to the original while saving a lot of space.
  • For images with transparency, keep PNG and only lower quality if size still matters.
  • Compress the largest images first; they offer the biggest savings.
  • Use the format dropdown to convert a bulky PNG to WebP or JPEG in the same step.

Frequently Asked Questions

Does the image compressor work in my browser?+
Yes. All compression runs locally in your browser using WebAssembly and the canvas API — PNG uses the oxipng quantizer, GIF uses gifsicle, AVIF uses libavif, and SVG uses svgo. Nothing is uploaded to a server, so your files stay on your device.
Which formats are supported?+
JPEG, PNG, WebP, GIF, AVIF, and SVG. You can also change the output format while compressing, so a bulky PNG can become a small WebP, AVIF, or JPEG in one step.
How much can I reduce the file size?+
Photos typically compress 50% to 90% as JPEG, WebP, or AVIF. PNG and GIF files gain the most from the color-count and dithering controls, which can shrink them dramatically.
What do the Colors and Dithering options do?+
Colors sets the palette size for PNG and GIF output (2–256). Fewer colors mean smaller files but a flatter look. Dithering blends adjacent colors to hide banding when the palette is reduced.
Can I compress multiple images at once?+
Yes. Upload as many images as you like, compress them all at once, and download the results individually or as a single ZIP archive.

Related Tools

Image Compressorfree online compress image online, image compressor, reduce image file size, compress jpg png webp, free image compression tool, optimize image quality, shrink photo size, online image optimizer. No signup required. Works in your browser.