How to Add a Border to Images Online

Pixcut – Free Online Photo Editor & Image Tools

A border is the simplest way to make a set of images feel like a collection — and to stop white product shots disappearing into a white page.

7 min read1,519 wordsUpdated 2026-11-11

Pixcut Preview of a hot-air balloon photo cropped square with a wide white border
Screenshot of the Pixcut editor — Preview of a hot-air balloon photo cropped square with a wide white border.

Key takeaways

  • Pixcut adds the border around the outside, so nothing in the picture is covered.
  • The output grows by twice the thickness in each direction: 1000 × 1000 with a 20 px border becomes 1040 × 1040.
  • Thickness is measured in output pixels, after resizing.
  • To hit an exact final size, subtract twice the border from the resize target.
  • Transparent PNG and WebP images keep their transparency inside the border.

Why add a border?

Borders are an old design trick that still works. They separate a picture from its surroundings, give a series a shared visual identity and can make digital images feel like prints. Some specific situations where a border helps:

  • White products on white pages. A thin grey line stops the image edge disappearing.
  • Social media series. A consistent white or brand-coloured frame makes posts recognisable in a feed.
  • Portfolio grids. Equal borders create calm, even spacing between very different photos.
  • Print-style presentation. A wide off-white border imitates a photo mat.

How borders work in Pixcut

Pixcut adds the border outside the image after cropping and resizing. Nothing in the picture is covered, which means the final file grows. The status bar under the stage always shows the true output size, including the border, before you export.

The border is a single solid colour. Its thickness is the same on all four sides and is measured in output pixels — the pixels of the final image, not the original.

Adding a border, step by step

  1. Add images to the Pixcut editor and open the Border tab.
  2. Enter a Thickness in pixels.
  3. Pick a Colour with the colour picker.
  4. Switch to Preview to check the result.
  5. Press Process this image or Process all images.
  6. To remove the border later, set thickness back to 0 and process again.

Hitting an exact final size

Because the border adds to the dimensions, work backwards when you need a precise result. The formula is simple: image size = final size − 2 × border.

Final size neededBorderResize the image to
1080 × 108040 px1000 × 1000
1080 × 135030 px1020 × 1290
1920 × 108020 px1880 × 1040
1200 × 12002 px1196 × 1196

Set the crop ratio first, enter the reduced width in the Resize tab, then add the border. The status bar will show the exact final dimensions.

Choosing thickness and colour

UseSuggested thicknessColour idea
Product grid on a white page1–3 pxLight grey such as #D0D5DD
Social media series2–5% of the widthWhite or a brand colour
Print-style mat6–10% of the widthOff-white or warm grey
Gallery or portfolio10–30 pxBlack or very dark grey
Highlighting one image4–8 pxAn accent colour

Thin borders

One to three pixels in a neutral grey is almost invisible as a “border” but gives every image a crisp edge. It is the standard choice for e-commerce grids.

Thick borders

Wide white borders evoke instant-camera prints and gallery mats. They work particularly well for photography posted on dark or busy pages, and they also give square crops room to breathe in a feed.

Colour borders

A brand-coloured border is a strong identity tool, but use it with care: very saturated colours can compete with the picture. Test the border on your most colourful image before processing the whole batch.

Borders and transparency

If you export a transparent PNG or WebP with a border, the border is solid but the image’s own transparent areas stay transparent. If you export as JPEG, transparent areas are filled with the JPEG background colour from the Format tab, and the border sits around that. For a cut-out product on a white background with a grey frame, set the JPEG background to white and the border to light grey.

Combining borders with other edits

Pixcut applies edits in this order: crop, resize, border, watermark. The watermark is placed inside the bordered area, measured from the image edge, so it never sits on the border. In a batch, every image gets the same pixel thickness. If your images differ greatly in size, resize them to a common width first so the border looks the same on all of them.

Common mistakes

  • Forgetting the size increase. A 1080-pixel image with a 20-pixel border is 1120 pixels wide. Platforms may then scale it down slightly.
  • Borders on platforms that crop. If a site crops thumbnails, a border on one side may disappear and look like a mistake.
  • Mixed image sizes. A 20-pixel border looks thick on a 600-pixel image and thin on a 4000-pixel one. Resize first.

Borders versus padding on a website

If images will only appear on your own website, consider whether a border belongs in the image file or in the page design. Spacing and frames added with CSS can be changed later for every image at once, while a border saved into the file is permanent. Saved borders make most sense when the image travels without your page around it — social posts, marketplace listings, emails and downloads.

A worked example: a white-framed feed series

You want ten travel photos to appear as a series of white-framed squares in a 1080 × 1080 feed.

  1. Add the photos and choose 1:1 in the Crop tab. Adjust crops where the subject is off-centre.
  2. Decide the frame: 40 pixels of white on each side.
  3. Resize to 1000 wide (1080 − 2 × 40).
  4. Border: thickness 40, colour #FFFFFF.
  5. Format: JPEG at 88, suffix -framed.
  6. Process all. The status bar confirms 1080 × 1080 for every image.

A worked example: thin borders for a shop grid

A store with a white page background shows white-background product photos. Without a border, the image edges vanish and the grid looks uneven.

  1. Crop 1:1, resize to width 1196, JPEG background white.
  2. Border: 2 pixels of #D0D5DD.
  3. Result: 1200 × 1200 images with a crisp, light edge that defines each tile.

Border colour tips

  • Match the page: a border the same colour as the page background acts as padding rather than a frame.
  • Contrast gently: mid-grey borders read as “frames” without drawing attention away from the picture.
  • Sample from the photo: a colour taken from the image itself often looks more intentional than a pure brand colour.
  • Use dark frames sparingly: black borders suit dramatic or high-contrast photography, but can feel heavy on bright images.

Border checklist

  • Final size calculated with the border included
  • Same pixel thickness across images of the same size
  • Colour checked on the lightest and darkest image
  • No platform cropping that would cut one side

Best practices

  • Decide the final size first. Work backwards from the size a platform expects, subtracting twice the border from the resize target.
  • Keep thickness proportional. For mixed batches, resize everything to a common width before adding a border so it looks identical on every image.
  • Use borders to solve a problem. A border should separate images from a background or unify a series, not just decorate.
  • Test against the real page. View a bordered image on the actual website or app background before processing a full set.
  • Combine with consistent crops. Borders emphasise shape, so they look best when every image in the series shares the same ratio.

Common questions

Can I add a border inside the image instead of outside?

Not directly. To keep the final size fixed, reduce the resize target by twice the border thickness, as shown in the table above.

Can borders have rounded corners or shadows?

No. Pixcut adds a solid rectangular border. Rounded corners and shadows are usually better added with CSS on a website.

Does a border make the file much bigger?

Very little. Solid colour compresses extremely well in every format.

Can each image have a different border colour?

Border settings are shared by the batch. Process images that need a different colour separately.

What is the maximum border thickness?

Up to 2000 pixels, although the total output must stay within Pixcut’s 100-megapixel limit.

Will a border work with transparent images?

Yes. The border is solid, and transparent areas inside it remain transparent in PNG and WebP exports.

Combine a border with a small watermark for a finished, branded look.

Quick reference

  • Formula: image size = final size − 2 × border
  • Shop grids: 1–3 px light grey
  • Social series: 20–40 px white or a brand colour
  • Print look: 6–10% of the width in off-white
  • Remove: set the thickness to 0 and process again

Summary

Borders are small details that make collections feel intentional. Decide the final size first, subtract twice the border from your resize target and choose a colour that solves a real problem — separating white products from a white page, framing a social series or imitating a print. Pixcut adds the border outside the image, so nothing in the picture is ever covered, and the status bar always confirms the exact final dimensions before you export.

Try it now — your images stay in your browser.

Open the Pixcut editor