Image compressor
Compress and resize images locally. Compare JPEG, WebP, AVIF and lossless PNG before downloading.
Images stay on your device. No account or credits needed.Drop or paste an image here
JPEG, PNG, WebP or AVIF · Up to 20 MB / 32 megapixels
JPEG, WebP, AVIF or PNG: which should you choose?
WebP and AVIF are useful for websites. JPEG suits photographs; PNG keeps transparency without lossy compression. Re-encoding removes embedded metadata. Some images are already optimized and may become larger.
| Output format | Transparency | Quality control | Best suited to |
|---|---|---|---|
| JPEG · MozJPEG | No | Yes | Photographs and broad compatibility |
| WebP | Yes | Yes | Web images with or without transparency |
| AVIF | Yes | Yes | Compact modern images; check support at your destination |
| PNG · OxiPNG | Yes | Lossless | Graphics, screenshots and transparent images |
Compress an image in three steps
- 01
Choose an image. It is processed on your device.
- 02
Choose a format and quality; reduce dimensions if needed.
- 03
Compare the preview and file size, then download.
A reproducible compression example
One synthetic 1200 × 800 graphic, original dimensions, quality 80 for lossy formats. PNG uses lossless level 2. These sizes describe this example only, not an expected saving for your photos.
2026-10-14 · 1200 × 800 · Source PNG 356.0 KBImage compression questions
Are my pictures uploaded to a server?
No image data is uploaded. Encoding runs in your browser. Codec files may be downloaded to your device; no account or credits are required.
How can I make an image smaller than 200 KB?
Try JPEG or WebP, adjust quality, and inspect the result size. If it is still too large, reduce width with aspect ratio locked. The size is shown before download; no quality setting guarantees a particular byte count.
Does PNG compression keep transparency?
Yes. PNG optimization preserves pixels and transparency. Resizing changes the resolution. JPEG cannot store transparency and uses the selected background color.
Why is the compressed image larger?
The source may already be optimized, or the selected format may suit it poorly. Try another format, lower quality, or smaller dimensions; compare the actual result rather than assuming it will shrink.