Compress image to KB
Shrink photos to an exact size limit like 20 KB, 50 KB or 100 KB for forms and uploads. Each image keeps the best quality that fits, and your files stay on your device.
Drop images to compress
JPG, PNG, WebP, AVIF, HEIC, GIF or BMP. Up to 20 images, 40 MB each.
Or drop files anywhere, or paste with Ctrl+VFiles stay on your device
How to compress an image to a specific size
Add your images
Drop images on the page, select them or paste with Ctrl+V. Up to 20 at once.
Set the target size
Pick 20 KB, 50 KB, 100 KB, 200 KB, 500 KB or 1 MB, or enter any size in KB or MB.
Compress and download
Every file ends up at or under the limit. Download them individually or as a ZIP file.
Why use our Compress Image to KB tool
Exact size limit
Each result is measured from the real file, so it's guaranteed to be at or under your target.
Best quality that fits
Finds the highest quality within the limit, and reduces dimensions only when needed.
Safe for forms
Counts 1 KB as 1000 bytes, so files pass both common ways forms measure size.
No uploads
Compression happens in your browser. Your images are never uploaded.
Frequently asked questions
How does compressing to a size work?
The tool tries the highest quality first and lowers it step by step until the file fits. If quality alone can't reach a very small limit, it reduces the pixel size slightly, which looks better than heavy compression.
Why are my image's dimensions smaller after compressing?
For small limits, a slightly smaller image looks sharper than a blocky full-size one. Turn off Shrink if needed to keep the original dimensions.
Should I use JPG or WebP?
JPG is accepted by every form and app. WebP gives better quality at the same size and keeps transparency, but some older forms don't accept it.
Are my images uploaded?
No. Images are compressed in your browser and never sent to a server.