Add Border to Image
Add border to image: choose a photo, set the width and color, save. Whether a white border, an instant-photo look or rounded corners, everything runs in your browser and the image is never uploaded.
Source: W3C – Compositing and Blending Level 1: Porter-Duff destination-in and destination-out. Updated: .
How it is calculated
In short: The tool puts an even border around your photo. You give the width as a percentage of the shorter side, choose any color or make the border see-through. Everything runs in the browser, without an upload.
How it works
- Drag in an image, choose one or paste it with Ctrl + V.
- Set border width and color. The preview updates at once.
- Pick a style: “Border around the image” enlarges the file, “Border on the image” keeps the size and covers the image edge.
- Optionally add instant-photo style or rounded corners, then save.
The options
- Border width: in percent of the shorter side, so the same value looks alike on every image.
- Instant-photo style: three times as wide at the bottom as on the other sides, like an instant photo.
- Rounded corners: cuts off the corners of the result. That needs transparency, so the tool then saves as PNG.
- Transparent border: leaves the border see-through, handy as spacing for collages. Only PNG and WebP support transparency, JPG fills it with white.
Honest limits
- The border is a single color. There are no patterns, gradients or shadows.
- With “Border on the image”, the image edge under the border is lost.
- EXIF data is not kept. Very large images are reduced to the browser limit; on iPhone and iPad that is 16.7 megapixels.
Privacy
The image is processed only in your browser and is not uploaded.
Frequently asked questions
How can I add a border to an image?
Drag the image in, set width and color and click “Save image with border”. Free and without an upload.
How do I make a white border around a photo?
The border is white by default. Just set the width, for example 6 to 10%, and save the image.
How do I get an instant-photo look?
Turn on “Instant-photo style”. The bottom border becomes three times as wide as the others, typical for instant photos.
Can the border be transparent?
Yes, with “Transparent border”. The image is then saved as PNG, because only PNG and WebP support transparency.
Does the image size change?
With “Border around the image” the file grows by the border; with “Border on the image” the size stays the same.
Sources and legal basis
- W3C – Compositing and Blending Level 1: Porter-Duff destination-in and destination-out
- MDN – CanvasRenderingContext2D.globalCompositeOperation
- MDN – CanvasRenderingContext2D.arcTo() (rounded corners)
- ITU-T T.81 / ISO/IEC 10918-1 – JPEG
- W3C – Portable Network Graphics (PNG) Specification
- Google for Developers – An image format for the Web (WebP)
- AOMedia – AV1 Image File Format (AVIF)
- MDN – Image file type and format guide
- MDN – HTMLCanvasElement.toBlob()
- Open-source licenses of the libraries used (MIT, LGPL-3.0)
As of:
Related tools
- Circle crop an imageCrop an image into a circle: move and zoom the circle, save as PNG with transparent corners – perfect for profile pictures. Sizes and border, no upload.
- Crop Image OnlineCrop an image online without uploading: free selection, square 1:1, 4:3, 16:9 or 9:16, plus presets for Instagram and YouTube. Free, works on phones too.
- Free online photo editorEdit photos in your browser: brightness, contrast, saturation, warmth, filters like black and white or sepia, rotate and flip. Free, full resolution.
- Resize imagesResize images online by pixels or percent, keep the aspect ratio or crop to fit, with presets for Instagram and YouTube. Up to 20 images, no upload.
- Sticker Maker: Turn a Photo into a StickerPhoto in, sticker out: background removed, white border, meme-style text – saved as a WhatsApp sticker (512 px WebP) or for Telegram. No app, no upload.
- Instagram grid maker: split an image into tilesSplit one image into 3, 6 or 9 tiles for your Instagram profile grid, or into a seamless panorama carousel – with profile preview, posting order and ZIP.