Add a Border to an Image Online
Frame JPG, PNG or WebP photos using custom border thickness, color and inner padding, then export a full-resolution PNG.
Add a border to your image
Frame your photo with a custom color, thickness and inner spacing.
Choose a JPG, PNG or WebP image from your device.
Your picture stays in your browser, not on our servers. Up to 8 MB and 8 million pixels.
Bordered image preview
Adjust the colors and width, then review the preview before download.
Output size:
Finished image
How to use
- 1
Select a static JPG, PNG or WebP image from your phone or computer.
- 2
Use Border thickness to choose the outer frame width, then select its color.
- 3
Set the inner spacing and its color, checking the live preview and final dimensions.
- 4
Press Create PNG image, inspect the resulting full-resolution frame and download it.
About this tool
Add Border to Image creates a visible frame around a photo, logo, illustration or graphic without trimming the content of the original picture. Choose a JPG, PNG or WebP image, then adjust the outer border thickness and color. Add an optional band of inner spacing between the border and the source image, with a second color for that inner area. You can create a thin line, a bright solid frame or a spacious two-tone border that leaves the original image unobstructed.
The frame is added outside the source image, so its pixel dimensions grow instead of reducing the original area. For example, a 600×400 image with a 20-pixel border and 10-pixel inner spacing becomes 660×460 pixels. The live preview shows the actual frame, while the downloadable PNG is drawn at the chosen full output resolution. Border width and spacing can each be set from 0 to 120 pixels in 2-pixel increments; when both are zero the original composition remains unframed.
This is different from Crop Image, which removes an area, and from Add Images, which places image layers on top. Here you are only adding a solid-color rectangular frame with an optional inner gap. Input images must be static JPG, PNG or WebP up to 8 MB, 8 million pixels and 6000 pixels per side. The finished canvas must not exceed 12 million pixels or 8000 pixels per side; if the border pushes it past those limits, reduce the border or spacing. Compatible source alpha transparency is retained in the photo area but the frame and inner spacing use solid colors. All parsing, previewing and exporting happen locally in the browser, without uploading photos or using a paid API. PNG outputs can be larger than the original compressed JPG or WebP file.
Frequently asked questions
Will adding a border crop or stretch my original image?
No. The outer border and optional spacing are added outside the source pixels, preserving the original picture size and proportions inside the result.
What is the difference between border thickness and inner spacing?
Border thickness controls the outer colored band. Inner spacing adds a second colored band between the border and the photo, leaving more distance from the frame to the content.
Can I choose two colors?
Yes. The border and inner spacing have independent color pickers. You can give them matching colors for a single thick band or contrasting colors for a two-tone frame.
Which image formats work?
Static JPG, PNG and WebP can be opened, and the result is downloaded as a PNG image. Animated images are not supported.
Does the border increase image dimensions?
Yes. Each edge gains both the border thickness and the inner spacing. The result dimensions are shown live; limits protect devices from excessively large canvases.
Does the website upload my photo?
No. The tool checks, decodes, frames and exports the image inside your browser, without uploading it to the Toolaros server.