Image Compression Analyzer

Analyse an image file: format, JPEG quality, subsampling, metadata, bits per pixel – and test WebP, AVIF, JPG and PNG sizes with a visual quality score.

Tool

Was this tool useful?

About this tool

About Image Compression Analyzer

Find out if an image is too big for the web and what to do about it. The analyser reads the file itself – format, size, dimensions, bits per pixel, estimated JPEG quality, chroma subsampling, progressive or baseline, PNG colour type, palette and how much space metadata takes – then re-saves it as WebP, AVIF (if your browser can), JPG at several qualities and PNG, with sizes, savings and a PSNR quality score, and recommends the smallest version that looks the same.

How it works

JPEG quality is estimated from the luminance quantisation table against the standard IJG table. PSNR = 10·log10(255² ÷ mean squared error) on a 512 px copy; 38 dB and above is very hard to tell apart.

Example

A 4.1 MB, 4000×3000 phone photo saved at JPEG quality 96 becomes a 780 KB WebP at 80% (−81%) with PSNR 41 dB.

How to use this tool

  1. Choose an image.
  2. Optionally test a resized copy (for example 1920 px).
  3. Download the recommended version or follow the tips.

Frequently asked questions

Which format should I use?

WebP for most web images, AVIF where supported for even smaller files, PNG only for graphics that need transparency or exact pixels.

Is the image uploaded?

No – it is analysed and converted in your browser.

Why is AVIF missing?

Some browsers can show AVIF but cannot create it.

Are my images uploaded by the Image Compression Analyzer?

No. The Image Compression Analyzer works inside your browser, so your images stay on your device.