Compress images right in your browser
Batch up to 20 JPEG, PNG or WebP images. Hit an exact KB target, convert formats, compare quality — your files never leave your device.
Advanced engine tuning
How the compression works
PicSqueeze compiles the same open-source encoders used by Google's Squoosh to WebAssembly, then adds its own tuning layer on top. Here is exactly what happens to your files:
🧠 Smart mode
Quality is chosen by resolution: full-resolution photos get a slightly more aggressive quality than small UI assets, because size hides detail. Every result is checked against the original — if the output isn't smaller, the original file is returned untouched (skip-if-larger).
🎯 Target size
Binary search over the quality range (≤ 8 probes) finds the highest quality that stays under your KB budget. If quality alone can't get there, the image is downscaled in small steps until it fits — and the result is labeled so you know.
🔬 Quality score
Each result gets an SSIM quality score computed against the original — a perceptual metric (0–100%) that approximates what your eyes would notice, so you can trust the savings without pixel-peeping.
| Engine | Used for | Tuning applied |
|---|---|---|
| MozJPEG | JPEG encode | Progressive scan, optimized Huffman coding, trellis quantization-table search, dimension-aware quality (76 / 72 / 80 rules) |
| OxiPNG | PNG (lossless) | Real lossless optimization — filter & compression-strategy search, alpha channel optimization, 3 effort presets. Pixels stay 100% identical. |
| libwebp | WebP encode | Method 5+ encoding, sharp YUV conversion for crisper chroma edges, auto-filter under low quality, SIMD build when available |
| 🛡️ Guards | — | Skip-if-larger · EXIF/GPS metadata always stripped · 36 MP memory guard · progressive half-step resizing |
FAQ
Short answers to the questions people actually ask.