A mountain-lake photo framed with a navy border, white matte and rounded corners

Add Border to Image

Frame photos with a border in pixels or percent, a different width on each side, any color, rounded corners, a matte or a shadow, or pad them to a square. JPG, PNG, WebP, HEIC and AVIF, in your browser. Free, no signup.

Drop images to add a border

JPG · PNG · WebP · HEIC · AVIF — one photo or a batch of up to 50

or paste an image with Ctrl+V / ⌘V

Privacy: HEIC/AVIF decoding, adding the border and file encoding run entirely in your browser. Your images are not uploaded to our servers.

Add a Border to a Photo, Your Way

This tool puts a frame around your picture without covering or cropping any of it. Use a thin white border to make photos stand out on a white page or in a feed, a thick border with a bigger bottom edge for an instant-photo look, a black frame with a white matte for a gallery print, or transparent padding around a logo. Add one image or up to 50; the same settings are applied to all of them, and a batch downloads as one ZIP.

The preview and thumbnails show exactly what will be saved, and the download is made from the full-resolution original.

How to add a border to an image

  1. Add your images. Drop or select JPG, PNG, WebP, iPhone HEIC or AVIF files, or paste one. Photos open the right way up.
  2. Set the width. Choose pixels or percent, then one width for all sides or a separate width for top, right, bottom and left.
  3. Pick a color. Click a swatch, use the color picker, click Pick from photo and then a spot in the preview, or choose Transparent.
  4. Style it (optional). Round the corners, add an inner matte for a double border, add a shadow under the photo, or pad to 1:1, 4:5 or 16:9.
  5. Download. Keep each file’s format or choose PNG, JPG or WebP. One image saves as a file, such as photo-border.jpg; several save as a ZIP.

Pixels or percent?

A pixel border is exact: 40 px is 40 px on every image, which suits a single photo or a set of images that are all the same size. A percent border is measured from each image’s shorter side, so 5% adds 50 px to a 1000 px image and 200 px to a 4000 px phone photo. For a batch of mixed sizes, percent makes the frames look the same after the images are shown at the same size.

Matte, rounded corners and shadow

An inner matte is a second band of color between the photo and the outer border, like the card mount in a picture frame. White inside black, or cream inside navy, are classic choices. Rounded corners shape the outside of the finished image; PNG and WebP keep those corners transparent, while JPG fills them with white. The shadow is a soft drop shadow under the photo (or under the matte when it is on), which makes the picture look slightly raised.

Pad to a square or another aspect ratio, without cropping

Social sites crop photos that don’t match their shape. Pad to aspect ratio adds border-colored space on the short sides until the image is exactly 1:1 (square posts and profile grids), 4:5 (portrait Instagram posts) or 16:9 (slides, YouTube thumbnails, wide banners). Set the border width to 0 to pad without any frame, or keep a border and pad on top of it.

Transparency, formats and quality

The border and matte are drawn as frames around the image, never behind it, so the transparent parts of a PNG or WebP logo stay transparent. The photo itself is not resized or resampled; only the canvas grows. PNG output is lossless, and JPG and WebP are re-encoded at the quality you choose. Browsers can’t encode HEIC or AVIF, so with Keep original format those are saved as JPG, or as PNG when transparency is needed, and the panel says so.

Related tools

Frequently Asked Questions (FAQ)

Q: How do I add a border to an image?

A: Add your photo, set the border width with the slider or number box, pick a color from the swatches, the color picker or the photo itself, and click Download. The border is added around the picture, so nothing in the photo is cropped or covered.

Q: Can I set the border in pixels or as a percentage?

A: Yes. Choose px for an exact width, such as 40 px on every side, or % to make the border a share of the image’s shorter side. A 5% border is 150 px on a 3000-pixel-tall photo and 50 px on a 1000-pixel one, so a batch of different-sized photos gets borders that look the same.

Q: How do I make the border thicker on one side?

A: Choose Each side and type a width for top, right, bottom and left. A thicker bottom border gives an instant-photo or gallery look, and a border on only the left and right can widen a portrait photo.

Q: How do I make a photo square for Instagram without cropping it?

A: Under Pad to aspect ratio, choose 1:1 for a square post, 4:5 for a portrait Instagram post or 16:9 for a widescreen slide or thumbnail. The photo is centered and the extra space is filled with the border color, so nothing is cut off. Set the border to 0 to pad without a frame.

Q: What is a matte or double border?

A: A matte is a second band between the photo and the outer border, like the card mount inside a picture frame. Turn on Inner matte, set its width and color, for example a white matte inside a black border, and the photo gets a double border.

Q: Can I round the corners or add a shadow?

A: Yes. Corner radius rounds the outer corners of the finished image; they are transparent in PNG and WebP and white in JPG. Shadow adds a soft drop shadow under the photo (or under the matte), which makes it look raised off the border.

Q: Will a transparent PNG stay transparent?

A: Yes. The border and matte are drawn around the image, never behind it, so transparent areas of a PNG or WebP stay transparent. Choose the Transparent swatch to add transparent padding instead of a colored border.

Q: Can I add a border to many images at once?

A: Yes. Add up to 50 images in any mix of formats. The same border settings are applied to every image, each thumbnail shows the result, and they download together as one ZIP. With % widths, each border is scaled to its own image.

Q: Which formats can I use, and does adding a border reduce quality?

A: You can add JPG, PNG, WebP, iPhone HEIC/HEIF and AVIF files and keep each file’s format, or save everything as PNG, JPG or WebP. Browsers can’t save HEIC or AVIF, so those are saved as JPG, or PNG when transparency is needed, and a JPG with rounded corners or a transparent border is saved as PNG. The photo keeps its full resolution and is not resized; JPG and WebP are re-encoded at the quality you choose (92% by default).

Q: Are my images uploaded?

A: No. Decoding, adding the border and saving all happen in your browser, and your images are not uploaded to our servers. The downloaded files do not carry the original EXIF data, such as GPS location.