Compress Image to 50KB, 100KB, or Any Size
Shrink an image to an exact file size, like 50KB or 100KB.
Some upload forms cap attachments at 50KB or 100KB, and a quality slider makes you guess. This tool hits the number you type. Pick an image, set a target size, and it adjusts the quality until the file fits, then shows the final size so you can confirm before downloading. Your image is resized in your browser and never uploaded. The output keeps the original dimensions, so it looks the same at a glance, just leaner.
Loading tool…
If the tool stays on this message, make sure JavaScript is enabled, then reload the page.
About Compress Image to Size
Many forms, portals, and email systems cap attachments at a round number like 50KB or 100KB. A normal compressor asks you to pick a quality percentage and hope, which means several rounds of trial and error. This tool flips the problem around: you state the size you need, and it searches for the quality setting that lands there.
It works by encoding the image repeatedly, narrowing in on the highest quality that still fits under your target. The original width and height are preserved, so a passport photo stays a passport photo, just leaner. Photos compress far better than screenshots or graphics with sharp text, so the same target can mean different quality for different images.
There is a floor to how small an image can go. If even the lowest quality setting is still above your target, the tool says so and gives you the smallest version it could produce. In that case, shrinking the dimensions first with the Image Resizer usually gets you the rest of the way.
How to use Compress Image to Size
- Choose an image (JPG, PNG, or WebP).
- Enter the target size in KB, such as 50 or 100.
- Click Compress and check the final size.
- Download the compressed image.
Why use this tool?
- Hit an exact target size like 50KB or 100KB
- Keeps the original image dimensions
- Free with no account or signup
Tips for best results
- Start with 100KB for email attachments and 50KB for strict portals.
- Photos compress better than screenshots or graphics with sharp text.
- If quality drops too far, shrink the dimensions first with the Image Resizer.
- WebP usually beats JPG at the same size for photos.