How to use
- Choose images, drag them onto the page or paste a screenshot. You can add as many as you like.
- Keep the original format or switch to WebP or AVIF for much smaller files, then set the quality — 70–80 is a good balance for photos.
- Optionally set a maximum width and height, or enter a target size in KB to find the best quality that fits.
- Download each image, or all of them as a ZIP.
Options explained
- Quality
- Lower quality means smaller files and more visible artefacts. For photos, 75 in MozJPEG is usually indistinguishable from the original on screen. It does not apply to PNG, which is always lossless.
- Output format
- WebP files are typically 25–35% smaller than JPEG at the same visual quality, and AVIF often 50% smaller. All current browsers display both; some older desktop software does not.
- Target size
- Searches for the highest quality that stays under the size you enter, which is handy for upload forms with limits like "under 100 KB". If even the lowest quality is too big, reduce the dimensions.
- Resize
- Scales the image down to fit within the maximum width and height, keeping the aspect ratio. Images are never enlarged. A 4000-pixel phone photo resized to 1920 pixels is roughly a quarter of the size before any compression.
- Lossless
- WebP and AVIF can compress without losing any detail. Files are larger than lossy output but often smaller than PNG.
Typical results
The table shows what to expect for a 12-megapixel phone photo (4032×3024, 3.1 MB JPEG). Your results depend on the content — detailed textures compress less than skies and walls.
| Settings | Size | Notes |
|---|---|---|
| JPEG, quality 75 | ≈ 1.2 MB | Visually identical on screen |
| JPEG, quality 75, max width 1920 | ≈ 330 KB | Good for websites and email |
| WebP, quality 75, max width 1920 | ≈ 230 KB | Same look, about 30% smaller than JPEG |
| AVIF, quality 60, max width 1920 | ≈ 140 KB | Smallest, slower to encode |
Tips for web images
- Serve photos at the size they are displayed — a 4000-pixel image in a 800-pixel column wastes most of its bytes.
- Use WebP or AVIF for photos, PNG only for screenshots, diagrams and images that need sharp edges and transparency.
- Aim for 100–300 KB for a full-width hero image and under 100 KB for thumbnails.
Frequently asked questions
Are my images uploaded to a server?
No. Decoding, resizing and encoding run in your browser with WebAssembly builds of the encoders, so the images stay on your device.
Why did my PNG barely get smaller?
PNG compression here is lossless — it finds a more efficient encoding without changing any pixels. For photos saved as PNG, converting to WebP or JPEG will shrink them far more.
How do I compress an image to under 100 KB?
Enter 100 in Target size. The tool tries different quality levels and keeps the best one that fits. If it still does not fit, tick Resize and lower the maximum width.
Is the location and camera data removed?
Yes. The output files are re-encoded from pixels, so EXIF metadata such as GPS location, camera model and capture time is not carried over. Orientation is applied to the pixels first, so photos are not rotated.
Why is the output larger than my original?
The original was probably already heavily compressed. Re-encoding at a higher quality cannot recover detail and may add bytes; lower the quality or keep the original.
Can I compress HEIC photos from an iPhone?
Not yet — most browsers cannot decode HEIC. On the iPhone, choose Settings → Camera → Formats → Most Compatible to take JPEG photos, or export them as JPEG first.
Privacy
This tool runs entirely in your browser. Your files and text are processed on your device and are never uploaded to our servers.