Image Compressor: Compress to 20KB, 50KB, 100KB or Any Size
Set the size you need and the tool shrinks your JPG, PNG or WebP to just under it. Or use the quality slider for a simple, balanced compression.
The result stays under this size whether a website counts 1 KB as 1,000 or 1,024 bytes. PNG files are saved as JPG so they can reach small sizes (transparency becomes white). If a picture is too large for the limit, its pixel size is reduced automatically.
Drop images here
or click to browse files
Supports: JPG, PNG, WebP • Max 10MB per file • Up to 10 images
100% Private
All compression happens in your browser. Files never uploaded to any server.
Smart Compression
Reduce file size up to 90% while maintaining visual quality.
Batch Processing
Compress multiple images at once. Download individually or all as ZIP.
How to compress an image to a specific size
- Check the size limit above (type your own, or tap 20, 50, 100, 200 or 500 KB, or 1 MB).
- Drop your JPG, PNG or WebP picture into the box, or tap it to choose a file.
- Press Compress. The tool tests different quality levels, and reduces the pixel size only if it must, until the file is just under your size limit.
- Download the result. The file name ends with
_compressedand you can compress up to 10 pictures at once.
Other popular sizes
Frequently asked questions
How do I compress an image to a specific size like 50 KB?
Add your picture, make sure "Target size" is selected, type the limit you need or tap a size such as 50 KB and press Compress. The tool tries different JPEG quality levels, and reduces the pixel size if it has to, until the file is just under your limit. Then download it.
Is my picture uploaded to a server?
No. The compression runs in your browser using your own device, so the picture is never sent to our servers.
Will the result stay under the limit on every website?
The tool stays below your limit counting 1 KB as 1,000 bytes, which is also below the same number counted as 1,024 bytes. So the file passes whichever way a website measures it.
Why did my PNG become a JPG?
PNG files cannot be made much smaller by lowering the quality, while JPG files can. In target-size mode a PNG is saved as a JPG so it can reach small sizes, and any transparent area is filled with white. Use the quality slider if you need to keep PNG.
What if the tool cannot reach my limit?
It reduces the pixel size step by step before giving up. If a picture still cannot go below the limit, the tool shows the smallest size it reached, so you can pick a larger limit or a smaller original picture.
Can I set a minimum size as well?
No. The tool aims for a result just under your limit, which is usually close to it, but it does not add data to make a small file bigger. If a form needs a minimum size, set the limit close to the maximum the form allows.