XTools Logo
XTools
Blog
/
Image CompressionImage Format ConversionBackground RemovalImage MosaicImage ResizerCrop ImageRotate & Flip ImageBlack & White ImageAdd Text & WatermarkAdd Border to ImageShape CropCollage & Image StitcherBlur BackgroundChart MakerBlur Part of ImageGIF MakerAdjust Image ColorsMeme GeneratorTrim Transparent EdgesStraighten PhotoSplit Image into TilesSquare ImageRemove Photo MetadataPlaceholder ImageDevice Mockup & Screenshot BeautifierSocial Share Image (OG)Code ScreenshotSignature Maker

© 2026 XTools. All rights reserved.

Privacy PolicyContact Us

    Add Border to Image

    Add a colored border or padding, with rounded corners and shadow
    • Files never leave your device
    • Runs in your browser
    • Free, no sign-up, no watermark

    Drop files here, or click to choose

    Accepts JPG, PNG, WebP, AVIF, GIF, BMP, HEIC · You can also paste with Ctrl+V / ⌘V

    Related tools

    • Image Compression
    • Image Format Conversion
    • Background Removal
    • Image Mosaic
    • Image Resizer
    • Crop Image
    • Rotate & Flip Image
    • Black & White Image
    • Add Text & Watermark
    • Shape Crop
    • Collage & Image Stitcher
    • Blur Background
    • Chart Maker
    • Blur Part of Image
    • GIF Maker
    • Adjust Image Colors
    • Meme Generator
    • Trim Transparent Edges
    • Straighten Photo
    • Split Image into Tiles
    • Square Image
    • Remove Photo Metadata
    • Placeholder Image
    • Device Mockup & Screenshot Beautifier
    • Social Share Image (OG)
    • Code Screenshot
    • Signature Maker

    How to use Add Border to Image

    Add a colored frame, white padding or a Polaroid-style border to one image or a batch in your browser. Set the width in pixels or as a share of the short side, pick which sides get it, and add rounded corners or a drop shadow.

    1. 1

      Drop your images on the page or click to choose them.

    2. 2

      Start from a preset (Polaroid, Thin black or Gallery white), or choose Outside or Inside under Placement.

    3. 3

      Pick px or % of short side, set the Width, switch Sides on or off, and choose a Color or Transparent border.

    4. 4

      Optional: set a Corner radius, or turn on Drop shadow and adjust Blur, Offset X, Offset Y, Shadow color and Opacity.

    5. 5

      Choose the output Format and click Apply and download, or Apply to N images.

    Frequently asked questions

    Are my images uploaded?

    No. The border is drawn in your browser, and your images never leave your device.

    What is the difference between Outside and Inside?

    Outside adds the border around the image, so the result is larger. Inside paints it over the image's edges and keeps the original size, covering a strip of the picture.

    How do I get matching borders on photos of different sizes?

    Use % of short side: the width is a percentage of each image's shorter side, so frames look proportional. px gives every image the same width in pixels.

    Why are my rounded corners or shadow white?

    JPG cannot store transparency, so transparent areas are filled with white, and a warning appears. Set Format to PNG or WebP to keep them transparent.

    How do I make a Polaroid-style frame?

    Click Polaroid: a white border of 5% of the short side, with a bottom edge four times as thick. Fine-tune it with Width and Bottom thickness.

    Can I add a border to just one side, or turn an image into a square?

    One side, yes: switch off the others under Sides. To pad an image onto a square canvas, use Square Image.