Frame a photo with a plain border
Add a white, black or custom border. Set pixels or percentages, keep the whole photo for Instagram, and save one image or a batch ZIP in your browser.
Local browser processing · No upload · No account required
Choose a photo to start.
Click or tap the photo to pick a border colour. Or use the custom colour field.
Instagram modes use white padding and centre the whole photo. Opposite margins match; top and side margins depend on the photo shape. Rounded corners and the inner line are optional.
How to add a border to a photo
- Choose one photo, or up to 20 for a set. The first appears above the settings.
- Type the width in pixels or percent, or tick Set each side separately.
- Leave it on White, switch to Black, or tap the preview to pick a colour from the photo.
- For a post, pick Instagram 4:5 or Instagram square as the mode.
- Press Add border and download the result, or use Download all as ZIP for a set.
Two reasons I put a white edge around a photo
The first is Instagram. My Metelkova photos are landscapes, and a 4:5 post crops their sides: on the red bicycle, half the front wheel and the painted question-mark blocks on the wall. With Instagram 4:5 and the starting 50 px margin, the 1200 × 800 bicycle becomes a 1080 × 1350 file with the whole frame scaled to 980 × 653 in the middle. Less than half the post's height, and I still prefer it. The Metelkova figure lands in the same 980 × 653 box, so the two posts match.
The second is printing. I print 20 × 30 cm and A3 at a local lab and like a thin white edge on the paper, the way a mount frames a print. The A7 III shoots 3:2, the shape of a 20 × 30 print, and my 1200 × 800 bicycle copy has that shape too. A 50 px border makes it 1300 × 900, no longer 3:2, so the lab has to trim it or leave white strips on two edges. A 5 % border gives 1320 × 880: still exactly 3:2.
What my two test photos turned into
| Photo and setting | Saved file | Where the photo sits |
|---|---|---|
| Bicycle 1200 × 800, 5 % white | 1320 × 880 | 60 px at the sides, 40 px above and below |
| Bicycle, top 35, sides 40, bottom 70 px | 1280 × 905 | 1200 × 800 at 40, 35 |
| Bicycle, Instagram 4:5, 50 px | 1080 × 1350 | 980 × 653 at 50, 348 |
| Lake Jasna 960 × 1200, Instagram 4:5, 50 px | 1080 × 1350 | 980 × 1225 at 50, 62 |
The per-side row is my A3 setup. 1280 × 905 is close to the shape of a 420 × 297 mm sheet, with the deeper bottom margin a mount usually has.
Pixels and percentages describe different borders
A pixel border adds the same number of pixels on every side, so it looks equally thick on screen and the photo keeps its size. A percentage is measured against the photo: left and right against its width, top and bottom against its height. That is why 5 % on the bicycle gives 60 px and 40 px, and why the file keeps the shape of the paper. Save as PNG when the photo pixels must stay exact; JPEG and WebP are lossy.
Keep the complete photo on an Instagram canvas
Instagram 4:5 makes a 1080 × 1350 file, square makes 1080 × 1080. The photo is scaled to fit inside the margin and centred on white, never cropped. The margin is a minimum: my Jasna photo is 960 × 1200, already 4:5, yet it got 50 px at the sides and 62 and 63 px above and below, because the space inside the margins is not quite 4:5. At a margin of 0 it fills the frame.
A percentage margin is taken from the canvas’s shorter side. Per-side settings and border colours are off in these modes. When I would rather fill the frame and accept the crop, I use Resize Image for Instagram. Enlarging a small photo to 1080 px wide does not add detail.
One frame across a whole set
A batch applies the current settings to every selected photo, one file at a time. Pixel borders keep the same thickness on photos of different sizes; percentage borders grow with each photo. Rounded inner corners and the inner line, drawn just inside the photo edge in its own colour, both cover the outermost photo pixels, so I leave them at zero when the whole frame must show. Changing a setting clears earlier results; press Add border again before downloading.
What I settled on
- White for prints and Instagram; a picked colour when a set should share one tone.
- Percent for the lab, so the file keeps the paper shape. Pixels for screens.
- Rounded corners and the inner line stay at zero unless I want that look.
- PNG if I will edit the file again, JPEG for posting and sending.
Privacy
Your file never leaves your device. Borders, previews and downloads are created in your browser without uploading your photos. No account is required.
Frequently asked questions
Can I add a white border to a photo online free?
Yes. Choose the photo, leave the colour on White and type a width. There is no account and nothing to pay; the border is drawn in your browser.
How do I add a border for Instagram without cropping?
Pick Instagram 4:5 or Instagram square. The whole photo is scaled to fit on a white canvas and centred. The border field is the smallest margin; a landscape on a 4:5 canvas gets far more white above and below than at the sides.
What does a percentage border mean?
Left and right are a percentage of the photo width, top and bottom a percentage of its height, so 5 % on a 1200 × 800 photo gives 1320 × 880. In the Instagram modes the percentage is taken from the shorter side of the canvas.
Can I add the same border to several photos?
Yes. Select up to 20 photos, set the border once and press Add border. Download the results one by one or as a ZIP.
Do rounded corners change the photo?
Yes, a little. They replace the outermost corner pixels with the border colour. Keep the radius at zero when the complete rectangle must stay visible.
Related tools
- Image Resizer: Resize images by pixels, percentage or longest side.
- Image Cropper: Crop images to exact ratios or popular preset sizes.
- Put your photos together in one image: Join photos side by side, stacked or in a grid, with adjustable gaps and borders.
- Add text to your photo and keep it readable: Put captions on a photo with a gradient, tint or box behind them and a live contrast check.
- EXIF Viewer: Read the camera, settings, date and GPS location stored in a photo, or remove them.
- Blur faces, number plates and details in a photo: Blur or pixelate faces, number plates and other details in a photo.