How to compress an image
- Click the box above, drop files onto it, or paste a screenshot. You can add several images at once.
- Adjust the quality slider. Each image is re-compressed straight away, and the list shows the old size, new size and percentage saved.
- If the image is larger than it needs to be on screen, set a max width. A 4000-pixel-wide phone photo resized to 1600 px is typically 80–90% smaller.
- Click Download next to an image, or Download all.
How the compression works
The tool decodes your image with the browser's own image decoder, draws it on an off-screen canvas and re-encodes it as JPG or WebP at the quality you choose. These are lossy formats: they throw away fine detail that the eye barely notices, which is where most of the saving comes from.
- JPG files stay JPG in automatic mode, so they work everywhere.
- PNG, GIF and WebP files are converted to WebP in automatic mode. A canvas can only write PNG losslessly, which rarely makes a PNG smaller, while WebP keeps transparency and is usually 60–90% smaller than a PNG photo or screenshot.
- Animated GIFs are flattened to their first frame.
If a re-compressed file comes out larger than the original (this happens with files that were already well optimized), the tool tells you and offers the original instead.
Choosing a quality setting
| Use | Suggested quality | Suggested max width |
|---|---|---|
| Website hero image | 70–80% | 1920–2400 px |
| Blog or product photo | 70–80% | 1200–1600 px |
| Email attachment | 60–75% | 1600 px |
| Online form with a 200 KB or 500 KB limit | 50–70% | 1000–1280 px |
| Thumbnail | 60–70% | 300–600 px |
Text and sharp edges (screenshots, diagrams) show artifacts sooner than photos. If you see smudging around letters, raise the quality or use WebP.
Privacy: why compress locally
Most online compressors upload your photo to their server. Here the work happens on your own computer or phone, so private pictures, ID scans and unreleased product shots stay with you. As a side effect the re-encoded file no longer contains EXIF metadata such as GPS location, camera serial number and date taken — useful before you post a photo publicly. (Keep your original if you need that information.)
Frequently asked questions
Are my images uploaded to a server?
No. The page reads the file into your browser and compresses it with the Canvas API on your device. Nothing is sent over the network; you can check the Network tab of your browser’s developer tools, or switch off your internet connection after the page loads and the tool still works.
How do I get an image under 100 KB, 200 KB or 1 MB?
Start by setting a max width — that has the biggest effect. Then lower the quality until the new size shown in the list is under your limit. For a typical phone photo, 1280 px wide at 70% quality lands around 150–300 KB.
Why did my PNG turn into a WebP file?
Browsers can only save PNG without loss, which almost never makes a PNG smaller. WebP supports transparency like PNG but compresses much better, and every current browser can open it. If you need a JPG instead, choose JPG as the output format (transparent areas become white).
Will compression reduce the image quality?
Slightly, because JPG and WebP are lossy formats. At 70–85% the difference is usually invisible at normal viewing size. Always keep your original if you may need full quality later.
Is there a file size or number limit?
There is no limit set by us. Very large images (above roughly 16 megapixels on iPhones and iPads) can exceed what the browser’s canvas can handle; in that case set a max width.