Image Compressor
Drop photos, move the quality slider and watch the file size drop. Resize big photos too for the biggest savings.
Add this calculator to your website
Copy the code and paste it into your page's HTML. It's free; please keep the credit link.
How it works
Two things make an image file big: the number of pixels and how much detail each one keeps. A 12-megapixel phone photo (4032 × 3024) resized to 1920 × 1440 has 77% fewer pixels, and a quality of 70–80 removes detail you won't notice on screen. Together they often turn a 3–5 MB photo into a few hundred KB.
JPG vs PNG vs WebP vs HEIC
| JPG | PNG | WebP | HEIC | |
|---|---|---|---|---|
| Compression | Lossy | Lossless | Lossy or lossless | Lossy |
| Transparency | No | Yes | Yes | Yes |
| Animation | No | APNG | Yes | Image sequences |
| Best for | Photos | Logos, screenshots, graphics | Websites | iPhone photos |
| Opens almost everywhere | Yes | Yes | Modern browsers and apps | Apple devices; limited elsewhere |
Frequently asked questions
How do I reduce an image to under 1 MB (or 200 KB)?
Set “Longest side” to 1920 px or less and lower the quality until the size shown is under your limit. Resizing usually saves far more than quality alone.
Why did my PNG become a WebP?
PNG can't be compressed much without changing format. “Best for each image” saves PNGs as WebP, which keeps transparency at a fraction of the size. Pick JPG or PNG to override.
Does compressing remove photo location data?
Yes. Compressed files don't keep EXIF metadata, including GPS location, camera model and date taken.
Are my images uploaded?
No. The conversion runs entirely in your browser, so your photos never leave your device. You can even go offline after the page loads.