Compress Image to KB
Make a JPEG or WebP fit a target file size in your browser.
Loading image engine…
Images are processed in your browser.
How to use Compress Image to KB
Choose or drop a JPEG, PNG or WebP image.
Choose Target size to enter a limit in KB, or Manual quality to set the encoder yourself. Pick JPEG or WebP and set an optional longest-side limit in pixels.
Select Compress image. Compare the previews, file sizes and pixel dimensions, then download the result.
Frequently asked questions
How does Target size work?
PufferKit measures each encoded result as it tries different quality settings. With Reduce dimensions enabled, it can also shrink the image. One KB is 1,000 bytes.
Why did the output miss my target?
The codec may need more bytes than your limit. The result shows what PufferKit achieved. Try WebP, a smaller longest side, or a larger target.
What does Encoder quality mean?
It is the quality setting sent to the JPEG or WebP encoder. Lower settings usually produce smaller files, and the actual size depends on the image.