Add Border to Image
Upload any image and add solid, dashed, dotted, gradient, or rounded borders instantly
Drag & drop an image here, or click to browseSupports PNG, JPG, WebP, GIF, BMP, SVG, AVIF
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
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.
ring-photo.jpg (800×800)
Border: 8px solid
Color: #D4AF37 (gold)
Corners: 0px
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.
slide-03.png (1080×1080)
Border: 20px solid
Color: #FFFFFF
Corners: 24px
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.
talk-slide.png (1920×1080)
Border: 12px gradient
Color 1: #7C3AED (purple)
Color 2: #2563EB (blue)
Corners: 16px
talk-slide-bordered.png
1944×1104 with gradient frame
Eye-catching purple→blue transition
Who Uses This
Frame product photos so listings don’t blend into marketplace backgrounds.
Add consistent branded borders across carousel posts and stories.
Quick mockup framing without opening Figma or Photoshop for a two-second job.
Separate inline images from surrounding text with a subtle border or rounded corners.
Common Mistakes
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.
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.
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
- Processing: 100% client-side — nothing uploaded
- Browser Support: Chrome, Firefox, Safari, Edge
- Input Formats: PNG, JPG, WebP, GIF, BMP, SVG, AVIF
- Output Format: PNG (lossless, preserves transparency)
- Max Size: Limited only by your browser’s available memory
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.