Tools

Home
Image ResizerImage CompressorBlur ImageGrayscaleWatermarkCrop Image

Add Border to Image

Upload any image and add solid, dashed, dotted, gradient, or rounded borders instantly

Your files never leave your browser

Drag & drop an image here, or click to browseSupports PNG, JPG, WebP, GIF, BMP, SVG, AVIF

10px
#000000
135°
0px
Ready — upload an image to begin·

Drop any image here and add a solid, dashed, dotted, or gradient border in seconds — pick color, width, style, and rounded corners with a live preview. No Photoshop, no account, no waiting. And everything runs in your browser. Nothing gets uploaded.

How It Works

Upload Image
→
Set Border Style
→
Download PNG

Your browser draws the image onto an HTML Canvas element, then renders the border around it based on your settings. The Canvas API handles all the pixel work — solid borders get drawn directly, gradient borders use a linear gradient fill across the frame. Hit download and the canvas exports as a lossless PNG.

Examples

Framing a Product Photo for Etsy

You shot a ring on a white background. Adding a thin gold border makes it pop in search results.

INPUT
ring-photo.jpg (800×800) Border: 8px solid Color: #D4AF37 (gold) Corners: 0px
OUTPUT
ring-photo-bordered.png 816×816 with gold frame Clean separation from any background

Instagram Carousel with Rounded White Borders

Matching borders across a set of carousel slides so they look consistent in the feed.

INPUT
slide-03.png (1080×1080) Border: 20px solid Color: #FFFFFF Corners: 24px
OUTPUT
slide-03-bordered.png 1120×1120 with white border Rounded corners at 24px radius

Gradient Border on a Conference Talk Screenshot

A speaker wants their slide screenshot to stand out in a tweet. A purple-to-blue gradient border grabs attention without editing the slide itself.

INPUT
talk-slide.png (1920×1080) Border: 12px gradient Color 1: #7C3AED (purple) Color 2: #2563EB (blue) Corners: 16px
OUTPUT
talk-slide-bordered.png 1944×1104 with gradient frame Eye-catching purple→blue transition

Who Uses This

🛍️ Online Sellers

Frame product photos so listings don’t blend into marketplace backgrounds.

📱 Social Media Managers

Add consistent branded borders across carousel posts and stories.

🎨 Designers

Quick mockup framing without opening Figma or Photoshop for a two-second job.

📝 Bloggers

Separate inline images from surrounding text with a subtle border or rounded corners.

Common Mistakes

Border too thick for the image size

A 50px border on a 200×200 thumbnail eats half the visible area. Start with 3–5% of the image’s shortest side and go from there.

White border on a white background

The border disappears when the image sits on a white page. Use a light gray (#E5E7EB) instead — it reads as white but still creates a visible edge.

Corner radius higher than border width

Setting a large radius with a thin border can look off — the curve clips awkwardly. If you want rounded corners, bump the border width up to at least half the radius value for a clean look.

Technical Details

Frequently Asked Questions

How do I add a border to a photo without Photoshop?

Upload your photo here, pick a border width and color, and download the result. The whole thing takes about 10 seconds. No account, no software install, no watermark.

Can I add a border to a JPEG and keep it as JPEG?

The tool outputs PNG files to avoid JPEG compression artifacts around the border edges. If you need JPEG, convert the downloaded PNG afterward — but PNG is usually the better choice since borders are sharp lines that JPEG tends to blur.

What’s the difference between groove, ridge, and double borders?

Groove looks like it’s carved into the surface — darker on top-left, lighter on bottom-right. Ridge is the opposite, raised out of the surface. Double draws two parallel lines with a gap between them. Groove and ridge need at least 3–4px width to be visible.

Does adding a border change my image dimensions?

Yes. The border gets added around the outside, so a 1000×800 image with a 10px border becomes 1020×820. Your original image stays the same size inside — nothing gets cropped or scaled.

Is my image uploaded to a server?

No. Everything runs in your browser using JavaScript and the Canvas API. Your image never leaves your device. There is no server involved at all — which also means it works offline once the page has loaded.

Share: