Search tools

Find a tool by name or what it does.

Add a Border to an Image

Put a clean solid border around any photo, in any color.

Image
Drop an image here or click to browse
or paste from clipboard (Ctrl+V) · JPEG, PNG, WebP
Files stay in your browser. Nothing is uploaded.

How to add a border to an image

  1. Drop in your image

    Drag a JPEG, PNG, or WebP onto the drop zone, click to browse, or paste from your clipboard.

  2. Set the width and color

    Drag the slider for thickness and pick a color, or choose any custom color.

  3. Square it off if you need to

    Turn on Make it square to pad the shorter side, which fits a landscape photo into a square feed without cropping.

  4. Download the result

    Save the bordered image in its original format.

Why use this tool

Nothing is cropped

The border is drawn outside the picture on a larger canvas, so the edges of your photo are never covered or trimmed away.

Scales with the image

Width is set as a share of the shorter side, so the same setting looks right on a wide banner and a tall portrait without doing the maths.

Square without cropping

Squaring pads the shorter dimension in the border color rather than cutting the longer one, which is how a landscape shot fits a square feed intact.

Keeps your format

A JPEG comes back as a JPEG and a PNG as a PNG, so file sizes stay in the range you expect.

Nothing leaves your browser

The image is drawn locally and never uploaded, so unpublished photos stay on your device.

About this tool

A border does two jobs. It separates a photo from whatever it is sitting on, which is why prints, gallery walls, and product shots almost always have one. And it changes the shape of the file, which is why people reach for it before posting to a feed that expects a square. This tool does both: drop in an image, set a thickness and a color, and download the result.

The border is added around the picture rather than painted on top of it, so the canvas grows and none of your image is lost. Thickness is expressed as a percentage of the shorter side, which means one setting looks consistent across a wide banner and a tall portrait instead of being invisible on one and overwhelming on the other. Four common colors are one click away, and the color picker takes any value if you are matching a brand.

Make it square pads the shorter dimension out to match the longer one in the same color, then adds the border around the result. That is the difference between a square crop, which throws away the sides of a landscape shot, and a square pad, which keeps the whole photo and fills the gaps. The output keeps the format you started with. To change the pixel size instead, use the image resizer, to trim rather than pad use the image cropper, and for soft corners try rounded corners.

Frequently asked questions

Does the border cover part of my photo?
No. The canvas is made larger and the border fills the new space, so every pixel of the original image is still there.
How do I make a photo square for social?
Turn on Make it square. The shorter side is padded in your border color so a landscape or portrait photo becomes square without any cropping.
Which formats can I use?
JPEG, PNG, and WebP. The result comes back in the same format you started with, so file sizes stay predictable.
Is my image uploaded anywhere?
No. Everything is drawn in your browser, so the photo never leaves your device and nothing is stored.
What happens with very large images?
Extremely large results are scaled down to stay within the browser size limit, and a note tells you when that happened.

Related tools