Add a border or frame around a picture

The tool adds a frame of the width and colour you choose around the outside of each picture, in solid, double-line or rounded style, so nothing of the photo is covered.

Live demo · real result from this tool

Drop images here

or paste with Ctrl+V · nothing is uploaded

Style

Your result appears here — processed on your device.

Processed on your device — nothing is uploaded.

How to use Image Border

  1. Choose one or more images.
  2. Set Border width (1–200 px, starts at 24 px).
  3. Pick a Colour (the default is a near-black #111827).
  4. Choose Style: Solid, Double or Rounded. With Rounded, also set Corner radius (0–300 px, default 40 px).
  5. Pick Save as and Quality, press Apply, and download the files ending in -framed.

What it does and when to use it

A frame separates a picture from the page around it. That matters when a light photo sits on a white website, when screenshots go into a document, or when you want a polaroid or gallery look for social posts. A thin dark line makes screenshots look neat, a wide white border gives a print-style mat, and a rounded frame matches modern app cards.

For uneven or proportional space, such as padding a product photo to a square, use Image Padding. For corners cut round without adding a frame, use Image Round Corners. To label the picture as well, add a strip of text with Image Caption.

How it works

In a Web Worker on your device, the tool creates a larger canvas filled with your colour and draws the picture in the middle. For Double, it nests three layers: a coloured line one third of the width, a gap in the gap colour (white by default), and another coloured line. For Rounded, it adds the solid frame and then makes the area outside a smooth rounded rectangle transparent, with anti-aliased edges.

The picture’s pixels are copied in as they are, so transparent areas inside the original stay transparent rather than taking on the frame colour.

Worked examples

Results from the tool’s own function.

Original Settings Saved image
400 × 300 px Solid, 24 px 448 × 348 px
4000 × 3000 px Solid, 24 px 4048 × 3048 px
400 × 300 px Double, 24 px 448 × 348 px: 8 px colour, 8 px white, 8 px colour
400 × 300 px Rounded, 24 px, white, radius 40 448 × 348 px with transparent corners (a JPEG original is saved as PNG)

A screenshot for a manual. A 1280 × 720 px screenshot with a 2 px Solid border in a mid grey becomes 1284 × 724 px and no longer blends into a white page.

Limits and tips

  • Double needs a width of at least 3 px; below that it draws a solid line.
  • A white Double frame needs a different gap colour to show two lines, since the gap is white by default.
  • The new image is larger, so check any upload size rules afterwards. Compress Image to 200 KB can help.
  • No EXIF data from the original is kept.

Frequently asked questions

Does the border cover the edge of my photo?
No. It is added outside, so the image grows by twice the border width in each direction. A 1080 × 1080 px photo with the default 24 px border becomes 1128 × 1128 px.
Why does the same border look thin on one photo and thick on another?
The width is in pixels, not a percentage. 24 px is bold around a 400 px thumbnail but a hairline around a 6000 px camera photo. Resize your photos to the same size first if you want matching frames.
How does the double style work?
It splits the width into three equal parts - a coloured line, a gap and another coloured line. With 24 px you get 8 px of colour, 8 px of gap and 8 px of colour. The gap is white unless you pick another colour in Gap between the lines.
Why was my rounded JPEG saved as a PNG?
Rounded corners are transparent outside the curve, and JPEG cannot store transparency. With Save as left on the original format, the tool saves a PNG and tells you. If you pick JPEG on purpose, the corners are filled with white.
What does a Corner radius of 0 do?
With the Rounded style, 0 is treated as twice the border width, so a 24 px border gets 48 px corners. Choose Solid for square corners.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close