Compress image
Make image files smaller with a quality slider, a before and after preview, and the size you save shown as you go.
Images
Before and after
Working
What it does
Makes image files smaller. Move the quality slider and the before and after pictures, the new file size and the percentage saved all update, so you can stop at the point where the file is small enough and the picture still looks right.
By default each image keeps its format: a JPEG stays a JPEG, a PNG stays a PNG. You can also save everything as WebP, JPEG or AVIF, which is often where the biggest savings are.
How to use it
- Choose images, drop them onto the page, or paste one from the clipboard.
- Move the Quality slider. Pick an image in the list to see it before and after.
- To cut the size further, set Longest side to scale large images down, or save as WebP.
- Press Download, or Download all as zip for several images.
Location, camera details and other metadata are always left out of the result.
The Send to buttons pass the selected image’s result to another tool without saving it first.
Questions
How much smaller will my image get?
It depends on the picture and where it came from. A photo straight from a phone or camera often shrinks by 60 to 80 percent at 75% quality with no visible difference. An image that has already been compressed for the web has less to give. The result shows the exact saving, so try the slider and see.
What quality should I choose?
Start at 75%. Compare the before and after pictures: if you cannot see a difference, try lower. Below about 50%, photos start to show blocky patches and smeared detail. Text and sharp lines suffer sooner than photographs do.
Why does my PNG barely get smaller?
With "Keep format", a PNG is repacked more tightly with no visible change, which usually saves 5 to 30 percent. Solid pixels are stored exactly as they were. Partly see-through pixels can shift by a shade too small to see, and a 16-bit PNG is saved as 8-bit. PNG has no quality setting to trade away. For a large saving, choose WebP, which keeps transparency and is a fraction of the size.
What happens to the location and camera data in my photo?
It is removed. The result contains the picture only: no GPS position, no camera model, no date taken. That makes the file a little smaller and safer to share. Your original file is not touched.
Are my images uploaded to be compressed?
No. The compression runs in your browser, on your own device. The images are never sent anywhere.
Does it make the picture smaller in pixels too?
Only if you ask. Fill in "Longest side" and any image larger than that is scaled down to fit, keeping its shape. A 4000-pixel photo set to 2000 has a quarter of the pixels and a much smaller file. Leave it blank to keep the size.