Image compressor
Make photos and screenshots smaller for websites, email attachments and upload forms. Choose a format, quality and maximum size, then download the results. Your images are processed on your own device and never uploaded.
Loading the image compressor. It needs JavaScript to run in your browser.
Loading the image compressor. It needs JavaScript to run in your browser.
How to use the image compressor
- Pick the output formatJPG suits photos, WEBP gives the smallest files for websites, and PNG keeps graphics, screenshots and transparency pixel-perfect.
- Set the quality and size80% quality is a good starting point. Add a maximum width, such as 1920 px for a full-width web image or 1200 px for a blog post, if the original is larger than you need.
- Add your imagesDrag them onto the drop area or press “Choose images”. You can add several at once.
- Compare and downloadEach result shows the new dimensions, the size before and after and the percentage saved. Download them one by one or all at once.
At a glance
- Formats
- JPG, PNG and WEBP in and out
- Settings
- Quality, output format, maximum width and height
- Batch
- Several images at once, downloaded one by one or together
- Size limit
- About 16.7 megapixels per image after resizing
- Privacy
- Processed in your browser; never uploaded
- Cost
- Free, no watermark
Learn more
Choosing the right format
| Format | Best for | Transparency | Typical saving vs. a camera JPG |
|---|---|---|---|
| JPG | Photos, anything with gradients and texture | No (transparent areas become white) | 40–80% at 80% quality |
| WEBP | Photos and graphics on websites | Yes | 25–35% smaller than an equivalent JPG |
| PNG | Screenshots, logos, text, flat graphics | Yes | Usually larger for photos |
WEBP is supported by every current major browser, including Safari since 2020, so it is a safe choice for websites. Some older desktop software and a few upload forms still only accept JPG or PNG, so pick JPG when you’re unsure where the file is going.
Why resizing matters more than quality
A modern phone photo is around 4000 × 3000 pixels, 12 megapixels, while most website layouts never display an image wider than 1200 to 2000 pixels. Sending the full-size file means the visitor downloads several times more data than their screen can show. Cutting a photo’s width in half cuts the number of pixels to a quarter, which usually saves far more than lowering the quality slider. Resize to the largest size the image will actually be displayed at, doubled for sharp results on high-resolution “retina” screens, and then fine-tune the quality.
Typical sizes to aim for
- Full-width website hero image: 1920–2400 px wide, under 300 KB.
- Blog or article image: 1200–1600 px wide, under 200 KB.
- Product photo with zoom: 2000 px on the long side, 85–90% quality.
- Email attachment: 1600 px on the long side keeps photos sharp on any screen and lets you send a dozen at once.
- Profile picture or thumbnail: 400–800 px, 70% quality.
For page speed, the images “above the fold” matter most: they compete with your text and styles for the visitor’s first second of loading. Our guide on compressing images for the web explains how image weight affects loading speed and search rankings, and how to serve the right size to each device.
How the compression works
Your browser decodes each image into raw pixels, draws it onto an off-screen canvas at the target size using high-quality smoothing, and asks the browser’s own encoder to save it in the format and quality you chose. Photos rotated by the camera are turned the right way up first, using their orientation tag. Because nothing is uploaded, the speed depends only on your device: a typical phone photo takes well under a second on a laptop.
Questions
Are my images uploaded to a server?
No. The images are decoded, resized and re-encoded by your browser using the canvas feature built into every modern browser. They never leave your device, so private photos, scanned documents and unreleased designs stay private.
What quality setting should I use?
For photos, 75–85% is usually impossible to tell apart from the original at normal viewing size while cutting the file size dramatically. Go down to 60% for thumbnails. Stay at 90% or above for images people will zoom into, such as product photos.
Why did my PNG get bigger?
PNG is lossless, so it can't throw detail away to save space. Re-saving a photo as PNG often makes it larger. Use JPG or WEBP for photos, and keep PNG for screenshots, logos and graphics with flat colors or transparency.
Does resizing keep the aspect ratio?
Yes. Maximum width and height are limits, not exact sizes. The image is scaled down until it fits inside both while keeping its proportions, and it is never enlarged.
Can I compress iPhone HEIC photos?
Only if your browser can open HEIC files. Safari on a Mac or iPhone can; most other browsers can't yet. If a HEIC photo shows an error, export it as JPG from the Photos app first, or open this page in Safari.
What happens to the photo's location and camera data?
Re-encoding through the browser canvas removes EXIF metadata, including GPS location, camera model and date taken. That's useful for privacy when posting photos online, but keep your originals if you need that information.
Is there a size limit?
Very large images are scaled to at most about 16.7 megapixels (for example 4729 × 3547), because some browsers, especially on iPhone, can't process larger canvases. Very large files may take a few seconds on older phones.