Swelıty
Tools for everyone

Free Online Image Border

Add a border, padding, rounded corners or a shadow to a picture.

Add pictures to give them a border

Drag pictures here or choose them. JPG, PNG, WebP, AVIF and GIF (only the first frame of a GIF is used). Add several to give them all the same border.

How to use

  1. Add one or more pictures. Each one shows its size and the size it will have with the border.

  2. Pick a ready look, or set the border width, the space inside and outside it, the corner radius and the colours.

  3. Turn on the drop shadow if you want one. The saved picture grows to make room for it.

  4. To make a square or portrait post, choose an aspect ratio. Fit adds space around the picture, Fill crops it from the middle.

  5. Drag the slider over the preview to compare. Then choose PNG, JPG or WebP and press Download, or Download all as zip when you added several.

Why use this tool

  • Border, spacing and corners

    A border of any colour and width, an optional thicker bottom edge for the instant-photo look, a space of its own colour between the picture and the border, and round corners that follow the border.

  • A soft drop shadow

    Set the blur, how far it moves and its colour and strength. The saved picture is made bigger so the shadow is not cut off.

  • Sizes in pixels or percent

    Use exact pixels, or a percentage of the picture's shorter side. With percent, one look gives the same proportions on a thumbnail and on a 6000 px photo.

  • Ratios for social posts

    Pad the picture to 1:1, 4:5, 5:4, 3:2, 4:3, 16:9 or 9:16 and keep it centred, or crop it from the middle to fill the shape.

  • PNG, JPG or WebP

    PNG and WebP keep see-through corners and shadows. JPG cannot, so you choose the colour that fills those parts. WebP is offered only if your browser can save it.

  • Many pictures, one zip

    Every picture gets the same settings. Pictures are saved one at a time at full size, so a long list does not freeze the page, then packed into one zip.

About this tool

Image Border puts a frame around a picture: a border in any colour, space between the picture and the border, space outside it, rounded corners and a soft shadow. Choose a ready look such as Polaroid or Rounded card, or set every size yourself, in pixels or as a share of the shorter side so the same look suits a small and a large picture. You can also pad or crop the result to a ratio such as 1:1 or 4:5 for a social post. A slider shows the picture before and after, and you can view it full screen. The picture itself is never resized: the saved file is the original pixels plus the frame, so it is bigger than the picture you added. Everything is drawn in your browser.

Frequently asked questions

No. The border, the spaces and the shadow are added around the picture, so the saved file is larger than the original. The picture inside is copied pixel for pixel. The only exception is Fill, which crops the picture on purpose, and rounded corners, which cut off the very corners of the picture when the radius is bigger than the border.

Keep See-through outside the border switched on, set a corner radius or a shadow, and save as PNG or WebP. A JPG cannot hold see-through pixels, so the tool fills them with the JPG fill colour you choose instead, and says so on the page.

The preview is drawn at a reduced size so it stays smooth. The size under each picture, and in the Download note, is the real size of the file. A thicker border, padding or a shadow all add to it.

Browsers limit the size of the canvas that draws the result. The tool allows up to 16,384 px on a side and about 120 million pixels in total, and tells you when a border or padding would go over. Very large pictures, over about 50 megapixels, are previewed from a reduced copy and then saved at full size, which can take a few seconds.

Some browsers, mostly older Safari versions, cannot save WebP from a page. The tool checks this and hides WebP instead of saving a different format under that name. PNG and JPG work everywhere.

Only the first frame is used, and the result is a still picture.

In your browser, which reads and draws the picture.