Features
Image compressor
Re-encode images to WebP, AVIF, or JPEG to hit a target file size — preview the quality trade-off before downloading.
What it does
The Image Compressor re-encodes your image to a smaller file using a modern codec. It targets the practical use case: getting an upload under a size limit, or trimming a megabyte off a page-load image without a visible quality hit.
Three output formats are available:
- WebP — best general-purpose modern format. ~25–35 % smaller than equivalent JPEG, supports transparency, supported by all current browsers.
- AVIF — smallest of the three, supports transparency and HDR. ~20 % smaller than WebP for the same perceived quality. Slowest to encode in-browser.
- JPEG — universally supported, no transparency. Use when a recipient needs maximum compatibility (older email clients, legacy CMS uploads).
PNG output is not offered here — for PNG-specific minification use the PNG Optimizer tool, which does lossless re-compression.
Quality settings
The slider controls the encoder's quantization level on a 0–100 scale.
- 90–95 — visually identical to source for most photos. Recommended default.
- 75–85 — heavily compressed, noticeable on flat colour or text but fine for general web imagery.
- Below 70 — visible blocking on faces and gradients. Use only when file size beats fidelity.
Live preview shows the predicted file size as you move the slider, so you can hit a target size by feel rather than re-encoding repeatedly.
Preserving transparency
WebP and AVIF preserve alpha out of the box. JPEG flattens transparent pixels to the matte colour you choose (white by default). If you need transparency, do not export to JPEG.
If your image has a transparent background from the BG remover, choose WebP or AVIF unless a downstream tool specifically rejects them.
Why files are still smaller than the source
Even at quality 95, the encoder removes high-frequency information that the eye cannot distinguish. The benefit is largest on photographs; on screenshots of text or UI, the savings shrink and you may prefer the PNG Optimizer instead.
Privacy
Encoding runs entirely in-browser via the WebCodecs API (with a WASM fallback for AVIF). Your file is never uploaded.