Image Compressor

Shrink JPG, PNG and WebP images by re-encoding them at the quality you choose, with an optional resize and a live before/after size saving. Compressed in your browser, your images are never uploaded.

Compressed images appear here with the size saved.

How it works

Each image is redrawn onto a canvas and re-encoded at the quality you choose. Lower quality discards fine detail the eye barely notices, which can shrink a photo by 50–90%. Optionally cap the longest side to resize oversized pictures before encoding.

saved % = (original − compressed) ÷ original × 100

Compression is lossy for JPEG and WebP, keep your originals. Everything runs in your browser; no image is ever uploaded.

What this does

An image compressor shrinks JPG, PNG, and WebP files by re-encoding them at a quality you choose, with an optional resize.

How to use it

  1. Add your images.
  2. Pick the output format and quality.
  3. Optionally cap the longest side.
  4. Download the smaller copies.

How it works

Each image is redrawn on a canvas and re-encoded at your chosen quality in your browser, so nothing is uploaded. Lower quality discards detail the eye barely notices.

Understanding your result

Compression is lossy and irreversible, so the saved file permanently drops detail in exchange for size, which is why you should choose quality by destination: aggressive for web and email, gentle for anything you may print. A PNG of a photo barely shrinks (JPEG or WebP do far better), so check the result looks acceptable at full size before discarding the original.

Example

A 4 MB photo can drop to under 500 KB at 70% quality.

Sources & methodology

Last updated .

Frequently asked questions

How does the compression work?

Each image is redrawn onto a canvas and re-encoded at your chosen quality. Lower quality discards fine detail the eye barely notices, often shrinking a photo by 50–90%. You can also cap the longest side to resize oversized images.

Which output format should I pick?

JPEG is smallest for photographs, WebP is even smaller and modern, and PNG is lossless for graphics with sharp edges or transparency.

Is the compression reversible?

No, JPEG and WebP compression is lossy, so keep your originals. The tool never overwrites your files; it produces a new compressed copy to download.

Are my images uploaded?

No. Compression runs entirely in your browser on an HTML canvas; nothing is sent to any server.