Add a Border or Polaroid Frame to a Photo
Put a white, black or custom colour border around your photos
Your files stay with you. Conversion happens inside the browser; no file is ever uploaded to a server.
Did this tool do the job?
Thanks, your feedback came through.
How it works
Choose the photos in the box (tap or click), set the border thickness with the slider and press Add border. The thickness is given as a percentage and is always measured from the short edge: on a 1200×800 photo, 5% means five percent of 800, so a 40 pixel border and a 1280×880 output. Measuring from the long edge would let the border swallow the short side of a panorama; using the short edge means the same percentage feels like the same margin at any aspect ratio. In the polaroid style the sides and top stay as they are while the bottom edge triples: on the same photo the bottom becomes 120 pixels and the output reaches 1280×960. The photo itself is never shrunk, compressed or stretched — the border is added outside it. White and black are ready to use, and choosing Custom lets you type a HEX code into the field below; #f5e6c8, #fff and ffffff are all accepted.
This tool is also known as add border to photo, add white border to image, photo frame border online, polaroid border maker, instagram white border, add margin around picture, picture border generator.
What is Mat board?
A mat board is the coloured card between the print and the glass in a framed picture, and it does two jobs: it keeps the print from touching the glass, and it makes the eye land on empty space before it reaches the image. This tool is the digital equivalent — a flat coloured area around the photo that gives the gaze somewhere to pause. In exhibition framing the mat is usually between a tenth and a fifth of the print's short edge, which is exactly the tradition the 10% to 20% range here follows.
What is HEX colour code?
A HEX colour code writes a colour as six hexadecimal digits: the first pair is the red channel, the middle pair green and the last pair blue, each on a scale from 0 to 255. #ffffff means all three channels at maximum, which is white; #000000 means all three at zero, which is black. The three digit short form doubles each digit, so #fff and #ffffff describe the same colour. The leading hash is a convention and adds nothing to the value, which is why the form without it is accepted here as well.
What is Aspect ratio and paper sizes?
The aspect ratio is width divided by height, and in printing it decides which paper will fill without waste. Most cameras produce 3:2 while phones often give 4:3; a 4×6 inch print is 3:2 and a 5×7 is close to 5:7. Adding a border shifts that ratio, because the same number of added pixels lands on two existing measurements as two different percentages. If the ratio of the file you send does not match the paper, the difference is cropped automatically — and the border is the first thing to go.
What is the difference between adding a border and resizing an image?
Resizing touches the image itself: it changes the pixel count, so the photo shrinks or grows, and every rescale costs a little sharpness. Adding a border touches nothing — it enlarges the canvas, places the photo in the middle and lets the strip left over become the border. The photo in the output therefore keeps its original pixels exactly, and only the total size of the file grows. If your goal is a lighter file or a specific pixel measurement, the resize tool is the right one; if you want the photo framed, fitted into a square social feed or given white space for printing, this one is. They also work in sequence: resize to your target size first and then add the border, and the pixel thickness of the border is calculated from that final size.
A border changes the aspect ratio — plan for it before printing
An even border adds the same number of pixels to the width and the height, and that does not preserve the ratio: a 1200×800 photo (3:2) with a 40 pixel border becomes 1280×880, and the ratio drops to 1.45. Order a 4×6 inch print and the lab expects 3:2, so the machine crops the difference itself — and the first thing it cuts into is the border you just added.
There are two ways around it. Either place the bordered file onto a standard paper size yourself, accepting the changed ratio, or order a print with a border option and send the photo without one. The polaroid style breaks the ratio deliberately; that output is aimed at screens and social feeds rather than paper.
One more technical note: a JPG source is re-encoded as JPG, and that costs a little quality every time. Do not add borders to the same photo repeatedly — if you dislike the result, go back to the original file and start again.
Which thickness, which colour?
A border exists to separate the photo from what surrounds it. On a white page a white border is invisible yet still shrinks the image slightly and gives it room to breathe; in a dark feed it frames the photo and pushes it forward. The ranges below come from real use.
When picking a custom colour, taking a tone from inside the photo almost always beats picking one at random: the pale blue of a sky or the beige of sand will not fight the photo's own palette.
- 2-4% — a thin separating line for catalogues, tables and slides
- 5-8% — the classic print and social media border; the most common range
- 10-15% — a gallery or mat board look that lifts the photo forward
- 20-25% — poster and wall print preparation, for generous white space
- Polaroid at 6-10% — leaves room for a date or a short caption at the bottom
What happens to transparent source files
If your PNG or WEBP contains transparent areas, those areas are filled with the border colour too. The reason is the drawing order: the colour is painted onto the canvas first and the photo is drawn on top. Someone asking for a frame expects a solid backing, not a hole.
If you need the transparency preserved, this is not the right tool — leave the file as it is, or use the transparent option in the rounded corners tool. A JPG source comes back as JPG, other formats as PNG, and the file name gets a -cerceve suffix.
Frequently asked questions
How do I add a white border to a photo?
Choose the photos in the box, leave the colour on White, move the thickness slider to the percentage you want and press Add border. The result line shows the new pixel size and how many pixels the border is.
Does adding a border shrink the photo?
No. The photo keeps its exact pixel size; the border is added outside it, so the total file size in pixels grows. No pixel is rescaled, so the image loses none of its sharpness.
Why is the thickness a percentage instead of pixels?
A fixed pixel value looks different at every resolution: a 40 pixel border is a thick mat on an 800 pixel image and a barely visible line on a 6000 pixel photo. A percentage of the short edge gives the same look in every file.
Why is the bottom edge thicker in the polaroid style?
On instant prints the space at the bottom is there for a date or a short note. The tool keeps that proportion: the sides and top take your chosen thickness and the bottom edge is three times that.
How should I write the custom colour code?
All three HEX forms are accepted: #f5e6c8, f5e6c8 and the short form #fff. Capital letters and leading spaces are fine. If the code cannot be read, the message names the value you typed and lists the valid forms.
Can I border several photos at once?
Yes. The same percentage is applied to every file you pick, but the pixel thickness is calculated from each file's own short edge. That is how photos of different sizes end up with borders that look equally thick.