Compress an image

Squeeze photos down with modern codecs — WebP and AVIF routinely land 30–70% smaller than JPEG at the same quality. A Squoosh-style before/after slider shows exactly what a setting costs before you download.

There's a target-size mode (hit “under 200 KB” exactly), high-quality wasm encoders, and batch conversion for whole folders.

Modern codecs do the heavy lifting

WebP and AVIF routinely land 30–70% smaller than JPEG at the same visible quality, because they use far more efficient compression. pixelpix exposes both, plus MozJPEG and OxiPNG for the classic formats, with a Squoosh-style before/after slider so you can see exactly what a setting costs before you download.

Hit an exact size

Target-size mode compresses to land under a limit you set — “under 200 KB”, say — which is invaluable for upload caps and email. Batch mode compresses whole folders at once, optionally resizing and watermarking as it goes.

How it works

  1. Drop an image (HEIC from iPhones works too).
  2. Pick a format and drag the quality slider — compare with the divider.
  3. Download, or copy straight to the clipboard.

Like every pixelpix tool, this runs 100% in your browser: your file is never uploaded to a server, never leaves your device, and works even offline once the page has loaded.

Frequently asked questions

Which format gives the smallest file?
AVIF is usually smallest, followed by WebP, both well ahead of JPEG. See our image format guide for when each one is the right pick.
Can I compress to a specific file size?
Yes. Target-size mode adjusts quality automatically to land under the limit you set.
Are my photos uploaded?
No. Everything is compressed in your browser with WebAssembly codecs — your images never leave your device.

More Image tools

pixelpix — the free, private GIF · video · image · PDF studio · about · privacy · guides