How to compress an image to an exact size
- Choose your photo (JPG, PNG or WebP).
- Enter the size limit the form asks for, for example 50 KB.
- Download the result. It is guaranteed to be under the limit when the “after” size is shown without a warning.
The tool first lowers the JPEG or WebP quality step by step, looking for the best quality that still fits. If even the lowest quality is too large, it shrinks the image dimensions and tries again.