How to resize an image to a specific KB size
Upload forms often care about file size in kilobytes rather than pixels. Getting under the limit is a trade-off between quality and size, and a small amount of method goes a long way.
Understand what you are changing
File size and image dimensions are related but not the same thing. A photo can be large in pixels and still small in file size if it compresses well.
To hit a target in kilobytes you usually reduce quality first, then dimensions only if compression alone is not enough.
Pick the right target
Check the exact limit your form states. A 20 KB target is very aggressive and will noticeably soften a detailed photo, while 100 KB is generous.
If the form states a size and also dimensions, satisfy the dimensions first and then compress toward the size.
Do the work and check the result
Compress toward your target, then open the downloaded file and confirm both its size and its dimensions.
If it is still over the limit, lower the quality a little and try again, or reduce the dimensions slightly.
Check important results yourself
Tools used in this guide
Resize Image to 20 KB
Task pageReduce a JPG or PNG to roughly 20 KB while keeping the image as readable as possible. Ideal for strict upload forms.
JPG, PNG, WebP JPGOpen toolResize Image to 50 KB
Task pageReduce a JPG or PNG to roughly 50 KB for uploads that require a small, specific file size.
JPG, PNG, WebP JPGOpen toolResize Image to 100 KB
Task pageReduce a JPG or PNG to roughly 100 KB while preserving reasonable detail for documents and profiles.
JPG, PNG, WebP JPGOpen toolImage Resizer
Resize an image to exact pixel dimensions, or compress it toward a target file size. Everything runs in your browser.
JPG, PNG, WebP JPG, PNG, WebPOpen tool