Add a border to an image
Frame a photo, logo or screenshot with a border of any colour and width, or pad it to a square, in your browser. Nothing is uploaded or stored.
Add border to image in three steps
A plain border lifts a screenshot off a white page, gives a product photo some room, or makes a set of pictures look like they belong together. This page adds one of any colour and width, and can pad a picture out to a square without cropping it.
How to use it
Choose a picture and the preview shows it with a 40 pixel white border. Type a different width in pixels, from 0 to 2,000, and pick a colour with the colour control. The preview and the size below it update as you change them. When it looks right, download it.
The width is in pixels of the picture, not of the screen, so the same setting looks thinner on a large photo than on a small icon. As a guide, 2 to 5 per cent of the shorter side reads as a frame, and more reads as a mount.
Padding to a square
Some places show every picture as a square and cut off what does not fit. Ticking pad to a square adds extra border to the shorter sides, so the whole picture shows in the middle of a square. With a 0 pixel border it adds only the padding, which is a quick way to square up a wide photo without losing its edges.
When the difference cannot be split evenly, the spare pixel goes below or to the right, so the picture itself is never shifted off whole pixels or resized.
What it keeps
The picture is not scaled or re-sampled; it is placed into the larger canvas as it is. A photo stored sideways with an orientation flag is turned upright first. A JPG is saved as a JPG again, which loses a little quality as any JPG edit does, so start from a PNG when you can. The output is capped at 12,000 pixels a side, past which a phone browser cannot draw it.
To round the corners as well, run the result through Round image corners. To lay several pictures together with a gap between them, use Combine images.
Nothing leaves the device
The border is drawn by your browser on your device. There is no upload, no account and no stored copy.
- 1
Choose a photo, logo or screenshot
- 2
Set the border width and colour, and square if you need one
- 3
Download the framed picture
Frequently asked questions
Does the border cover part of my picture?
No. The border is added around the outside, so the picture keeps every pixel and the finished file is larger by twice the border in each direction.
What does pad to a square do?
It adds extra border to the shorter sides so the result is square, with the picture in the middle and nothing cropped. A 1200 by 800 photo with a 40 pixel border becomes 1280 by 1280.
What format is the result?
The format of the picture you chose when the browser can write it, so a JPG stays a JPG and a PNG keeps its transparent areas. AVIF and GIF are saved as PNG.
Is my image uploaded?
No. The border is drawn in your browser and the picture never leaves your device.