Upload a photo, set the border in pixels, pick a colour and a style, then download as PNG, JPG or WebP — nothing is uploaded.
JPG, PNG, WebP, GIF, BMP, AVIF or ICO — up to 25 MB
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.
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.
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:
| Format | Result |
|---|---|
| JPEG | loads |
| PNG | loads |
| WebP | loads |
| GIF | loads, first frame only |
| BMP | loads |
| AVIF | loads |
| ICO | loads at the largest frame in the file |
| TIFF | fails — 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.
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:
| Style | Output size | How the 40 px is spent |
|---|---|---|
| Solid | 1280×980 | 40 px on all four sides (1200+80, 900+80) |
| Double | 1324×1024 | outer 40 px line, 16 px white mat, 6 px inner line (40+16+6 = 62 px each side) |
| Polaroid | 1280×1044 | 40 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.
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):
| Format | Bytes | Note |
|---|---|---|
| PNG | 685,823 | lossless; keeps any transparency |
| JPG (quality 0.92) | 33,521 | flattens transparent corners to white |
| WebP | 10,084 | smallest 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.