Compress an image: make JPG, PNG and WebP files smaller
Shrink photos for email, upload forms and websites. Move the quality slider, see the new size before you download, and cap the longest side if the file is still too big.
Or drop them here. JPG, PNG and WebP, one or many at once.
Your photo never leaves your device. It is processed in this browser tab and nothing is uploaded. The new file is a fresh copy with no camera or location data in it.
How to compress an image in 3 steps
- 1
Add your images
JPG, PNG or WebP. One image or many.
- 2
Set the quality and size
Lower quality makes a smaller file. If it is still too big, choose a maximum for the longest side.
- 3
Compare and download
Check the before and after sizes and the side-by-side preview, then save the files.
How image compression works
Two things decide how big a photo file is: how many pixels it has, and how much detail the format keeps for each of them. JPG and WebP let you choose that second part with a quality setting: lower quality throws away fine detail the eye barely notices, and the file shrinks.
Phone photos are often far larger than their use needs. A photo for an email, a form or a web page rarely needs its full camera resolution, so capping the longest side, for example at 1920 pixels, often saves more than lowering the quality.
PNG works differently: it is lossless, so it has no quality setting. To make a PNG smaller, this tool saves it as WebP, which keeps transparency, or as JPG on a white background in browsers that cannot write WebP.
Frequently asked questions
How much smaller will my image get?
It depends on the photo and the settings. The tool shows the exact size before and after for every file, so you see the result before you download anything.
Are my images uploaded?
No. The tool runs in your web browser: the file is read, redrawn and saved on your own device, and the photo is not sent to NeedPS or anyone else. You can check it in your browser's developer tools, where the Network tab shows no request carrying your photo.
What quality should I choose?
For photos, 70 to 80 usually looks the same as the original at a fraction of the size. Use the side-by-side preview, which shows the center of the photo at 100%, to check fine detail and text.
Can I compress a PNG?
Yes, but not as a PNG: PNG has no quality setting. The tool saves it as WebP, which keeps transparency, or as JPG where the browser cannot write WebP. JPG has no transparency, so see-through areas turn white.
Why is my compressed file not smaller?
Some files are already compressed hard, and saving them again at a high quality can make them bigger. Lower the quality or choose a maximum for the longest side; the tool tells you when a file did not get smaller.
Is the photo's metadata kept?
No. The compressed file is a newly drawn image, so the camera details, date and GPS location are not copied into it. The photo is turned upright first, so it does not end up sideways.
When a photo needs more than a free tool
Making a photo smaller is easy. Making it better, like removing someone from it or sharpening a blurry shot, is what the NeedPS app does.
NeedPS is an AI photo editor app: you type what you want changed, in any language. Unlike the free tools here, its AI edits run on NeedPS servers, so the photo is uploaded for the edit. The app is free to download and edits are paid, with a 3-day free trial in the Android and iPhone apps in most countries.
More free tools
Last updated: November 19, 2026
