Add a Border to an Image or Photo

Add a photo border online for free. Choose the border width and color, put it inside or outside the picture, and download your image as a PNG.

Add a Photo Border Online for Free

Upload a JPG or PNG, pick a border color and width, and see the result straight away in the preview. The border is drawn in your browser, so your photo is never uploaded to a server.

Use it to frame a product photo, make a picture stand out on a white page, or give a set of images the same clean edge. No sign-up and no watermark.

Photo with a colored border added online

How to add a border to a photo

  1. Upload your photo. Click Upload Image, drag a JPG or PNG onto the page, or paste an image with Ctrl+V (Cmd+V on a Mac).
  2. Set the border width. Type a number in Border Width or use the − and + buttons. The width is in pixels and starts at 10.
  3. Choose a border color. Type a hex code such as #FFFFFF or #000000, or pick any color with the color picker.
  4. Put the border inside or outside. Tick "Outside of image" to add the border around the photo, or leave it unticked to draw it over the edges.
  5. Click Download. You get a PNG file named bordered-image.png.

Photo border width and color

The border width is measured in pixels of the original photo, not of the preview. A 10 px border looks thin on a 4000 px wide photo and thick on a 600 px wide one. About 1–2% of the image width gives a subtle frame; 4–5% gives a bold one.

  • White (#FFFFFF) gives a classic print-style frame, and works well for photos shared on dark backgrounds.
  • Black (#000000) gives a gallery look and separates a light photo from a white page.
  • Your brand color: paste its hex code to match a website, shop or social profile.

Border inside or outside the image

The "Outside of image" option decides whether the border adds to the picture or covers part of it. For a 1000 × 800 px photo with a 20 px border:

OptionWhat happensDownloaded size
Outside of image (ticked)The border is added around the photo. Nothing in the photo is covered.1040 × 840 px
Inside (unticked, default)The border is painted over the outer edge of the photo, so the outer 20 px are hidden.1000 × 800 px

Choose outside when nothing at the edge of your photo may be lost. Choose inside when the image has to keep its exact size, for example for a template slot or a fixed-size listing photo.

File types and quality

  • Upload: JPG, JPEG and PNG images.
  • Download: always a PNG. PNG is lossless, and the photo itself is not resized or recompressed, so it keeps its full quality.
  • Need a JPG? A PNG of a photo is often larger than a JPG. Convert it with PNG to JPG, or make it smaller with the Image Resizer.
  • Private: the border is added on your device and the image is never sent to a server.

Frequently Asked Questions

Common questions about adding a border to a photo or image.

Upload your photo, set the border width and color, choose whether the border goes inside or outside the picture, and click Download. It is free, needs no sign-up and adds no watermark.

Type #FFFFFF in Border Color and tick "Outside of image", so the white frame is added around the photo instead of covering its edges. Then set the width and download.

Yes. Set the thickness in pixels with the Border Width field or the − and + buttons, and choose any color with a hex code or the color picker. The tool adds a solid, square border.

Only when "Outside of image" is ticked. The image then grows by twice the border width in each direction: a 20 px border turns 1000 × 800 px into 1040 × 840 px. With the option unticked, the size stays the same.

No. The photo is not resized or recompressed, and the result is saved as a lossless PNG.

A PNG file. If you need a JPG, convert it with the PNG to JPG tool.

No. The border is drawn in your browser and your photo never leaves your device.

Yes. Open the page in your phone’s browser, upload a photo from your gallery, and download the result.