How to Add a Border to an Image (and a White Border for Instagram)
Add a border to a photo in any colour, gradient or texture, set each side, round the corners, or pad to 1:1 or 4:5 for Instagram without cropping.
Updated November 7, 20268 min read
To add a border to an image, open the border tool, drop the photo in, choose a width and a colour, and save it as JPG, PNG or WebP. White is the classic colour. If your goal is to post a landscape or odd-shaped photo to Instagram without it being cropped, pick the square or 4:5 shape and the tool pads the shorter side with frame until the ratio matches, so the whole picture stays in view. Free handles one image at a time, up to 25 MB.
Which setting does which job
| You want to… | Use this | What happens |
|---|---|---|
| A plain frame around the photo | Border width + Colour | The canvas grows by that width on every side |
| Post a wide photo without cropping | Shape: 1:1 or 4:5 | The shorter side is padded until the ratio is reached |
| A Polaroid look | Caption space | Extra room is added below the photo only |
| A frame that fades from one colour to another | Frame fill: Gradient or Radial | Two colours blend across the whole frame |
| A paper or wood surface | Frame fill: Texture | Another image is used as the frame |
| Keep the file at its original size | Canvas: Never exceed the original size | The whole result is scaled down to fit |
Adding a border, step by step
Add the photo
Open the image border tool and drop the photo in. JPG, PNG, WebP, GIF, BMP and AVIF are all read. It all runs on your device, not our servers.
Start from a preset or from nothing
The presets are Polaroid, Square post, Gallery mat, Film edge, Neon glow, Sunset and Hairline. Each is only a starting point; every control stays adjustable afterwards.
Set the width and the colour
Under Frame size, drag Border width. By default one width applies to all four sides; untick "Same width on all four sides" to set Top, Right, Bottom and Left separately. Then pick the colour under Frame fill.
Check the output size
The panel shows the exact output size before you save. A frame makes the picture bigger, so a 1000 × 1000 photo with a 20 px border becomes 1040 × 1040.
Choose a format and download
Under Save as, pick PNG, JPG or WebP. JPG gives the smallest file, PNG is lossless and keeps transparency, WebP sits in between.
Solid, gradient or texture frames, per-side widths, rounded corners, rings and a shadow. Free: one image per run, up to 25 MB, saved at up to 4096 px on the long edge and 92% quality. Pro: batches of up to 100 at full quality.
Add a borderThe white border trick for Instagram
Instagram shows a feed photo inside a fixed frame. A landscape photo that is wider than that frame gets cropped, and a very tall one does too. The trick is not to crop at all: you add white (or any colour) bars to the short side until the picture has exactly the shape the platform wants. The photo stays whole and the bars become part of the design.
In the border tool, choose the Square post preset for 1:1, or open the Shape control and pick 4:5 for the taller portrait post. The tool only ever adds frame to the shorter side. It never crops, and your original pixels are placed at their natural size, so nothing inside the frame gets blurrier.
| Shape | Pixels to post at | Use it for |
|---|---|---|
| 1:1 square | 1080 × 1080 | Feed posts and most profile grids |
| 4:5 portrait | 1080 × 1350 | The tallest feed shape, so it fills the most screen |
| 9:16 story | 1080 × 1920 | Stories and Reels; a landscape photo gains wide bands top and bottom |
| 16:9 landscape | 1920 × 1080 | Slides, thumbnails and banners |
These are the ratios and standard sizes; the full list for every platform, including safe zones, is in social media image sizes. One thing to know: the border tool pads to the right shape but keeps your photo's own pixel scale. A 4000 × 3000 photo padded to 1:1 comes out 4000 × 4000. Run it through the image resizer afterwards to get exactly 1080 × 1080, which is all Instagram needs.
Border styles you can actually use
Under Frame fill there are four ways to paint the area around the photo, and they combine with rings and a shadow.
| Frame fill | How it looks | Good for |
|---|---|---|
| Solid | One colour at any opacity | White for posts, a colour picked from the photo for a designed grid |
| Gradient | Two colours blended along an angle you set (0 to 360) | Eye-catching stories and covers |
| Radial | Two colours blended outward from the centre | A soft glow around a product |
| Texture | Another image as the frame: tile, fill or stretch, with a scale | Paper, wood, marble or a pattern |
Rings are thin lines drawn inside the frame, up to three, each with its own width, colour and line style (solid, dashed or dotted). One ring in a mid-grey inside a wide off-white frame is the classic gallery mat; the Gallery mat preset is exactly that. If the rings reach further than the frame is wide, the tool tells you the outer one is cut off and how wide to make the border.
Rounded corners and a shadow
Corner radius rounds the outer corners of the whole framed picture, from 0 to 400 px, and the photo inside follows the curve. If you save as PNG or WebP, the corners outside the curve are transparent. Save as JPG and they are filled with black, because JPG has no transparency; the tool warns you before you save. For different radii on each corner, or a full circle, use round corners, and see cropping an image into a circle.
The shadow is switched on with Shadow behind the photo. It has Softness, Horizontal offset, Vertical offset, a colour and a strength. A small downward offset with low strength lifts the photo off a light background. Set both offsets to zero, pick a bright colour and raise the strength, and the same shadow becomes a glow, which is what the Neon glow preset does.
Borders for prints and frames
For a print, think in physical units and convert. Pixels equal inches times the print resolution, so at 300 pixels per inch a border of half an inch is 150 px. A wider border on the bottom than on the other three sides gives the weighted look of a mounted print; turn off the same-width option and give Bottom a larger number, or use Caption space.
A useful shortcut: an 8 × 10 inch frame has a 4:5 shape. Pad a portrait or landscape photo to 4:5 and it fits an 8 × 10 mat without any further cutting. For the resolution a print needs, see image DPI for printing. If your printer cannot print edge to edge, it trims the outer edge of the page, and a border added in the file is trimmed with it, so make it a little wider than you need.
Limits and what goes wrong
- Free handles one image at a time, up to 25 MB. Pro queues up to 100 images with the same settings and returns them as a single archive.
- Free saves at up to 4096 px on the long edge. A border grows the canvas, so a 4000 px photo with a 100 px frame would be 4200 px. The panel tells you the size it will be saved at before you press the button, and Pro lifts the ceiling.
- Free saves at up to 92% quality. Pro saves at full quality. Choose PNG when you need the encode to be lossless.
- Animated images are framed on their first frame only. A GIF will come out as a still.
- The border is part of the picture. It cannot be removed later except by cropping it off, so keep your original.
- Nothing is cropped for you. If a platform wants a shape the tool does not list (3:4, for instance), crop first with the image cropper, or set per-side widths by hand.
To put several photos on one canvas, with gaps between them, use the collage maker instead; the border tool frames one picture at a time.
Frequently asked questions
How do I add a white border to a photo for Instagram?
Drop the photo into the border tool and choose the Square post preset. The shorter side is padded with white until the picture is 1:1, and nothing is cropped. For a taller post pick 4:5 under Shape. Then resize to 1080 × 1080 or 1080 × 1350 before posting.
Can I set a different border width on each side?
Yes. Untick "Same width on all four sides" and Top, Right, Bottom and Left each get their own slider. Caption space is a separate control that adds room to the bottom only.
Does adding a border make my image bigger?
Yes, the canvas grows by the border width on each side, so 20 px around a 1000 × 1000 photo gives 1040 × 1040. If the file must keep its original size, set Canvas to "Never exceed the original size" and the whole result is scaled down to fit.
Will a border keep a transparent PNG transparent?
Yes, if you save as PNG or WebP. Lower the Opacity of the frame and the frame becomes see-through too. JPG cannot store transparency, so see-through areas are saved as black.
How wide can the border be?
Up to 400 px, or up to 50% of the photo's shorter side if you switch the unit to percent. Percent is the better choice when you frame photos of different sizes.
Is adding a border free?
Yes, with every styling control included. Free frames one image at a time, up to 25 MB, saved at up to 4096 px on the long edge and 92% quality. Pro adds batches of up to 100 and full quality.