BatchFit
Menu

Bulk resize images to a KB limit

Set the largest file size allowed, and optionally the smallest, then process the whole set.

Drop images here

JPG, PNG, WebP, GIF (first frame), BMP and AVIF. Up to 100 images at a time.

Images are processed in your browser. They are not uploaded, and this page makes no network requests while it works on them.

How to fit

Keeps each picture's shape and shrinks it to fit inside the width and height. Nothing is added or cut off, so sizes can differ.

1 KB is counted as 1,024 bytes. A few sites count 1,000, so results are kept about 1% under the limit.

Use {name} for the original name, {n} for a number, {width}, {height} and {preset}.

Photos from phones often contain the GPS position where they were taken.

Add images to see them fitted to the size above.

    Each image is saved at the highest quality that fits between the limits; if that is not enough, it is also scaled down. Results are kept about 1% inside the limits, because some sites count 1 KB as 1,000 bytes rather than 1,024.

    For a single image, or to see how size and quality trade off, use FitPixelKit's image to KB tool.

    Common questions

    Why is a minimum size needed?

    Some upload forms reject files that are too small as well as too large. If you set a minimum, images are saved at higher quality until they reach it. If a very small image cannot reach it, the tool says so and suggests a larger size, rather than padding the file with junk data.

    Is 1 KB 1,000 or 1,024 bytes?

    This tool counts 1 KB as 1,024 bytes and keeps results about 1% inside your limits, so they pass either way.

    Can I also set the pixel size?

    Yes. Choose Fit without cropping or Crop to fill and enter the width and height. A fixed size leaves less room to reach the limit, so very low limits may not be reachable.