Add border to image
Choose an image, set the border width and colour, then download the result. Pick whether the border is added outside the picture or drawn over its edge. Nothing is uploaded.
Add border to image runs entirely in your browser: your files are never uploaded to a server. It is free and needs no sign-up.
How to use it
- Choose an image Drop a JPG, PNG or WebP photo into the box. Photos larger than 16,777,216 pixels are scaled down before the border is added.
- Set width and colour Enter a width from 1 to 500 px, or from 0.1 to 20 percent of the shorter side. Pick a colour with the colour picker or type a hex code such as #1f2937.
- Choose position and apply Outside adds the border around the photo and makes the image larger. Inside covers the edge pixels and keeps the size. Press Apply, then download.
Questions
Can I make a transparent border?
Yes. Turn on Transparent border and the result is saved as PNG, because a JPG cannot hold transparency. The corner radius field accepts 0 to 200 px for rounded corners.
Why is the border not the width I typed?
A percentage is measured against the shorter side of the photo, and the width is at least 1 px. A 5 percent border on a photo whose shorter side is 1000 px is 50 px wide.
Should I choose outside or inside?
Choose outside when you want the whole photo kept and the image to grow. Choose inside when the picture must keep its exact size, because the outer pixels of the photo are covered by the border.