Add a Border to an Image

A frame changes how a photo sits in a feed, a document or a print. Add one in any colour and width without cropping or rescaling the picture.

Add a Border to an Image

Drop an image to edit

Or choose a file from your device

JPG, PNG, WebP, AVIF, GIF or HEIC · one image · max 40 MB

Everything is drawn in this tab — the image is never uploaded.

No image added yet.

Three steps — nothing to install

  1. Add the photo

    JPG, PNG, WebP, AVIF, GIF or HEIC up to 40 MB.

  2. Set the border

    Width in pixels and a colour. The output grows by twice the width: 24 px on each side on a 1000 px photo gives 1048 px.

  3. Download

    JPG, PNG or WebP; transparency inside the photo survives in PNG and WebP.

Border, frame or padding?

The border here is a solid band around the outside of the photo. A 24 px white band on a dark feed makes the picture look like a print; a wide coloured band turns it into a card. Because the band is added outside the image, no pixel of the photo is lost or moved.

For a filled background that also changes the shape of the picture — a square canvas around a portrait, for example — use the pad-to-square page. For rounded corners, use the round-corners page; the two effects are different jobs.

Choosing a width

The right width depends on where the image will be seen. A thin 8–16 px border reads as a hairline on a full-size photo; 40–80 px reads as a deliberate mount; a very wide band works for a quote card or a print with a caption area. Watch the preview: it renders at the real proportions, so an oversized border is obvious before you download.

Borders are not limited to white. A colour pulled from the photo makes the frame feel intentional, and a neutral grey is safer than pure black for screens.

Formats and limits

PNG and WebP keep any transparency the photo already had; JPG fills it with white along with the border. The output is a new file at border-inclusive dimensions, encoded once, and the original is untouched.

The image is never uploaded. Decoding, drawing and encoding happen in the tab, and the page makes no request beyond its own assets.

Frequently asked questions

Does the border crop the photo?No. The border is added around the outside, so the photo keeps all its pixels and its resolution.
Can I add a border to only one side?Not on this page; the band is even on all four sides. For an asymmetric margin, pad the image and crop instead.
What width should I use?8–16 px for a hairline on a large photo, 24–48 px for a visible frame, 80 px or more for a card or print mount.
Can the border be transparent?The band is painted with the chosen colour. Transparent corners belong to the rounded-corners tool.
Is the photo uploaded?No. The frame is drawn on a canvas in this browser tab.