Resize Image in KB
Type the KB size you need and get a JPG at or under it, at the best quality that fits.
- Free
- No upload
- No watermark
- No sign-up
How to resize Image in KB
- 1
Choose your photo, scan or signature.
- 2
Type the size in KB you need, and optionally a longest side in pixels.
- 3
Press Compress. The tool finds the best quality that fits.
- 4
Check the before and after and download the JPG.
How compressing to an exact size works
A JPEG's size depends on its quality setting and its pixel dimensions. To hit a target, the tool encodes your picture at several quality levels, homing in on the highest quality that still fits under the limit (a binary search: about eight tries, each a fraction of a second).
If even low quality can't fit, it reduces the pixel dimensions a step at a time and searches again, because a slightly smaller picture at decent quality looks far better than a full-size one at very low quality. The file you get is always at or under the size you asked for.
Photo and signature limits on Indian forms
Government, exam, bank and job portals often set tight size windows for uploads, such as a photo between 20 KB and 50 KB and a signature between 10 KB and 20 KB, and usually want JPG. Phone photos are 2–5 MB, so they must shrink a hundredfold. Always check the exact limits and pixel sizes in the notice for your form; they differ from portal to portal.
If a portal also asks for exact dimensions in pixels or centimeters, resize first with the resize tools, then compress. If it rejects a file for being too small, use the increase image size in KB tool.
KB size versus pixel size
The KB size is how much storage the file takes; the pixel size is its width and height. They are linked but not the same: a 600×600 photo can be 30 KB or 300 KB depending on JPEG quality. Forms often specify both. Set the longest side here if your form gives pixels, and the KB target, and the tool satisfies both.
To make a file bigger in KB because a portal says it is too small, use the increase image size in KB tool.
How it works, and why nothing is uploaded
Your browser already knows how to open JPG, PNG, WEBP, GIF, BMP and SVG files, and recent browsers open AVIF too. This tool asks the browser to decode your picture, draws it on an HTML canvas, and has the browser write the new file. iPhone HEIC photos and TIFF scans, which Chrome and Edge can't open, are decoded by small open-source decoders (libheif compiled to WebAssembly, and UTIF.js) that load only when you add such a file.
Because everything happens on your device there is no upload wait, no queue and no file-size cap other than your device's memory. A browser canvas tops out around 16,000 pixels on a side (less on older iPhones), which is far beyond any phone or camera photo.
Questions, answered.
Will it be exactly the KB I typed?
At or just under it, never over, which is what upload limits check.
What if my form asks for a size range?
Type the upper limit here. If the result comes out under the lower limit, raise it with increase image size in KB.
Can I keep the photo's pixel size?
Yes. Leave Resize longest side at Keep original size. The tool only shrinks pixels if quality alone can't reach the target.
Which formats can I use?
JPG, PNG, WEBP, HEIC, AVIF, TIFF, BMP and GIF. The result is a JPG, which every form accepts.
Are my images uploaded anywhere?
No. The page does all the work inside your browser, so your pictures never leave your phone or computer. Once the page has loaded you can even turn off Wi-Fi and it keeps working.
Is it really free? Is there a limit?
Yes, it is free with no sign-up and no watermark. There is no daily limit or file cap, because your own device does the work rather than a paid server.
More free image tools
- Compress to 20 KBGet any photo under 20 KB at the best quality that fits, for forms and portals with strict limits.
- Compress to 50 KBGet any photo under 50 KB at the best quality that fits, for forms and portals with strict limits.
- Increase image size in KBRaise a photo or signature to at least the KB a portal asks for, and keep it under the maximum.
- Resize image in cmSet a physical size, such as 3.5×4.5 cm, pick the DPI, and get a photo with exactly the right pixels for print.
- Passport size photoCrop a photo to the exact passport or visa size for India, the US, the UK and more, right in your browser.
- Resize imageChange the size of one image or hundreds at once, by pixels, percent or longest side, without uploading anything.