Compress an image to a target size
Tell it the file size you need, like 500 KB. It finds the best quality that fits. It can also shrink the image if the target is very small.
- Free
- Runs on your device
- No account
- No limits
How to compress an image to a target size
- Drop an image in the box above.
- Set the target size and pick JPG or WebP. The tool searches for the best quality that stays under it.
- Check the result line, then download. Allow downscaling if the target is very tight.
How the compressor hits the target
The tool tries different quality levels until it finds the highest one that stays under your target. If even the lowest quality is too big, it can shrink the image step by step and try again.
WebP files are usually smaller than JPG at the same quality. Try WebP first if the site you need the file for accepts it.
Like everything on this site, this tool runs in your browser. Your image is never uploaded.
Common questions
Is the compress tool free?
Yes, properly free. No paid tier, no trial, no watermark on the result and nothing to sign up for. Put as many files through it as you like, as often as you like.
Are my files uploaded to a server?
No. The compress tool runs inside your browser, on your own machine, so your files never go anywhere. Big ones are fine too, up to whatever your browser can hold.
How do I get an image under a specific file size?
Type the size you need, for example 500 KB, and the tool tries different quality settings until it finds the best one that still fits, rather than leaving you to guess with a slider. If the target is very tight for the picture, turn on downscaling and it will also reduce the dimensions, because a smaller image at decent quality beats a large one at terrible quality.
Which format compresses best, JPG or WebP?
WebP, usually by a clear margin at the same visible quality, and it's the better choice for anything going on a website. JPG is the safer choice when a form, an older program or a printer has to accept the file, since it has been understood everywhere for decades. Try WebP first and fall back to JPG if something rejects it.
What people usually do next
- Resize an image Exact pixels or quick percentages, with the shape locked.
- Bulk resize images One setting, a whole folder of images, one zip out.