Skip to content
Allin

Add a border to an image

Frame a picture with a solid border of the width and colour you pick.

10 / 10 free files today

Add a border to an image works straight from this page — free, instant, nothing to install. You will find it under Editing & resizing, with Add Line to Image and Add margins to an image for the neighbouring cases.

How to use it

  1. Open the tool — no signup or install needed.
  2. Enter your input or adjust the available options.
  3. Get your result instantly, then copy or download it.

Frequently asked questions

What is Add a border to an image?

Frame a picture with a solid border of the width and colour you pick.

When would I actually use this?

Preparing an image for somewhere specific: cropping to an aspect ratio, resizing under an upload limit, straightening a photo, or shrinking a file that is too heavy.

What is the most common mistake?

Enlarging a small image and expecting detail. Upscaling invents pixels from the ones already there; it can smooth an image but it cannot add information that was never captured.

How is Add a border to an image different from Add Line to Image?

They sit next to each other but answer different questions: Add Line to Image is the one to open when you need it to draw freehand lines on an image — pick color, width and style, undo, and download — all in your browser. Pick whichever matches what you're starting from — both are free.

Is there a tool for the next step?

Add margins to an image is the closest one after this: Pad a picture with empty space so it fits a frame or a post.

What else is worth having open alongside it?

Add Text to Image and Add watermark — they come up in the same task often enough to be worth a second tab.

Where do the figures come from?

Editing goes through the browser's canvas, and the output carries no watermark. Re-saving a JPEG re-compresses it, so work from the original rather than from an already-edited copy.

Further reading

All guides
GuideHiding a Face, a Plate or an IBAN in an Image — PermanentlyBlur and pixelation are reversible — not by undoing the maths, but by guessing forwards. Against this tool's own blur and pixelate modes, a recovery attack returned the hidden value at rank 1 of 10,000. Both modes have since been removed. Here is what is left, and why it cannot be attacked the same way.ExplainerWatermarking: What It Protects, and What It Does NotA visible mark lives in the pixels, so it survives every copy — and degrades the image for every honest viewer at the same time. Measured: what a corner mark costs, what a tiled mark costs, and how each compares to metadata credit, Content Credentials and invisible watermarking.GuideFavicons: What Sizes You Actually Need in 2026Five files cover every consumer that exists: the tab, the bookmark, the pinned tile, the Android home screen and the iOS home screen. The twenty-file lists are a dead browser matrix — with measurements showing what a 16-pixel icon can and cannot hold.How-toHow to Compress an Image Without Losing QualitySmaller images load faster and rank better. Here's how to shrink an image the smart way — format, resolution and compression level — without visible loss.ExplainerStripping Photo Metadata: What Actually Comes OffA JPEG can carry six separate metadata blocks, not one. We built a file holding all of them — coordinates, camera serial, a hidden thumbnail, XMP, IPTC, a comment — pushed it through the cleaner, and read the output byte by byte to see what survived.How-toExtracting a Few Pages from a Statement Without Installing AnythingA landlord wants page 3. An accountant wants January. You need to send those pages and not the eleven others, and there is a trap: the obvious way leaves the removed pages inside the file you send.