How it works
Your images are drawn onto an off-screen canvas in your browser and re-encoded at the quality and size you choose. Because everything runs locally with JavaScript, your photos are never sent to any server — unlike most online compressors that upload your files first.
Quality vs. file size
Lower quality means a smaller file. For photos, 70–85% JPG is usually indistinguishable from the original while cutting file size dramatically. PNG stays lossless (best for logos and transparency) but is larger. WebP often beats both for the same quality.
Resizing
Set a max width or height to shrink large photos — a 4000 px phone photo rarely needs to stay that big for the web or email. Aspect ratio is always preserved, so images never stretch.
Which format should you pick?
The format matters as much as the quality slider:
- JPG — best for photographs. Smallest files, no transparency. The right default for most images.
- PNG — lossless, keeps sharp edges and transparency. Best for logos, screenshots and graphics with text — but larger.
- WebP — a modern format that usually beats both on size at the same quality. Every current browser supports it; use it for the web, but check that wherever you're uploading accepts it.
Hitting a size limit
Many forms cap uploads — a passport photo under 240 KB, an email attachment under 25 MB, a forum avatar under 2 MB. If you're over, lower the quality first; if that still isn't enough, set a max width to shrink the dimensions as well. A photo that's 4000 px wide can drop to 1500 px and still look sharp on any screen, at a fraction of the size.
Compress once, keep the original
Every time a JPG is re-saved it loses a little more detail, and that loss is permanent and stacks up. Always compress from your original file — not from a copy you've already squeezed — and keep the original somewhere safe in case you need a larger version later.
Tools that pair with this one
- Passport & ID Photo Maker — crop and size a photo to an official document spec, then compress it to meet the upload limit.
- Merge PDF — combining scanned pages? shrink each image first so the finished PDF stays small.
Processing happens entirely in your browser. Very large batches are limited only by your device's memory.