Image Compressor

The Image Compressor shrinks JPG, JPEG, PNG and WebP files directly in your browser using the HTML Canvas API and a quality slider you control. Nothing is uploaded to a server, so the tool is safe for sensitive product photos, ID scans and client work. Use it to speed up a slow website, fit a photo under an email attachment limit, or prepare a batch of product shots for an online store.

Bulk processing · up to 50 files

How to use the Image Compressor

  1. Click Choose images or drag files into the upload area.
  2. Move the Quality slider, or enter a target file size in KB.
  3. Watch each file compress with live before/after sizes.
  4. Download one image or all results as a ZIP.

Supported formats & inputs

JPG, JPEG, PNG, WebP. Output matches the input format.

Features

  • Quality slider from 10–100
  • Optional target file size in KB (binary-searched)
  • Before/after size comparison and % saved
  • Bulk compression up to 50 files per batch
  • Download all successful results as a ZIP

Important limitations

Animated GIF/WebP keep only the first frame. Browser canvas limits very large images (typically >50 megapixels) — such files are downscaled before compression. HEIC must be converted to JPG first with the HEIC to JPG tool.

Common use cases

  • Cut page weight to improve Core Web Vitals and SEO
  • Fit images under email or chat attachment limits
  • Compress e-commerce catalog photos in bulk
  • Reduce cloud storage usage

Privacy

This tool processes your files entirely in your browser. Nothing is uploaded, and no file contents or filenames are ever sent to a server or included in analytics. The only network requests are the processing libraries (loaded once) and anonymous event pings. You can verify this in your browser's network tab.

Frequently asked questions

Is my image uploaded to a server?

No. Compression runs entirely in your browser via the Canvas API. The only network requests are the optional processing libraries (loaded once) and anonymous analytics pings that never include file contents or filenames.

What quality should I choose?

For web photos, 70–80 usually looks identical to the original and cuts size by 60–80%. For product shots with fine text, try 85–90. PNG is lossless, so the slider controls only how aggressively colors are quantized.

Can I hit a specific file size?

Yes. Enter a target in KB and the tool binary-searches the lowest quality that meets it. If the target is unreachable it keeps the closest result and tells you.

Related tools

Related guides