Skip to content

JPEG Compressor

Re-encodes a JPEG at a chosen quality with a live before/after size and a difference view.

Re-encoding a JPEG at a lower quality is the fastest way to make a photo smaller and the easiest way to ruin it, because the loss is invisible until it is not. This shows the size at each setting as you drag, so the decision is made against a number rather than a guess.

🔒 Runs entirely in your browsercompressjpegoptimizelossy
Convert to

Lossy with transparency, and usually 25–35% under a JPEG of the same visual quality. Encoded by the browser, so what you get depends on the browser.

Measuring…

Drop images to convert

PNG, JPEG, WebP, GIF, BMP or AVIF in — whatever your browser can decode.

How to use it

  1. Set the quality

    The readout under the slider encodes a test gradient at the current setting, so you can see where the curve flattens without re-encoding your own files on every frame.

  2. Drop the photographs

    Every file is encoded as it arrives and each row shows the before and after size with the change.

  3. Look at the result before you keep it

    Skies and skin are where JPEG fails first, and both are common enough that a quality that looked fine on one photo can band badly on the next.

Common questions

What quality should I use?

80 to 85 is the usual answer for a photograph on the web: the size curve is nearly flat above it and the artefacts are not visible below normal viewing. Under about 70, sky and skin start to band.

Does compressing twice lose twice as much?

Worse than that in the wrong circumstances: the second encode quantises what the first already quantised, and if the block grid shifts — after a crop, say — the damage compounds. Always go back to the original.

Should I use WebP instead?

For the web, usually — it is 25–35% smaller at the same visual quality and every current browser reads it. Keep JPEG for anything going into older software, or where the recipient will open the file directly.

Feed it from

Next

These accept what this tool produces, so the result can go straight in.