FREE TOOLS // IMAGES

Compress JPEG, PNG, and WebP in your browser

Shrink JPEG, PNG, and WebP images up to 85% with MozJPEG, 256-color PNG quantization, and libwebp — locally in your browser.

Runs locally in browserNo sign-up · Free forever

Input

Local browser
Drop files here or click to browseSupports multiple file selection · Processed locally

Select one or multiple images (up to 50 files, 64 MiB total). Multiple files export as a ZIP plus individual downloads.

Result

Idle

Your output will appear here once you run the tool.

GUIDE & SPECS // IMAGE COMPRESSOR

How to use Image Compressor

Image Compressor reduces JPEG, PNG, and WebP file sizes dramatically right in your browser without sacrificing visible sharpness. Instead of relying on basic browser Canvas export, it runs WebAssembly MozJPEG (progressive trellis quantization), 256-color PNG-8 palette quantization (UPNG), and libwebp with Sharp YUV — supporting single images, batch ZIP downloads, and Target size mode (50, 100, 200, 500 KB, or custom KB) with an interactive Before/After comparison slider.

Step-by-step instructions

  1. Drop or select one image or a batch of up to 50 images (64 MiB total) in PNG, JPEG, WebP, AVIF, GIF, or BMP format.
  2. Choose Lossy (recommended, up to 85% smaller), Lossless (pixel-exact + metadata stripped), Custom (manual quality & max width), or Target size (fit under 50, 100, 200, 500 KB, or a custom KB limit).
  3. Click Compress images, inspect the Before/After slider, dimensions, and file size readout, then download the compressed file, individual batch items, or the combined ZIP archive.

Key features & limits

  • WebAssembly MozJPEG progressive encoding with trellis quantization for JPEG
  • 256-color indexed PNG-8 quantization (UPNG) preserving full alpha transparency
  • libwebp WASM (SIMD-accelerated) with Sharp YUV and true lossless WebP support
  • Target size mode fits images under 50/100/200/500 KB or custom limits; quality modes include a never-inflate guard

FAQ // IMAGES

Frequently asked questions

Is my image uploaded?

No. Compression runs in your browser with WebAssembly builds of MozJPEG, a 256-color PNG-8 quantizer, and libwebp. You can confirm in the Network panel that the image itself is not posted to a server.

Can I compress several images at once?

Yes. You can select up to 50 images, up to 64 MiB combined. Preview before and after, save individual files, or download a ZIP.

What if my image is already small?

When you keep the original format and you are not resizing, a never-inflate check keeps the original bytes if re-encoding would not make the file smaller.

Can I fit an image under 100 KB or 200 KB?

Yes. Use Target size mode and pick 50, 100, 200, or 500 KB, or enter a custom limit. The compressor searches for the highest quality that fits, then reduces dimensions only if needed. If the image still cannot fit under the limit in the chosen format, the tool tells you rather than silently overshooting. The file is not uploaded.