Add a border

Frame a photo with an even white, black or light grey border, added around the edge so none of the picture is covered.

or drop them here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.

Output format
Border width40px
Border colour
Quality82
Processed on this device
  • Runs on your device
  • No sign-up or watermark
  • No fixed file size cap

The short answer

To add a border to an image, open it, choose a Border width of 4 to 200 pixels and white, black or light grey, then save. The border is added outside the picture, so the canvas grows and nothing in the photo is covered. It works on batches and runs in your browser, so your images are never uploaded.

How to add a white border to a photo

  1. STEP 1

    Open your images

    Choose one photo or a batch. Every image gets the same border.

  2. STEP 2

    Set the border width

    Drag Border width between 4 and 200 pixels; 40 is the default. It is measured in image pixels.

  3. STEP 3

    Pick a colour

    Choose White, Black or Light grey under Border colour.

  4. STEP 4

    Choose format and save

    JPEG at quality 82 is the default. Download the framed image or a ZIP of the batch.

Why add a border

A border separates an image from whatever surrounds it. A white frame makes a photo look printed and mounted, and is a common way to post a non-square picture on a square grid without cropping it. A black frame adds weight and suits dark, moody images or slides with a dark theme.

Adding the border outside the picture matters. A border painted over the edge hides part of the image; one added around it keeps every pixel and simply makes the canvas larger.

What survives, and what does not

The output canvas is made larger by twice the border width in each direction and filled with the border colour, then your image is drawn in the centre. A 3000 by 2000 photo with a 40-pixel border becomes 3080 by 2080. The border width is the same on all four sides.

What you keep

Every pixel of the original; nothing is covered or cropped

Full resolution, with the canvas enlarged around it

An even border on all four sides

What you lose

Custom colours; the choices are white, black and light grey

Uneven or print-style mats with a deeper bottom edge

EXIF metadata, and any transparency in the source is filled with the border colour

Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.

Add a border at a glance

InputJPEG, PNG, WebP, AVIF, HEIC, TIFF and more
OutputJPEG, PNG, WebP or AVIF
Border width4 to 200 px, equal on all sides
ColoursWhite, black, light grey
BatchYes
Runs onYour device, in the browser

If something goes wrong

The border looks thin on my large photo

Width is in image pixels, so 40 pixels is generous on a small image and slim on a 6000-pixel one. Increase it, or resize the photo down first.

My logo’s transparent background turned white

The border colour fills the whole canvas behind the image, including transparent areas. That is expected with this tool.

Add a border questions

How do I put a white border around a photo?

Open it, leave Border colour on White, set Border width and save. The border is added around the outside, so the photo is not cropped and the output is slightly larger in both dimensions.

Can I add a border to make a photo square without cropping it?

Not with this tool. It adds the same width on every side, so a landscape photo stays landscape with a frame around it. To get a square, crop to Square first and then add the border, accepting that the crop trims the long sides.

Does adding a border cover part of my picture?

No. The canvas grows by the border width on each side and your image sits in the middle at full size.

Is my image uploaded to add the border?

No. The framing is done in your browser on your own device, and the file is saved straight from the tab.

Can I add a border in any colour?

Not yet. The options are white, black and light grey, which cover most framing needs. A custom colour picker is not available on this page.

One of 153 file tools and planned additions. Built and tested by Arin Prajapati, last checked against the code on . canonical: https://damnfiles.com/add-image-border
Analytics preferences

Help us understand which tools and file types people use. File contents always stay on your device.

Filename sharing is optional and off by default. Names can contain personal information. Changes apply to future events; disabling sharing does not delete earlier records.

Read our privacy policy