The binary search algorithm gets within a few KB of your target in most cases. Very small targets on large images may not be achievable.
Your everyday toolkit
Image ToolsCompress Image to Size
Try to fit an image under a target byte size by adjusting JPEG quality. Very small targets may be unreachable; check the actual output size.
A little less effort
Compress Image to Size
Compress image to a specific target file size
Your next creation starts here.
Drop your file here
or drag and drop it here
Using Compress Image to Size well
Try to fit an image under a byte limit by searching JPEG quality settings without changing its dimensions.
Example to try
Choose a 100 KB target, compress, and compare the displayed output size with the destination form's actual limit. A form using decimal KB may apply a different byte threshold.
What to check before relying on the result
A very small target may be unreachable. The returned result can exceed the target, so check bytes before submitting. JPEG removes transparency; resize the source if quality alone is insufficient.
How to use Compress Image to Size
View largerStarting exampleOriginal image
1.28 MBYOU’RE EXPLORING
Upload your image
A few steps.
A whole new result.
Frequently Asked Questions
The useful details, before you get started.
JPEG compression has limits. If the target is smaller than what is achievable at the lowest quality, the tool returns the smallest possible result.
Choose any question to see the details.

