Image Compressor

Re-encode photos as JPEG at a quality you control — with before/after file sizes so the trade-off is explicit, all on canvas.

Generators 100% in your browser
Click to choose a fileor drag & drop it here — PNG, JPEG or WebP

Decoding and processing happen on a canvas in your browser — the file is never uploaded. Transparency is flattened to white for JPEG output.

How to use

  1. Choose the image file.
  2. Set the JPEG quality (1–100).
  3. Compare the sizes and preview.
  4. Download when the trade-off looks right.

Example

Input: 2.4 MB PNG photo at q80

Output: ~280 KB JPEG — size comparison shown live

How it works

The image is re-encoded at the quality level you choose. Lower quality means a smaller file; JPEG and WebP compress by discarding detail, PNG compression is lossless.

The image is re-encoded at the quality level you choose. JPEG and WebP compress by discarding detail; PNG compression is lossless.

Worked example

A 2.4 MB PNG photo at quality 80 becomes roughly a 280 KB JPEG, with a live size comparison.

Edge cases to know

  • Output is JPEG only, with transparency flattened to white.
  • Quality is the browser encoder's scale, so it varies slightly across browsers.
  • PNG graphics with text may show artefacts; use WebP export for those.

Limits & compatibility

  • JPEG-only output with alpha flattened to white.
  • Quality is the browser encoder's scale — it varies slightly across engines.
  • PNG graphics with text may artifact; use WebP export for those.

Privacy

Compression happens on a canvas in your browser. The file is never uploaded or stored.

Related tools

FAQ

Questions about Image Compressor

What format does the compressed image download as?

JPEG only. Transparency is flattened to white, because JPEG has no alpha channel — so don't compress a logo or icon that needs a transparent background.

How much smaller will my image get?

It depends on the quality you choose: a 2.4 MB PNG photo at quality 80 becomes roughly a 280 KB JPEG. The live size comparison is shown before you download, so you can judge the trade-off.

Will compression change how my image looks?

Lower quality means a smaller file but more visible artefacts, because JPEG compresses by discarding detail. PNG graphics with text may show artefacts; use the WebP converter for those instead.

Is there a file size limit?

Yes — the default per-file cap is 100 MB. The image is re-encoded in your browser at the quality level you choose; nothing is uploaded.