SquareFitImage

Add a white photo border

Add an even white photo border around any picture, or white bars that make it square, and set the width in pixels.

Drop a photo here

or paste it. JPG, PNG, WebP. Several at once is fine.

Never uploaded: it all runs in your browser.

Border
48 px
Many photos come back as one ZIP
A lake photo with an even 40 pixel white border on every side
Even white border, 40 px1080 × 746
The original photo of a woman paddling a canoe on a lake
Original1600 × 1066
Even frame: the same 40 px on every side, so the photo keeps its shape. Pick Square for a square canvas instead.

Freeno account, no watermark

Privatefiles stay on your device

3000 pxlargest preset export

Batchmany photos, one ZIP

Your photo with a white border, ready to save

A white photo border is a plain margin around a picture. SquareFitImage draws it as an even frame on every side, or as white bars that make the photo square.

Set the width from 0 to 200 px, pick white or another color, and save. Square posts are one use; you can also post to Instagram without cropping.

SquareFitImage editor showing a landscape photo with a white border beside the original
Real screenshotcanoe-lake-landscape.jpg, 1600 × 1066, at the default Even frame, 48 px, 1080 px. The saved file is 1080 × 752.

How to add white borders on photos

To add a white border to a photo, choose the photo, pick the border type and width, pick a color, then press Download photo.

  1. Choose the photo

    Drop it on the box, paste it, or press Choose photo. Several photos at once are fine. The photo opens in this browser and is never uploaded.

    The white border tool's drop box with Choose photo, Even frame and Square, and the Width slider at 48 px
  2. Pick Even frame or Square, then the width

    Even frame keeps the photo's shape. Square adds white bars until the canvas is 1:1. The Width slider runs from 0 to 200 px and starts at 48 px.

    Editor border settings: Even frame selected, Width slider at 48 px and a note on the two border types
  3. Pick the border color

    White is chosen first. Off-white, black, a color sampled from the photo, Transparent and Pick, for any hex value, sit in the same row.

    Editor background row with white selected, then off-white, black, a sampled blue grey, transparent and Pick
  4. Choose a size and press Download photo

    Pick 1080, 2048, 3000 px or Custom, then JPG or PNG. The file saves with -border added to its name, such as canoe-lake-landscape-border.jpg.

    Export size buttons 1080, 2048 and 3000, JPG and PNG, and the Download photo button

Even frame or square frame: two kinds of white border

SquareFitImage has 2 kinds of white border. An even frame adds the same width on all four sides, so the photo keeps its shape.

A square frame adds white bars to the short sides until the canvas is 1:1, with at least the chosen width on every side.

The same photo with an even white frame and with white bars that make it square
Both at 48 px, 1080 pxLeft: Even frame, 1080 × 752. Right: Square, 1080 × 1080, with 212 px bars above and below.

Can I add a white border without cropping my image?

Yes, SquareFitImage adds a white border without cropping your image. Both kinds keep every pixel of the photo and scale it to fit inside the border.

In the W3C object-fit definition, this fitting is contain, not cover. When filling the frame matters more, crop to a square instead.

How do I add white space to make a photo square?

To add white space and make a photo square, pick Square, then set the width. The bars on the short sides grow until width and height match.

Width is the smallest margin. A 3:2 photo at 1080 px with 48 px gets 212 px bars above and below, and 48 px at the sides.

White photo border
Any plain white margin added around a picture, even on every side or uneven to reach a set shape.
Mat (picture framing)
The card with a cut window that sits between a framed print and the glass. An even white frame copies that look in a file.
Padding: letterbox and pillarbox bars
Bars added above and below a wide photo are a letterbox. Bars beside a tall photo are a pillarbox.
Aspect ratio (1:1)
Width divided by height. A 1:1 image has equal sides, the shape of a square Instagram post.
Stroke outline
A thin line between the photo and its border. SquareFitImage doesn't draw one; awhiteborder.com offers it, according to its own page.

How thick should a white border be?

A white border's thickness is a matter of taste. The default 48 px is 4.4% of a 1080 px export, a thin gallery-style edge.

awhiteborder.com suggests 10 to 20% for Instagram. At 1080 px that is 108 to 216 px per side, and 216 px is past the 200 px slider limit.

Chart of border percentage against pixels per side at three square sizes
Worked out by the tool's own codeDashed bars are widths the 200 px slider can't reach.
Pixels per side for each border share of the export size
Border share1080 px export2048 px export3000 px export
2%22 px41 px60 px
4%43 px82 px120 px
5%54 px102 px150 px
10%108 px205 px, capped at 200300 px, capped at 200
15%162 px307 px, capped at 200450 px, capped at 200
20%216 px, capped at 200410 px, capped at 200600 px, capped at 200

How the width turns into pixels

The width is in pixels, not percent, so one setting looks thinner on a bigger export. 48 px is 4.4% at 1080, 2.3% at 2048 and 1.6% at 3000.

For an even frame, the photo's long side is the export size minus twice the width. The short side scales by the same factor, then the border is added back.

Worked example: 1600 × 1066 photo, 1080 px, 48 px. 1080 − 96 = 984. 1066 × 984 ÷ 1600 = 656. The file is 1080 × 752.

White bars that make each photo shape square

A square frame puts the extra space on the short sides. These are the bars on each side, from the same code the editor runs.

White bars per side for a square frame, and the even frame size, by photo shape
Photo shapeSquare, 1080, 0 pxSquare, 1080, 48 pxSquare, 2048, 48 pxSquare, 3000, 48 pxEven frame, 1080, 48 px
3:2 camera phototop and bottom180 + 180212 + 212373 + 374532 + 5321080 × 752
4:3 phone phototop and bottom135 + 135171 + 171292 + 292411 + 4111080 × 834
9:16 phone screenleft and right236 + 236263 + 263475 + 475683 + 683650 × 1080

White, off-white, black or your own color

SquareFitImage offers 4 ready border colors: white, off-white (#F4F1EA), black and a color sampled from the photo. Pick sets any other color.

One photo bordered in white, off-white, black and a matched custom color
Same photo, four bordersEven frame, 48 px, 1080 px. White 112 KB, off-white 112 KB, black 112 KB, sampled #638186 112 KB.

Can I use any color for the border?

Yes, you can use any color for the border. Press Pick, then use the color well or type a hex code such as #638186.

The color is painted with the canvas fillRect method before the photo goes on top. In our test, the four colors changed the file size by under 1 KB.

Transparent and blurred borders

Transparent leaves the border clear and saves a PNG, because JPEG can't store transparency. Blurred photo fills the border with a soft copy of the picture.

For a border made of the photo's own colors, fill the border with blur on the blur border page.

Does a white border shrink or soften your photo?

Yes, a white border shrinks the photo, because the border takes pixels from the export size. At 1080 px with 48 px, the photo is 984 px long.

Softening comes from resizing. A 1600 px photo scaled to 984 px loses fine detail. At 3000 px it is enlarged to 2904 px, which adds pixels but no detail.

9 real photos run through the tool on 24 November 2026, Chromium 159 on a Windows desktop PC, 48 px white border, JPEG
PhotoOriginalEven frame, 1080Square, 1080Even frame, 3000
canoe-lake-landscape.jpg1600 × 1066, 117 KB1080 × 752, 112 KB1080 × 1080, 119 KB3000 × 2031, 532 KB
coffee-pour-over-landscape.jpg1600 × 1066, 132 KB1080 × 752, 118 KB1080 × 1080, 125 KB3000 × 2031, 596 KB
mug-product-landscape.jpg1600 × 1126, 130 KB1080 × 788, 128 KB1080 × 1080, 133 KB3000 × 2140, 572 KB
portrait-sunglasses-landscape.jpg1600 × 1066, 98 KB1080 × 752, 89 KB1080 × 1080, 96 KB3000 × 2031, 428 KB
portrait-woman-tall.jpg1066 × 1600, 112 KB752 × 1080, 104 KB1080 × 1080, 112 KB2031 × 3000, 538 KB
pug-blanket-landscape.jpg1600 × 1066, 233 KB1080 × 752, 192 KB1080 × 1080, 200 KB3000 × 2031, 947 KB
reading-woman-landscape.jpg1600 × 1066, 74 KB1080 × 752, 74 KB1080 × 1080, 81 KB3000 × 2031, 361 KB
teapot-landscape.jpg1600 × 1044, 114 KB1080 × 738, 109 KB1080 × 1080, 115 KB3000 × 1991, 502 KB
waterfall-rainbow-landscape.jpg1600 × 1066, 166 KB1080 × 752, 143 KB1080 × 1080, 152 KB3000 × 2031, 712 KB

At 1080 px, each even frame file was 82 to 100% of the original's size. The square version was 4 to 9% larger, since it has more white pixels.

At 3000 px, files were 4.5 to 5.2 times their 1080 px size. Pick 3000 for prints or shops that ask for it, not for posting.

JPEG files are saved again at quality 92, and Exif metadata is dropped.

All 9 test photos are 1600 px Unsplash JPEGs; no HEIC files, film scans or full-size phone photos were in this run.

Border a whole set of photos at once

To border a whole set of photos at once, drop up to 30 photos together. The same border, color and size apply to all of them.

Download all (.zip) saves every file in one ZIP. Each photo in the list also has its own download and remove buttons.

In our test, 9 photos at 1080 px with a 48 px frame came back as photos-border.zip, 1.1 MB, with 9 files inside.

Batch editor with nine photos listed, the canoe photo shown with an even white border and a Download all ZIP button
A camera photo of a woman reading, exported at 3000 px with a 200 pixel even white border for printing
200 px even frame at 3000 pxreading-woman-landscape.jpg: 3000 × 2132, 323 KB. A camera photo, not a film scan.

White borders for prints and film scans

For a print, export an even frame at 3000 px, the largest size, so the white border is part of the file you send to print.

At 3000 px the widest border is 200 px, 6.7% of the long side. Very wide print margins are out of reach of the slider.

Film scans are a common reason to add a frame. We have not run a film scan through the tool yet, so this section shows a camera photo instead.

Instant film (polaroid print effect) frames are wider at the bottom. SquareFitImage draws the same width on every side, so it doesn't copy that look.

Why add white borders to your photos?

People add white borders for 3 reasons: to post a whole wide or tall photo as an Instagram square, to give a set one look, and to leave print margins.

A white border also separates the picture from whatever surrounds it, the job a mat does inside a picture frame.

Add a white border on iPhone or Android

To add a white border on iPhone or Android, open this page in the phone's browser and choose a photo. Nothing needs installing.

On a narrow screen the editor shows the bordered photo first. A Settings sheet sits below it, and Download photo stays pinned at the bottom.

You can also make a picture square in other apps that have a canvas tool.

How can I add a white border to a photo on iPhone?

On an iPhone, open this page in the browser, choose the photo, set the border, then press Download photo. We have not yet run these steps on a real iPhone.

iPhones can save photos in High Efficiency Image File Format (HEIC). When a browser can't decode a HEIC file, the tool names the file and asks for JPG or PNG.

SquareFitImage white border editor at a 390 pixel phone width, with Even frame and Download photo
Editor at 390 px wideCaptured in Chromium on a desktop at phone size. Not yet tested on a real phone.

Your photos never leave your device

Your photos never leave your device here. The border is drawn by the HTML canvas element in your browser, through the Canvas API, and the file is made there.

We logged every request while canoe-lake-landscape.jpg got its border and was saved: 0 POST or PUT requests, and 0 bytes of the photo sent.

The only requests were GETs for the editor's own code, loaded when the first photo was chosen.

Which files you can open and download

SquareFitImage opens JPG, PNG and WebP files up to 100 megapixels, and downloads JPEG or PNG.

JPEG is smaller and suits photos. PNG adds no compression loss and is the only choice for a transparent border.

HEIC and AVIF open only where the browser decodes them. Phone photos stored sideways are turned upright from their Exif orientation before the border is drawn.

The saved file carries no Exif data. All 9 test photos had it, and none of the 36 bordered files kept it.

SquareFitImage, Canva and border apps compared

We ran the same 3 photos through SquareFitImage and addwhiteborder.com on 24 November 2026, at each tool's defaults.

Canva's page blocked our test browser, so the Canva column only quotes Canva's own photo borders page.

White border tools on the same photos, 24 November 2026.
FeatureSquareFitImageaddwhiteborder.comCanva
Default file, canoe photo1080 × 752, even frame1778 × 1778, squareNot checked
Default file, tall portrait752 × 1080, even frame1778 × 1778, squareNot checked
Border width set inPixels, 0 to 200Percent, 0 to 50Says any width
Even frame and square frameBothBoth, plus 8 other ratiosNot checked
Border colorsWhite, off-white, black, sampled, any hexNot checkedSays any color
Exif kept in the fileNoYesNot checked
Clicks after choosing the photo12Not checked
Photo sent to a serverNo, 0 POST requestsNo, only analytics POSTsYes, its page says to upload

Where they do better: addwhiteborder.com keeps the full 1600 px photo and its Exif data, and offers 10 aspect ratios.

Canva's own page lists decorative frames, white polaroid frames and captions, which SquareFitImage doesn't offer.

White border questions

You can add white borders to photos with a browser tool, so no app needs installing. SquareFitImage and addwhiteborder.com both run in the browser and both worked in our test.

Canva's photo borders page says it adds an outline in any color and width.

A review quoted on addwhiteborder.com calls Lightroom Mobile a pain for borders. We have not tested Lightroom Mobile.