Add a Border to an Image
Add a solid frame around an image in your browser. Choose the width and color; the output grows by twice the width. PNG, JPEG or WebP out.
What this add a border to an image does
A frame of the chosen width is painted around the picture, so the output is larger than the input by twice the width in each direction. It is a solid fill with square corners, which is what a photo print, a thumbnail row or a marketplace listing expects; if you want the new area transparent instead of colored, the padding tool does that.
How to use it
Add a Border to an Image: choose an image file from the file picker and press Run, after setting Border width (px), default 12, Border color (default "#000000"), Output format (default "png") and Quality (JPEG and WebP), default 90 to get the result image below.
Why it runs in your browser
The work is done locally with JavaScript and the canvas. That means the tool keeps working offline after the page loads, and a private picture is never sent anywhere.
A frame of the chosen width is painted around the picture, so the output is larger than the input by twice the width in each direction. It is a solid fill with square corners, which is what a photo print, a thumbnail row or a marketplace listing expects; if you want the new area transparent instead of colored, the padding tool does that.
Add a solid frame around an image in your browser. Choose the width and color; the output grows by twice the width. PNG, JPEG or WebP out.
How to use it
Add a Border to an Image: choose an image file from the file picker and press Run, after setting Border width (px), default 12, Border color (default "#000000"), Output format (default "png") and Quality (JPEG and WebP), default 90 to get the result image below.
Why it runs in your browser
The work is done locally with JavaScript and the canvas. That means the tool keeps working offline after the page loads, and a private picture is never sent anywhere.
What to Expect
Best for
- Converting image file to result image when the data is already on screen.
What this tool keeps
- That means the tool keeps working offline after the page loads, and a private picture is never sent anywhere.
Frequently asked questions
How do I use the add a border to an image?
Add a Border to an Image: choose an image file from the file picker and press Run, after setting Border width (px), default 12, Border color (default "#000000"), Output format (default "png") and Quality (JPEG and WebP), default 90 to get the result image below.
Is my input uploaded?
No. The file is read with the browser's File API and processed on this page; the bytes are never posted to a server.
Is there a size limit?
Yes: 25 MB per file. A larger file is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.