Photo Border Maker

Add a clean border, a gallery mat, rounded corners or a polaroid frame. Set the width and colour, and download the framed image.

Press Ctrl+D (or ⌘D on Mac) to bookmark this page.

Style

A thin line between photo and border, like a gallery mat.

Preview

Framed preview

The preview is scaled down. The download uses the full pixel width you set.

The Three Styles

Style What it does Best for
Solid borderEven margin on all four sidesSocial posts, print mats, giving a photo breathing room
Rounded cornersBorder plus rounded outer corners, saved with transparencyCards, app screenshots, website components
PolaroidThin top and sides, deep bottom marginScrapbook layouts, leaving room to write a caption

The inner line sits between the photo and the border. A dark hairline against a white mat is what most galleries use, and it stops a light photo bleeding into a light frame.

Rounded corners must be saved as PNG or WebP. JPG cannot hold the transparency, so the corners come back filled with black.

Choosing a Width

Border width should be proportional to the image, not a fixed number you reuse everywhere. A 40 pixel border on a 4000 pixel photo is invisible.

Image width Subtle Noticeable Gallery mat
800 px8 px24 px60 px
1080 px10 px32 px80 px
1920 px18 px58 px145 px
4000 px40 px120 px300 px

The rule behind those numbers: about 1 percent of the width for subtle, 3 percent for noticeable, 7.5 percent for a gallery mat.

Adding a border changes the aspect ratio. A square photo with an even border is still square, but a 16:9 photo with a 100 pixel border is no longer 16:9. If the platform expects an exact ratio, add the border first and crop second, not the other way round.

Doing It in GIMP

Two routes, depending on whether you want a plain border or something decorative.

Plain border:

  1. Image > Canvas Size. Untick the chain, add twice your border width to each dimension.
  2. Press Center, then Resize.
  3. Image > Flatten Image. The new space fills with your background colour.

Decorative frames: Filters > Decor > Add Border gives a bevelled edge, and Filters > Decor > Fuzzy Border makes a soft ragged edge. Both are Script-Fu, so they apply to pixels and cannot be edited afterwards. Work on a duplicate.

For a whole folder, the Script-Fu generator has a border recipe ready to run.

Common Questions

Why are my rounded corners black?

You exported as JPG. Choose PNG or WebP.

Can I have a different width on each side?

Only through the Polaroid style, which gives a deeper bottom. For anything else, use Canvas Size in GIMP where you control each edge.

Does the border affect print size?

Yes. The image gets physically larger. Recheck the numbers with the DPI and print size calculator before sending it off.

Related Tools