Image Compressor
Compress JPG, PNG and WebP images by up to 80% with no visible quality loss. Runs entirely in your browser, so your photos are never uploaded.
Image compressor
Drop images here or click to choose
JPG, PNG and WebP · as many as you like · nothing is uploadedPNG is lossless, so the quality slider does nothing for it. A photo saved as PNG shrinks dramatically when converted to WebP or JPEG; a logo or screenshot is usually best left as PNG and resized instead.
Totals
Add an image to begin.
What the Image Compressor does
- Compress JPG, PNG and WebP without uploading
- Adjustable quality with a live before-and-after preview
- Batch compress several images at once
- Optional resize and WebP conversion
- Download individually or as a single ZIP
Your data stays on your device
The Image Compressor runs entirely in your browser. Nothing you enter is uploaded to a server, which means there is no copy of your input anywhere but your own machine. See how that works.
Compression without an upload
Drop in as many JPGs, PNGs or WebPs as you like. Each one is decoded, redrawn and re-encoded by your own browser, and the list shows what every file weighed before and after. Download them one at a time, or take the lot as a single ZIP — which is also assembled here, so even the batch download never touches a server.
For client work, anything under embargo, or photographs of people, that distinction is the whole point: there is no upload to think about and no copy sitting in someone else's processing queue.
Choosing a quality setting
Quality controls how much detail the encoder is allowed to discard. Around 75 to 80 is the sweet spot for photographs: the saving is large and the difference is invisible at normal viewing size. Below about 60 you start to see blocking in flat areas and halos along hard edges, which is acceptable for a thumbnail and not for a hero image.
The gain is not linear. Going from 100 to 90 often removes half the file size at no visible cost, because quality 100 spends a great many bytes on detail no one can see. Going from 60 to 50 saves much less and costs much more. If in doubt, start at 80 and only go lower if the file is still too big.
Why PNG behaves differently
PNG is lossless, so the quality slider does nothing to it. A PNG only gets smaller here if you resize it or convert it. That is not a limitation of this tool so much as a fact about the format.
What to do depends on the picture. A photograph saved as a PNG is in the wrong format and will often shrink by ninety per cent or more converted to WebP or JPEG. A logo, screenshot or diagram — large flat areas, sharp edges, perhaps transparency — is genuinely well served by PNG, and resizing it to the dimensions you actually display is the real win. Converting that kind of image to JPEG usually looks worse and saves little.
One thing to watch: JPEG has no transparency, so a transparent image converted to JPEG gets a white background. WebP keeps transparency and is the better choice when you need both small and see-through.
Resize before you compress
The single biggest saving is usually not the encoder at all — it is dimensions. A 4000-pixel photograph from a phone displayed in an 800-pixel column is carrying twenty-five times the pixels it needs. Resizing the longest edge to what the page actually shows will beat any amount of quality tuning.
Rough targets: 1920px for a full-width hero, 1280px for most in-page images, 800px for a blog body column, 400px for a thumbnail. Double those if you are serving a dedicated high-density version. The tool only ever scales down, so an image already smaller than the limit is left alone.
If a result comes out larger than the original, that file is kept as-is rather than handed back to you bigger — which happens when an already well-compressed JPEG is re-encoded at a higher quality than it was saved at.
Image Compressor questions
The things people ask most about this tool.
Are my images uploaded to a server?
No. Compression uses the Canvas API inside your browser, and the ZIP for a batch download is built there too. Your images never leave your device, which matters for client work and anything confidential.
How much smaller will my images get?
Typical photographs shrink by 60-80% at a quality setting of 80, with no difference visible at normal viewing size. Screenshots and flat graphics often compress further. Resizing as well as compressing usually doubles the saving again.
Why did my PNG not get smaller?
PNG is a lossless format, so the quality slider has no effect on it. To shrink a PNG you need to resize it or convert it — a photograph saved as PNG often loses ninety per cent converting to WebP, while a logo or screenshot is better kept as PNG and simply resized.
Should I use WebP or JPEG?
WebP is smaller than JPEG at the same visual quality and, unlike JPEG, supports transparency. Every current browser supports it. JPEG remains the safer choice if the file is going somewhere old, or into software that predates WebP support.
Will compressing strip my EXIF data?
Yes. Because the image is redrawn onto a canvas and re-encoded, camera metadata, GPS coordinates and colour profiles are not carried over. That is usually welcome for anything going on the web — it removes location data and saves bytes — but keep your originals if you need the EXIF.
Is there a limit on file size or how many images at once?
No fixed limit. Everything is processed in your browser, so the ceiling is your device's memory. Very large images, or a great many at once on a phone, will be slower than on a desktop.
More free tools
Other utilities in the collection, all free and all client-side.
Age Calculator
Calculate your exact age in years, months, days, hours, and minutes from any date.
Open tool →Invoice Generator
Build a clean PDF invoice with line items, tax calculation, and your company logo.
Open tool →Certificate Maker
Make a certificate of achievement and download it as a print-ready PDF.
Open tool →