Image Compressor

Compress with the MozJPEG / WebP / OxiPNG encoders from Squoosh — smaller than the browser built-in encoder, with a draggable quality comparison

Everything runs in your browser. Your images are never uploaded to any server.

Drop an image, or click to choose

JPG, PNG, WebP and more, up to 40 megapixels

Choose image
Encoder

Lower means smaller files and more visible loss. 70–85 is usually a good balance.

Transparent fill
JPEG has no alpha channel, so transparent pixels are painted with this color

Keep 0 or pick “Original” to preserve the size. Anything larger is scaled down proportionally.

An image compressor that re-encodes with MozJPEG, WebP and OxiPNG, with a quality slider, before/after comparison and batch mode — all running locally.

Picking a format

WebP gives the smallest file at matching quality and works in every current browser, which makes it the default for the web and social media. MozJPEG wins on compatibility — older systems, email attachments, anything headed to print. OxiPNG is lossless and only helps PNGs that were never optimized, and it is much slower. Photos: go WebP. Icons and screenshots: try a lossless PNG pass first.

Why the output can get bigger

Re-encoding a PNG sometimes produces a larger file, and that is not a failure — the original may already be optimized. The tool reports negative savings honestly. When that happens, switching to WebP usually cuts the size by half or more.

Frequently asked questions

Does compression hurt quality?
Lossy formats (JPEG, WebP) drop detail at low quality settings; staying at 75 or above is usually indistinguishable. OxiPNG is lossless, so pixels are identical.
Are images uploaded?
No. The encoder WebAssembly modules are downloaded once and run in the browser; your files stay on the device.
Can I compress many images at once?
Yes. Select multiple files, apply one set of settings, and the before/after size is shown per file.