Compress Image to Exact KB
Reduce JPG, PNG or WebP images to your required file size. Choose 20KB, 50KB, 100KB, 200KB or enter a custom KB target. Processing happens in your browser for better privacy.
Drop your image here
Maximum 20 MB • JPG, PNG or WebP
JPEG output gives the most reliable exact-size compression. Transparent PNG areas are filled white when conversion is needed.
Free Exact KB Image Compressor
PraxTools Exact KB Image Compressor reduces a photo, scan or signature to a file size you choose, such as 20 KB, 50 KB, 100 KB, 200 KB, 500 KB or any custom value from 5 KB to 10,000 KB. It is built for online forms, job and exam applications, government portals, college admissions and email attachments, where an upload is rejected because the image is “too large”. It works on one JPG, PNG or WebP image at a time, with no sign-up.
How to compress an image to a specific KB
- Choose your image. Select a JPG, PNG or WebP file (up to 20 MB) or drag it into the box. A preview shows its name, original size and dimensions.
- Pick a target size. Tap 20, 50, 100, 200 or 500 KB, or type your own number and press Apply.
- Press Compress Image. A progress bar runs while the tool tries different quality levels.
- Check the result. The message shows the final size. Then press Download Image. The file is saved as yourphoto-100kb.jpg, with your original name and the target in it.
If you change the target after compressing, press Compress Image again so the new target is used.
How the compressor reaches your size
The tool saves your image as a JPEG and searches for the highest quality that fits the target. If lowering quality alone is not enough, it reduces the image dimensions in steps and tries again, up to several rounds. This is why very small targets on large photos can make the picture noticeably smaller or softer. The result is chosen to be as close to your target as possible.
Tips for forms with a strict size limit
- Aim a little under the limit. This tool counts 1 KB as 1,024 bytes, and some websites count 1,000. For a 50 KB limit, try 45 KB. Always check the size shown after compressing.
- Follow your form’s rules. Portals set their own limits, for example a small size for a signature and a larger one for a photograph. Read the instructions for the exact file size, format and pixel dimensions.
- Need exact pixel dimensions? This tool controls file size, not exact width and height. Crop or resize the picture to the required dimensions first, then compress it.
- Start from the best original. Use the sharp, well-lit original rather than a copy that was already compressed or shared through a chat app.
- Crop out empty space first. Trimming blank margins from a signature or document photo helps the remaining detail stay clearer at small sizes.
- Do not compress twice. Each round of JPEG compression lowers quality. Go back to the original and choose a different target.
Output format and what changes
The compressed file is always a JPG, because JPEG gives the most reliable control over size. A PNG or WebP image is converted, and transparent areas become white. Extra data stored in the original, such as camera details, is not kept. If a portal requires PNG output, this tool is not the right choice.
Private browser processing
Compression happens in your browser on your own device. Your image is not uploaded to a PraxTools server or to an external compression service. The tool still needs an internet connection to open the page. Avoid processing private images on shared or public computers, and delete downloaded copies you no longer need. See the Privacy Policy.
Troubleshooting
- “Please choose a JPG, PNG or WebP image”: other formats such as HEIC are not supported. Save or export the picture as JPG first.
- “Maximum file size is 20 MB”: use a smaller original or a lower-resolution copy.
- The result is a little above the target: choose a slightly lower target and compress again.
- The result is much smaller than the target: the image was already small, and the tool does not enlarge files. This is usually fine.
- The picture looks too blurry: your target may be very small for the image size. Use a higher target if the form allows it, or crop away unnecessary area first.
- Download button not visible: press Compress Image first. The download button appears when the result is ready.
Image compressor FAQ
How do I compress an image to 20 KB, 50 KB or 100 KB?
Choose your image, tap the matching preset, press Compress Image and download the result. You can also type any custom size.
Is the exact size guaranteed?
The tool gets as close as it can, but JPEG file sizes depend on the picture, so the final size may be slightly above or below the target. Check the size shown and adjust the target if your form has a hard limit.
Will my image be uploaded?
No. The image is processed in your browser on your device.
Why did my PNG become a JPG?
JPEG compression gives the best control over file size. The tool converts PNG and WebP images to JPG and fills transparent areas with white.
Can I compress several images at once?
Not at once. Process one image at a time. To combine several images into a single file, use Image to PDF.
What is the smallest size I can choose?
5 KB. Very small targets for large photos may need heavy dimension reduction and look soft.
Does it work on mobile?
Yes. You can pick a photo from your gallery or camera in a mobile browser.
Can I choose the width and height?
No. The tool only targets file size and may lower dimensions when needed to reach it.