Image Compressor
Shrink JPEG, PNG and WebP files in your browser, and see exactly what it cost.
Images are decoded, redrawn and saved by your own browser. Nothing is uploaded — the files never leave your device, and closing the tab discards them.
What the Image Compressor shows you
Images are usually the heaviest thing on a web page, and the easiest to fix. A 4 MB photo straight off a phone looks no different on a laptop screen at 300 KB — most of those bytes are detail at a resolution no one will see, stored at a quality setting nobody chose.
This compressor fixes both. The quality slider re-encodes each image with less redundant detail; the optional maximum width and height scale down anything larger than it needs to be. Every file shows its original size, its new size and the saving, and the slider view lets you drag between the original and the compressed copy to check that nothing you care about went missing.
It is honest about the limits. PNG is lossless, so a quality setting cannot shrink it — the tool says so and suggests what will. And if re-encoding would make a file bigger, which happens with images that are already well compressed, you get the original back rather than a worse copy.
One quality slider, instant feedback
Move it and every file is re-compressed, with the new size and percentage saved on each card and a running total for the batch.
Before and after, side by side
Select any file to compare the original and compressed versions under a draggable divider — by mouse, touch or arrow keys.
Maximum width and height
Cap the dimensions and anything larger is scaled down to fit, keeping its proportions. Smaller images are never enlarged.
Keep the format or change it
Keep each file as it is, or convert everything to WebP for the smallest files or JPEG for the widest compatibility.
Never makes a file bigger
If a re-encode at the same size and format comes out larger than the original, the original is kept, and the card tells you so.
Smooth downscaling
Large reductions are done in halving steps, which keeps edges and fine text clean instead of the jagged look of a single-step shrink.
Batch in, batch out
Drop in dozens of files, paste screenshots, then download each one or the whole set.
What people use it for
Speed up a web page
Compress the hero image and product shots before they go into your CMS, and watch Largest Contentful Paint improve.
Get under an upload limit
Job portals, visa forms and support desks often cap attachments at 1 or 2 MB. Set a max width and a quality and you are under it.
Send photos by email
Shrink a set of holiday photos from 60 MB to a few megabytes so they arrive instead of bouncing.
Tidy a blog's media library
Run old uploads through at a sensible size and quality before re-uploading them, without paying for a plugin.
How to use it
Make images smaller for the web, email or an upload limit. Set the quality, optionally cap the width and height, keep the format or switch to WebP or JPEG, and see the before and after size of every file and the whole batch — with a side-by-side slider to check the result before you download it. Everything runs in your browser.
- Set the quality — 70–80% suits most photos — and, if you like, a maximum width or height.
- Choose whether to keep each file's format or convert to WebP or JPEG.
- Drop in your images, check the before-and-after view, then download them.
Questions
Does compressing reduce quality?
Lossy compression removes detail, but at 70–80% quality the difference in a photo is hard to see at normal viewing size. Use the before-and-after slider on the parts that matter most: faces, text and smooth gradients show compression first.
Why doesn't the quality slider change my PNG?
PNG is lossless — it has no quality setting to lower. To make a PNG smaller, set a maximum size, or convert it to WebP (which keeps transparency) or JPEG.
Why is a file marked as kept at its original size?
Re-encoding it at these settings would have made it larger — common with images that were already compressed well. Rather than hand you a bigger file, the tool keeps the original.
What maximum width should I use for a website?
The widest the image is ever displayed, doubled for high-density screens, is a good ceiling: 1600–2000px for a full-width hero, 800–1200px for images inside an article.
Are my images uploaded?
No. Everything happens on your device with your browser's canvas. Nothing is sent to a server, and nothing is kept after you close the tab.