Add Border to Photo

Upload a photo, set the border in pixels, pick a colour and a style, then download as PNG, JPG or WebP — nothing is uploaded.

Drop a photo here, or click to choose

JPG, PNG, WebP, GIF, BMP, AVIF or ICO — up to 25 MB

Need to crop the photo first? →

To add border to photo online — or to add border to picture or image — drop a photo on the box above, or click to choose one. Move the Border slider to set the width in pixels, pick White, Black or a custom colour, and choose a Solid, Double or Polaroid frame. Add rounded corners or a drop shadow if you want them, then pick PNG, JPG or WebP and press Download — the file is written at the photo's own pixel size, border included. Cropping or resizing first? Use crop image, rotate image, add text to photo or the bulk image resizer.

All processing happens in your browser. Photos are never uploaded.
Login: Not required Watermark: None Use: Unlimited

What this page measures, and how

Every number below was measured on this site, in Chrome on Windows 11, using a 1200×900 test photo and a 40 px white border unless stated. Where a number depends on the photo, the condition is written next to it. Nothing here is an estimate.

Which input formats actually decode

The upload box accepts any image type and reads the file with the browser's own decoder. That decoder handles more than the three formats most pages list, and it has one clear failure. Measured by encoding a 4×4 image to each format, then loading it back through an Image object and waiting for a load or an error:

FormatResult
JPEGloads
PNGloads
WebPloads
GIFloads, first frame only
BMPloads
AVIFloads
ICOloads at the largest frame in the file
TIFFfails — the browser has no TIFF decoder

The TIFF failure is not a size problem: no browser ships a TIFF decoder, so a .tif file is refused with a message instead of being drawn. Converting it to PNG or JPG first is the only fix. Animated GIF and WebP open on their first frame only, because a canvas holds one frame.

Border width in pixels, and what you get

The border control is in photo pixels, not screen pixels, so a 40 px setting adds 40 px on each side of the downloaded file no matter how small the preview looks. Measured on a 1200×900 photo at 40 px border, with the three styles:

StyleOutput sizeHow the 40 px is spent
Solid1280×98040 px on all four sides (1200+80, 900+80)
Double1324×1024outer 40 px line, 16 px white mat, 6 px inner line (40+16+6 = 62 px each side)
Polaroid1280×104440 px top, left and right; 104 px bottom (40 × 2.6)

The slider runs from 0 to 400 px. The Polaroid bottom is always 2.6× the side width, the proportion a real Polaroid print uses.

Export size: PNG, JPG and WebP on the same frame

All three are written from the same canvas, so the only difference is the encoder. Measured on the 1200×900 photo with a 40 px white solid border (output 1280×980):

FormatBytesNote
PNG685,823lossless; keeps any transparency
JPG (quality 0.92)33,521flattens transparent corners to white
WebP10,084smallest of the three

JPG cannot store transparency, so when the corners are rounded with no border the empty corner comes back as white. Export PNG or WebP to keep transparent corners.

Limits, and why they exist

25 MB per file and 8,000 px on the longest side, both checked before the photo is decoded: the byte count comes from the file itself, the pixel size from the image header. An oversized file is rejected with its size and the limit spelled out and is never read into memory, because decoding a very large photo is what freezes a phone tab. There is no daily limit and no account.

Questions people ask

How do I add a border to a photo?

Drop the photo on the box above, or click it to choose a file. The photo appears straight away. Move the Border slider to set the width in pixels, pick a colour and a style, then press Download. The file is written at the photo's own pixel size with the border included — a 1200×900 photo with a 40 px border exports as 1280×980.

Can I add a border to a picture without Photoshop?

Yes. This page is for anyone who needs to add a border to a picture, or add a border to an image: it does the framing that Photoshop is usually opened for, a border in exact pixels, a colour of your choice, solid, double or Polaroid styles, plus rounded corners and a shadow. It runs in the browser tab, needs no install and no account, and exports PNG, JPG or WebP. It does not do layers or masking — use an editor for those.

How do I put a white border around a photo?

Click the White swatch (or leave the colour picker on white), then move the Border slider. A 40 px white border on a 1200×900 photo gives a 1280×980 file. White borders are what most people want for Instagram or shop listings, and they are the default here — a white border around photo is the most common request we get.

How do I add a black border around a picture?

Click the Black swatch, or open the colour picker and choose any dark shade. The border is drawn in that exact colour on every side. For a thin black keyline on a 1200×900 photo, set the slider to about 6–10 px; for a bold frame, push it toward 40 px or more. A black border around picture works the same way — pick Black, set the width, and download.

What border widths can I use?

The slider runs from 0 to 400 px, and the number box accepts the same range. The width is in photo pixels, so a 40 px setting is 40 px in the downloaded file, not just on screen. At 0 px there is no border at all — useful when you only want rounded corners.

Can I make a Polaroid-style frame?

Yes. Pick the Polaroid style. The top, left and right borders use the slider width, and the bottom is set to 2.6× that width — the proportion a real Polaroid print uses. On a 1200×900 photo with a 40 px setting the bottom is 104 px, so the output is 1280×1044.

Does adding a border reduce the photo's quality?

The photo pixels are copied untouched into the middle of the frame; only the border area is painted. The export decides the rest. PNG and WebP store the canvas exactly, so the photo stays as it was. JPG re-encodes the whole frame at quality 0.92 — on a flat 1280×980 frame that is 33,521 bytes against 685,823 for PNG — which is fine for a framed photo but loses the pixel-perfect match, so use PNG or WebP when the photo must stay pristine.

Can I add a border to a photo on my phone?

Yes. The upload box, sliders and colour picker all work at phone width, and every control is at least 44 px tall — the size a finger can hit reliably. Measured at 390×844 in Chrome: the upload box opened the photo picker, the border slider moved the frame, and the Download button saved the file to the normal downloads location.

What image formats can I add a border to?

JPEG, PNG, WebP, GIF, BMP, AVIF and ICO all load, because the browser decodes them; an ICO opens at the largest frame in the file. TIFF does not — no browser ships a TIFF decoder, so a .tif file is refused with a message instead of being drawn. Animated GIF and WebP come back as a single still frame, because a canvas holds one frame.

Is there a limit on the photo size?

25 MB per file, and no side longer than 8,000 px. Both are checked before the photo is decoded, so an oversized file is refused instantly instead of freezing the tab. The longest side is what counts: an 8000×600 image is accepted and an 8001×600 image is refused. There is no daily limit and no account.

Does this page upload my photo anywhere?

No. The file is read into the tab, drawn on a canvas, and written back out as a download. Nothing is transmitted, which you can confirm in the network panel or by turning off your connection and exporting again.