How exact-size image compression works
Why a size target beats a quality slider, and how to keep photos sharp at small file sizes.
Quality first, dimensions second
File size depends on two things: how many pixels the image has and how strongly each block of pixels is compressed. Lowering quality a little is usually invisible, while halving the dimensions is very visible. So the engine first searches for the highest quality that fits your limit at full size, and only reduces the dimensions when even a moderate quality is too large.
JPG, PNG and WebP: which output to use
JPG is the most compatible format and is ideal for photos. WebP produces smaller files at the same quality and keeps transparency, and is accepted by modern websites but not by every upload form. PNG is lossless and best for screenshots and graphics, but it can’t be compressed by quality. With “Auto”, JPGs stay JPG, WebPs stay WebP and PNGs become JPG — or WebP if they have transparent areas.
Private by design
Most online image compressors upload your photos to their servers. This one uses your browser’s own image encoder, so your files are never sent anywhere — useful for ID photos, signatures and personal pictures.
- Hits ≤ 20KB, 50KB, 100KB, 200KB, 500KB, 1MB, 2MB or any custom size
- Highest quality that fits, found by binary search
- JPG, PNG, WebP, GIF, BMP and AVIF input
- Removes EXIF and GPS metadata automatically