Image tools

Compress an image

Trade some image detail for a smaller lossy file, and see the real result.

Source and quality

PNG, JPEG or WebP. This page produces a lossy JPEG or WebP; it is not a lossless PNG optimiser.

Up to 25.0 MB and 40,000,000 pixels.

Compression settings

Lower quality makes a smaller, more visibly compressed file. The result can still be larger than the original; no size reduction is guaranteed.

Compressed result

No compressed image yet. Choose a format and quality, then use Compress image.

How compression works here

The image is decoded, drawn to a canvas and encoded again as JPEG or WebP at the quality you select. This is lossy re-encoding: detail and colour precision can be removed. A smaller file is not guaranteed. The result panel reports the actual original and output byte sizes.

This page is not a lossless PNG optimiser. If you choose JPEG or WebP, the output is genuinely that format. If the browser cannot create the requested encoder, the download is blocked instead of being mislabelled.

Choosing quality

  • Higher quality keeps more detail and usually makes a larger file. Lower quality can produce visible blocks, smearing or colour bands.
  • WebP often produces a smaller file than JPEG at similar quality and can keep transparent pixels. JPEG is more widely accepted by older software.
  • For JPEG output, transparent areas are flattened onto the chosen background colour. White is the default.

Example

A JPEG at quality 80% might shrink, stay the same or grow depending on the source. Read the reported sizes rather than assuming a saving.

Supported files and limits

  • Input: PNG, JPEG or WebP still images; output: JPEG or WebP.
  • Up to 25 MB, 40,000,000 pixels and 12,000 pixels on either side.
  • Animated images, SVG, GIF, HEIC and AVIF are not supported here. Convert HEIC photos with the HEIC to JPG converter first.
  • Metadata such as EXIF and colour profiles is not preserved by the canvas step. Rotation shown by the browser is applied before encoding.

Privacy

Compression happens locally in this tab. The image, filename and output are not uploaded or sent to analytics.