Compress Image to a Target Size
Shrink any image to a file size you choose. We get as close to your target as possible while keeping quality high, all in your browser, with nothing uploaded.
Drag & drop an image here, or
Works in your browser. Your photos never reach our server.
Supports JPG, PNG, WebP and HEIC
How it works
- 1
Select your image
Drag & drop a file or pick one from your device.
- 2
We process it locally
Everything runs in your browser, so your photo never leaves your device.
- 3
Download the result
Save your converted or compressed image instantly.
Frequently asked questions
Are my images uploaded to a server?
No. Compression runs entirely in your browser, your files never leave your device.
How do you get close to the target size?
We estimate a starting quality from the image, then fine-tune it with a binary search so the result lands just under your target in as few passes as possible.
Which format gives the best result?
JPG and WEBP compress by quality and hit a target size well. PNG is lossless, so to reduce its size we scale dimensions instead.
Other tools
Image converter
Convert between JPG, PNG and WEBP in your browser.
Convert HEIC to JPG
Convert HEIC images to JPG, fast and private.
Convert HEIC to PNG
Convert HEIC images to PNG, fast and private.
Convert Images to WEBP
Convert any image to WEBP, fast and private.
Compress Image to 100 KB
Shrink images to just under 100 KB at the best quality.
Passport photo checker
Check if your photo meets passport requirements — free, instant, private.
Need a compliant passport photo?
Passport Photo Online turns any selfie into a guaranteed, document-ready passport photo in seconds.
Get your passport photo