Free browser tool

Image Compressor

Compress JPEG or WebP with quality control and approximate target options. Your image never leaves this browser.

Private by design

Compress with a target or starting quality

Choose an approximate target or encode once at the selected quality. Nothing is uploaded.

Free image compressor in your browser

Encode a JPEG or WebP copy without uploading the source image. Choose an approximate target for an upload limit, or use No target size to encode once at the selected starting quality. Compare the result before downloading because a new encoding is not guaranteed to be smaller.

Choose a starting point

Meet an upload limit

Start with the approximate target nearest the stated limit. If the result remains too large, resize the pixel dimensions before compressing again.

Make a sharing copy

Use No target size, choose a starting quality, then compare the reported byte change and inspect the preview before downloading.

Protect the source

Download a separate compressed copy and keep the untouched original for future edits or archival use.

Representative browser test

On August 6, 2026, we processed a rights-cleared 1280 x 800 WebP source (151.4 KB) in Chrome 151 on macOS.

  • WebP at 82% starting quality with no target: 148.8 KB, 2% smaller.
  • WebP with the 100 KB target: 98.9 KB, 35% smaller.
  • WebP with the 500 KB and 1 MB targets: 148.7 KB; the original was already below both selected targets.
  • JPEG at 82% starting quality with no target: 187.9 KB, 24% larger.

These results describe one retained test image, not a general compression promise. Output depends on the source, format, dimensions, encoder, and quality setting.

How to use this tool

  1. Choose a JPEG or WebP image from your device.
  2. Select No target size or an approximate 100KB, 500KB, or 1MB target, then choose JPEG or WebP output and a starting quality.
  3. Compress the image, inspect the reported dimensions and file size, and download the new copy only when the tradeoff suits the destination.
Privacy: Processing happens with browser APIs. The selected image is not sent to Mend Pixels or a third-party image service.

Important limits

Target sizes are approximate. A detailed image can remain above a selected target even at the minimum quality; resizing its pixel dimensions first is the safer fallback. JPEG and WebP compression is lossy, and very large images may exceed browser memory or canvas limits.

Frequently asked questions

Can this make every image exactly 100KB?

No. The 100KB, 500KB, and 1MB options are approximate targets. If the encoder cannot reach the selected target at the minimum quality, the result explains that it is still above the selected value.

Should I resize or compress first?

If the destination requires smaller pixel dimensions, resize first and then compress the resized copy. If the dimensions are already correct, compression alone may be enough.

Can I compress a PNG here?

This compressor accepts JPEG and WebP. Use the Image Converter when a PNG must become JPEG or WebP, and remember that JPEG cannot preserve transparency.

Is the selected image uploaded?

No. Decoding, preview, compression, and download use browser APIs on this device.