Back to public tools
All tools
Photo borders

Add Border and Padding to Images

Add a white border or colored frame to a photo. Choose how wide the border should be and keep the full photo inside it.

Jump to image editor

Choose JPEG or PNG images, set the space and colors around them, then choose Generate bordered images. Select a filename to preview its result below, then download it.

Up to 20 images, 20 MiB each and 100 MiB total. Images must stay within 20 megapixels and 8192 pixels per edge. Use 0–2000 whole pixels for padding and the outer frame.

Frame presets
Padding and canvas

Percent uses source width for left/right and source height for top/bottom, rounded to pixels.

Outer frame and caption
Output and print size

Overlay leaves the source rectangle transparent. Captions and shadows remain in the border.

DPI changes print density without resizing the photo. Frame, caption and shadow add to the canvas size.

    Adds a 960 × 640 PNG photo. No download or account needed.

    How to use Add border to image

    Add padding

    Upload JPEG or PNG images, or choose Try an example. Enter the space around each image in pixels or a percentage of its width and height. Keep Link padding edges selected for equal sides, or turn it off to set each side separately.

    Choose a canvas size

    Choose Target canvas to enter a final width and height before the outer frame is added. Each image must fit inside that canvas. Use the alignment options to place it at the center or against an edge. Images are never stretched or cropped.

    Presets, captions and print size

    Use a white, Polaroid or shadow preset, or save up to ten named settings on this device. Add rounded corners, a one-line caption and a shadow. A larger radius needs enough padding to keep the photo whole. Select an image to override its padding. Sample a color by clicking the original preview; with the preview focused, Enter samples its center.

    Set print density from 36 to 1200 DPI, or enter a target canvas in centimetres. DPI does not resize the photo; frame, caption and shadow add to the final size. A border-only PNG overlay leaves the source rectangle transparent. Use {name} and {index} in batch filenames; file extensions and collision suffixes are added automatically.

    Choose colors and download

    Pick a padding color and, if wanted, an outer frame color and thickness. Transparent padding works with PNG. JPEG requires a background hex color such as #ffffff and a quality from 1 to 100.

    Choose Generate bordered images, then select a filename to review its preview and dimensions. Download images individually, or choose Prepare ZIP followed by Download ZIP. If some images fail, review their errors and choose Accept successful files to download the others.

    Changing a setting clears old results. Cancel stops processing; Clear removes the images and Reset settings restores the defaults. Undo clear or reset restores your inputs so you can generate again.

    Example: give a photo a white border

    For a 960 × 640 photo, keep the padding edges linked and enter 20 in top padding. Choose white padding and leave the outer frame at 0. Generate the image to get a 1000 × 680 result with an equal white border on all four sides.

    For a second colored edge, add a 3-pixel outer frame. The result becomes 1006 × 686 because the frame adds 3 pixels to each side.

    About image borders and padding

    Padding adds breathing room around a picture. A larger canvas helps photos with different shapes fit a shared layout, while an outer frame adds a colored edge without covering the picture.

    PNG keeps transparency when transparent padding is selected. Opaque padding also fills behind transparent parts of the source. JPEG combines the whole image with your chosen background color. The preview checkerboard is never included in a download.

    Your images are processed in this browser and originals stay unchanged. Refreshing clears the images. Downloads use names ending in -bordered; metadata and color profiles may not be retained. If a ZIP would exceed the memory limit, download the images individually.

    Stars and feedback

    Loading…

    Tool reference #116