Fit to 1:1, 4:5 or 9:16 · solid, blurred or gradient border · batch to ZIP

Add Borders to Photos

Put a landscape photo on a square or story canvas without cropping it. Pick the border, the padding, rounded corners and an optional caption strip, and every photo in the batch gets the same treatment.

Photos

Any number up to 100

Drop photos here or click to choose

PNG, JPG, WEBP, GIF or BMP, up to 25.00 MB each. Photos over 4096 px are scaled down.

    Canvas

    Height 1080 px. Instagram posts use 1080 wide.

    Border

    Negative darkens the blurred border, positive lightens it.

    Caption strip

    Save

    Preview

    Add a photo to preview the frame.

    Add Borders to Photos

    Operator: Abdulla Al Fahad. How tools are built and checked

    A 3000 x 2000 landscape photo posted to a square feed either gets cropped or sits on a plain strip. Fitting it instead means scaling it to 972 x 648 pixels on a 1080 x 1080 canvas, 54 pixels in from each side, and filling the rest with something that belongs to the photo: a blurred copy of itself, the photo's average colour, a gradient or a solid colour.

    Key features

    • Canvas shapes 1:1, 4:5, 3:4, 9:16 and 16:9, or the photo's own shape with an even border
    • Border of solid colour, blurred copy of the photo (with darken or lighten), two-colour gradient at any angle, or each photo's average colour
    • Border width as a percentage of the canvas's shorter side, rounded corners as a percentage of the photo's shorter side, and an optional soft shadow
    • Caption strip with the same text on every photo or each file's name, with its own colours and size
    • Up to 100 photos per batch, saved as JPG or PNG, as one file or a ZIP

    How the photo is fitted, and how the border is drawn

    The photo is contained, never cropped or enlarged beyond the space: the scale is the smaller of the available width over the photo's width and the available height over its height. On a 1080 x 1080 canvas with a 5% border the free area is 972 x 972, so a 3000 x 2000 photo becomes 972 x 648 at (54, 216). On a 1080 x 1920 story canvas a 2000 x 3000 photo becomes 972 x 1458 at (54, 231). A caption strip spans the canvas width along the bottom, and the photo is centred in what remains, so a caption at 4.3% of the width (a 121 px strip, 2.6 times the 46 px text) on a 1080 x 1350 canvas puts the same landscape photo at (54, 290.5). A blurred border is made by drawing the photo to cover a copy of the canvas at one eighth of its size, blurring that small picture with a Gaussian approximation, and stretching it back, which gives a soft result in every browser and is quick. Photos are processed one at a time, so memory stays at one photo plus one canvas.

    Common use cases

    • A photographer posting a 24-photo trip to a feed that crops to 4:5 picks 1080 wide, a blurred border at strength 40 and 4% wide, and frames all 24 in one run.
    • A shop owner puts 60 product photos, each 4000 x 3000, on a 1:1 canvas with solid white at 8%, so every item sits at the same size in the grid.
    • A café posts a vertical story from a landscape photo: 9:16 at 1080 wide, a gradient of the brand's two colours, and the caption "Open until 9" in a strip.

    How to use this tool

    1. Add the photos and pick one to preview.
    2. Choose the shape, the border width and the border style, and add a caption if you want one.
    3. Choose JPG or PNG and download; several photos arrive as framed-photos.zip.

    Example

    A 3000 x 2000 photo, three canvases

    1:1 at 1080 wide, border 5%
    9:16 at 1080 wide, border 5%, with a 2000 x 3000 photo
    4:5 at 1080 wide, border 5%, caption size 4.3% (121 px strip)

    Where the photo lands

    1080 x 1080: photo 972 x 648 at (54, 216)
    1080 x 1920: photo 972 x 1458 at (54, 231)
    1080 x 1350: photo 972 x 648 at (54, 290.5), strip at y 1229

    Tips for best results

    • The blurred border looks best with a slight darkening, around minus 15 to minus 25, because it keeps a bright border from competing with the photo.
    • For a gallery that must look uniform, use a solid colour and the same width, not the average colour, which shifts from photo to photo.
    • The caption strip is 2.6 times the text size tall, so the default 3% on a 1080 wide canvas gives 32 px text in an 84 px strip. In file-name mode the extension is dropped and hyphens and underscores become spaces, so IMG_2041-beach.jpg is captioned "IMG 2041 beach". A caption wider than 90% of the canvas first shrinks to as little as 60% of its size and is then cut with an ellipsis, and anything past 200 characters is dropped, so rename long files before using their names.

    Edge cases to watch

    Large borders shrink the photo. At 20% on a 9:16 canvas a landscape photo ends up under 650 pixels wide on a 1080 wide canvas, which looks small on a phone; reduce the border or choose the 4:5 shape.

    Common errors and how to fix them

    "The output would be ... megapixels"
    The width you set makes a canvas larger than 36 megapixels. Lower the width; 1080 to 2160 is plenty for social posts.

    Best practices

    • Check a portrait photo and a landscape photo in the preview before running a mixed batch, since the border looks different in each.

    What the blur strength changes

    The slider sets a Gaussian sigma of strength percent of one sixth of the small picture's shorter side. At the default 40 the background keeps its colours and soft shapes but no detail, and at 100 it turns into a smooth wash of the photo's average tones.

    Frequently asked questions

    Why does a very small border turn the shadow off?

    With a border of 1% or less there is no room for a shadow to fall without being clipped by the canvas edge, so the shadow is only drawn when the border is wider than 1%.