BatchFit
Menu

Add a border to images

Put the same border around every picture in a 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

The whole picture stays visible. Empty space is filled with the background colour.

Transparent backgrounds need PNG or WebP. JPG has no transparency.

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.

    The border is added outside the picture, so nothing is cut off: an image of 1000 × 800 px with a 40 px border becomes 1080 × 880 px. To end up at a fixed size instead, such as a 1080 × 1080 square with a margin, set the size and the border together.

    Common questions

    Does the border make the image larger?

    Yes, by twice the border width in each direction, unless you also set a fixed size. Then the picture is scaled down to leave room for the border.

    Can I add a border and keep the Instagram size?

    Yes. Choose the Instagram size and set a border width. The picture is shrunk to fit inside the border, and the output stays 1080 px wide.

    Can the border be transparent?

    Yes, when you save as PNG or WebP.