Image Compressor

Shrink your images so they load faster, fit in email attachments, and use less storage — without making them look bad. Drop one photo or a whole batch, pick how small you want them, and download. The work happens entirely in your browser, so your photos never get uploaded anywhere.

Features

  • Top-tier codecs: mozjpeg, oxipng, libwebp, libaom (libavif) — compiled to WebAssembly
  • Quality slider (20–100) or target file size (binary search)
  • Optional pre-resize: clamp long-side to 2048 / 1024 / etc. for huge wins on phone photos
  • Batch mode: drop many files at once — output auto-zipped
  • AVIF saves ~50% over JPEG at the same perceptual quality
  • 100% in-browser, runs in a Web Worker — no uploads, no server

How to image compressor

  1. Drop one or more images — JPEG, PNG, WebP, or AVIF — up to ~50 MB each on a typical laptop.
  2. Pick output format — Auto keeps the input format. WebP/AVIF are usually 25–50% smaller for the same quality.
  3. Choose quality or target size — Quality 75–85 is the sweet spot for photos. Target size auto-tunes.
  4. Compress and download — Click Compress; download individual files or a single .zip.

Frequently asked questions

Is it safe to compress an image online?
Yes — and ours is safer than most. Many free online tools quietly upload your files to their servers to do the work. We don't. Everything happens inside your browser on your own device, so your files never reach the internet. There's no upload step, no server copy, and no way for us (or anyone else) to see what you're working on.
Are my files uploaded to a server?
No. There's no server-side processing here. The whole tool is a tiny app that runs in your browser — we don't even have a server that could receive your files. You can confirm this by opening your browser's network tab while you use the tool: nothing leaves your device.
Do I need to sign up or pay?
No. There's no account, no email collection, no credit card. The tool is free to use as much as you want, on as many files as you want. We're supported by a few unobtrusive ads on the page — not by your data.
Is this lossless?
PNG is always lossless. JPEG/WebP/AVIF are lossy by design — that's how they get their compression. The Lossless mode (PNG only) re-runs oxipng for further win without changing pixels.
How is this better than standard browser compression?
It produces noticeably smaller files that look better. Instead of using basic built-in browser methods, it uses advanced custom encoders (like mozjpeg with trellis quantization) to give you the absolute smallest file size at the same visual quality.
Why is AVIF slow?
libaom prioritizes compression over speed. Effort 4 (default) is slow but yields the smallest files. Effort 0–2 is faster but larger.
Are huge files supported?
Up to whatever fits in browser memory — typically 100+ megapixel images on a desktop. Decoding is in a worker so the page stays responsive.