Image Border Generator

Add a solid colour border around your image at any width and colour. The framed result downloads as a PNG.

Image Tools● Free No upload Instant

Loading Image Border Generator…

Your browser is preparing the tool. It runs 100% locally.

Quick answer

Pick a border width and colour, and the tool frames your image with a solid band of that colour. The output canvas grows by twice the width on each side, so a 20-pixel border adds 40 pixels to the width and height. The framed image downloads as a PNG, made in your browser.

What the Image Border Generator does

This wraps your image in a solid-colour border: a frame that separates the picture from a white page, gives a set of images one look, or adds a finished edge.

You set the width in pixels and pick any colour. The border is added around the outside, so the image itself is untouched; the overall image gets larger by the border on all four sides.

How it works

Drop or pick an image, set the border width, and choose a colour.

A canvas is created larger than the image by twice the border width, filled with your colour, and the image is drawn centred inside it.

Download the framed result as a PNG. Nothing is uploaded.

Processing pipeline

  1. Decode locally. Your browser loads the image on your device; it is not uploaded.
  2. Size the canvas. A canvas is made larger than the image by twice the border width on each dimension.
  3. Fill and place. The canvas is filled with your chosen colour, then the image is drawn inside it.
  4. Export the PNG. The bordered image is saved as a lossless PNG.

Privacy

Your browser draws the frame on your device. No server is involved.

No account and no stored copy; the bordered PNG exists only on your device.

The canvas re-encode means the output carries no EXIF or GPS metadata from the original.

Technical details

BorderSolid colour, any width
ColourYour choice (colour picker)
Output sizeImage plus twice the border each side
Output formatPNG (lossless)
ImageUnchanged inside the frame
MetadataEXIF/GPS stripped
Processing100% in-browser

Standards & references

  • Solid border: A uniform band of one colour added around the image. The canvas grows by twice the border width on each dimension.
  • PNG (lossless): Output is PNG, so the framed image keeps full quality with no compression loss.

Accuracy and limits

The border is a single solid colour of uniform width on all four sides. There is no gradient, pattern, texture or per-side control in this tool.

The output is larger than the input: a border of width B adds 2 times B to both the width and the height. A 1000 by 800 image with a 20-pixel border becomes 1040 by 840.

The image inside the frame is unchanged. The border goes around it, so none of the picture is covered.

The result is a lossless PNG. If you need a smaller file afterwards, run it through a converter or compressor.

Where people use it

Separate from a white page

Add a border so a light-edged image does not blend into a white background.

Consistent gallery look

Frame a set of images with the same colour and width for a tidy grid.

Polaroid or matte effect

Use a thick white or black border for a framed, gallery feel.

Brand accent

Frame images in a brand colour for social posts.

When it fits, and when it doesn't

Good for

  • Adding a clean solid frame
  • A consistent edge across several images
  • Separating an image from its background

Not the best choice for

  • Gradient, patterned or textured borders
  • Different widths or colours per side
  • Rounded frames (a separate tool does that)

For rounded corners use the rounded-corner image tool; for a border that sits over the image rather than outside it, use an editor.

Frequently asked questions

How wide can the border be?
Any width you enter in pixels. The border is added around the outside, so a larger width makes the framed output bigger.
Can I choose the border colour?
Yes, any colour from the colour picker. The default is a blue, but you can set white, black or any brand colour.
Does the border cover part of my image?
No. It is added around the outside, so the whole image stays visible. The output canvas grows to fit the frame.
How much bigger does the image get?
By twice the border width on each dimension. A 20-pixel border adds 40 pixels to the width and 40 to the height.
Can I use different widths or colours on each side?
No. The border is uniform: one width and one colour all the way around. Per-side control needs an editor.
Can I make a gradient or patterned border?
No. This tool draws a single solid colour. For gradients, patterns or textures you would need a graphics editor.
What format do I get?
A PNG, which is lossless, so the framed image keeps full quality.
Does it round the corners?
No. The frame has square corners. For rounded corners, use the rounded-corner image tool instead.
Is my image uploaded?
No. Your browser adds the border without a server and stores nothing.
Does it keep transparency in the image?
The border itself is solid, but transparent areas of the original stay transparent where the image sits, since the output is PNG.
Will the file be larger?
Slightly, because the canvas is bigger and PNG is lossless. Run it through a compressor if you need a smaller file.
Can I add a border to several images at once?
This tool handles one image at a time. Repeat it for each image to keep the frame consistent.

References

Draws a solid frame of your chosen colour and width around the image on a canvas; the output grows by twice the border width on each side, and it is a lossless PNG made in your browser.

PopularHot

Image Compressor

Drag the quality slider and watch the JPEG size drop.

ImageOpen
PopularNo Upload

Image Resizer

Set exact pixel dimensions with the aspect ratio locked.

ImageOpen
Popular

Image Cropper

Drag a box and keep only that part of the picture.

ImageOpen
Popular

Favicon Generator

Make 16, 32 and 180 pixel favicon PNGs from one image.

ImageOpen
Popular

Image to PDF

Put JPGs or PNGs into one PDF, one image per page.

ImageOpen
Trending

PNG to WebP Converter

Shrink a PNG to WebP and keep the transparency.

ImageOpen

Back to the Image Border Generator

Your image stays on this device. There's no account and no charge.