Skip to content
SnapTools

Image Compressor

Runs in your browser

Compress JPG, PNG and WebP images to a target file size — entirely in your browser. Drop in a batch, set a size budget, and download the results as a ZIP.

Leave blank for balanced compression with no hard target.

WebP gives the smallest files at equal quality.

About this tool

Large images are the most common cause of slow web pages and rejected uploads. This compressor re-encodes your images at the smallest quality that still meets the size budget you set, using a binary search over encoder quality rather than a fixed guess. If an image still cannot fit, it is progressively downscaled and the result is reported honestly instead of being silently left oversized. Every step runs on your own device using the Canvas API — the images are never uploaded to a server.

How to use

  1. Set the maximum file size you need, in kilobytes. Leave it blank for balanced compression with no hard target.
  2. Choose an output format, or leave it on Automatic to use WebP where your browser supports it.
  3. Drop in one or more images, or click to choose them.
  4. Review the plan, then click Compress.
  5. Download files individually, or grab the ZIP containing all of them.

When to use this tool

  • Getting photos under an upload limit for a form or portal.
  • Preparing images for a website so pages load quickly.
  • Shrinking screenshots before attaching them to a ticket or email.
  • Batch-reducing a folder of camera photos before archiving.

Tips

  • WebP is typically 25–35% smaller than JPEG at the same visual quality — leave the format on Automatic unless you need a specific format.
  • A 200 KB budget suits most full-width web images; 100 KB is comfortable for thumbnails and email.
  • Compression is lossy: keep your originals if you may need to re-edit them later.

Limitations

  • PNG is re-encoded losslessly by the browser, so target-size compression converts to WebP or JPEG instead.
  • Very large images are limited by available browser memory.

FAQ

Are my images uploaded anywhere?
No. Decoding, resizing and re-encoding all happen in your browser. No image data is transmitted, logged or stored.
Why did my PNG come out as a WebP?
PNG is a lossless format, so its file size cannot be tuned to hit a target. When you set a size budget, the compressor switches to WebP (or JPEG) which can be tuned. Clear the target to keep PNG output.
How many images can I compress at once?
There is no fixed limit — batches are processed one image at a time, so the practical ceiling is your device's memory. Very large batches of high-resolution photos will simply take longer.