Toolstia / Reduce image size in KB
Reduce image size to a set number of KB
Application portals, government forms, job sites and e-commerce uploads often set a hard ceiling: the photo must be under 20 KB, or 50 KB, or 100 KB. A normal phone photo is many times that, and trial and error with a quality slider wastes time.
Type your limit in KB or click a preset (10, 20, 30, 50, 100, 200 or 500), choose JPG or WebP and drop in up to 20 images. For each one the tool searches for the highest quality that still saves at or below your limit. If even the lowest quality is too big, it shrinks the picture a step at a time and tries again, and it tells you the final pixel size and whether it had to shrink.
The result is downloaded with the limit in its name, such as passport-100kb.jpg. Images are processed in your browser tab.
Drop images here, or click to choose
JPG, PNG or WebP. Up to 20 images. Nothing is uploaded.
The tool keeps the quality as high as it can while staying under your limit, and only makes the picture smaller if it has to. Transparent areas become white. Photo data such as GPS is not kept.
How it works
- Choose the largest size you are allowed (the buttons set common limits).
- Drop in your images. They are compressed one by one.
- Check the new size on each result and download it.
How it hits your target
The tool tries different quality levels and keeps the highest one that still fits under your limit. If even the lowest quality is too large, it makes the picture a little smaller and tries again. You see the final pixel size on every result.
JPG or WebP
JPG works everywhere and is the safe choice for forms. WebP is smaller at the same quality, but some websites do not accept it. PNG pictures are converted, and transparent areas become white.
When the result looks soft
A very small limit on a large photo forces heavy compression. If the picture looks too rough, ask whether you can use a larger limit, or crop the photo to the important part first with the image cropper.
Privacy
The compressed copy is a new image without the original photo data, so GPS location and camera details are not carried over.
How the search for the right quality works
The tool first tries the top quality, 95, and keeps it if the file already fits. If not, it tries the lowest, 5, to check that a fit is possible at all, then narrows in with seven more trials, each time halving the gap between a quality that fits and one that does not. That pins the quality down to within about 0.7 percent of the scale, so the answer lands very close to the limit rather than far below it.
If even quality 5 is too large, the image is scaled to 85 percent of its width and height and the whole search starts again, repeating up to 14 times or until the shorter side would fall to 60 pixels. A 4000 by 3000 photo that needs two such shrinks ends up around 2890 by 2168. Each step is a trade of sharpness for size that you can see in the pixel dimensions on the result card.
What a limit means in bytes
The size is counted the way most upload forms count it: 1 KB is 1,024 bytes, so 100 KB is 102,400 bytes and the result will be at or under that number. A portal that counts 1 KB as 1,000 bytes would see a slightly larger value than the one displayed in this tool, so if your form is strict, leave a small margin by asking for a few KB less than its limit.
The valid range is 1 KB to 50 MB. Because file size does not shrink smoothly with quality, the file usually ends a little under your target rather than exactly on it.
Matching limit to picture size
Very small limits only work on small pictures. As a rough sense of scale, a limit of 10 or 20 KB suits an image with passport-photo type dimensions of a few hundred pixels on each side. A full phone photo forced into 20 KB must be shrunk a long way before it fits, and the result will look soft. If the portal does not specify dimensions, crop the photo to the face or document first, then compress, so the available bytes go to the part that matters.
For forms that state both a pixel size and a KB limit, resize to the pixel size first with the image resizer, then use this tool to meet the file size. The site also has a dedicated photo and signature resizer for forms.
JPG, WebP and the white background
Choose JPG unless the portal says otherwise. Many upload forms accept only JPG or JPEG and reject WebP outright. The picture is always drawn on a white background before saving, so transparent areas in a PNG become white in either format. If your logo needs transparency, this is the wrong tool.
Re-saving also removes camera data such as GPS from the copy, which is a side benefit when you upload an ID photo.
What the output is and is not guaranteed to be
The promise is that the saved file is at or below your limit. It is not a promise that the file is smaller than your original in every case: an original already far below the limit is simply re-saved, at the highest quality that fits, and its size can move slightly in either direction. If an image cannot be brought under the limit without becoming tiny, you will see a message suggesting a larger limit instead of an unusable file.
Questions
Is my image uploaded?
No. It is processed inside your browser and never sent to a server.
Can I compress many images at once?
Yes, up to 20. All of them use the same size limit.
Why is the result a little under my limit and not exact?
File sizes do not change smoothly with quality, so the tool picks the largest size that stays at or below your limit.
Can it make a file bigger?
It aims to get the file under your limit, but it re-encodes the image, so a file that is already small can come out slightly smaller or slightly larger. If the result is bigger than your original, keep the original.
Why did my image come out smaller in pixels?
The limit was too tight for the full-size picture even at the lowest quality, so the tool reduced the dimensions in steps. The result card notes when this happened and shows the final width and height.
Can I use it for a signature image?
Yes. A signature on a plain background compresses well, so small limits are usually easy. Photograph it on white paper and crop tightly first.
Should I use 100 KB when the form says maximum 100 KB?
You can, but if the form counts in thousands of bytes, picking 95 KB leaves a safe margin. Always check the size shown on the result card.
What if the file still looks too blurry?
Try a larger limit if allowed, crop to the important area before compressing, or start from a sharper, well-lit original. Heavy compression of a blurry photo only makes it worse.
Can I compress many photos to different limits?
All images in a batch use the same limit. Change the number and the images are processed again with the new target.