Edit / PixelDesk

Add borders and padding

Add padding, a colored border and optional rounded corners. Choose transparent or solid outside spacing.

Processed on your device
THE PLAYGROUND

Border & padding

01 / ORIGINAL IMAGENo image yet

Drop your image here.

Choose an image, or drop it here.

JPEG, PNG, WebP, AVIF or HEIC · up to 20 MiB each

    Use Undo settings to revisit an adjustment. Your source image stays untouched.

    02 / Make it yours

    Adjust your settings, then create a new copy.

    Frame
    Export
    90

    PNG is lossless; its quality slider is disabled.

    Output format & background

    Fills transparent areas for JPEG and when transparency is off.

    Choose an image or try the sample to get started.

    How to add borders and padding

    1. Open an image and enter outside padding and border width.
    2. Choose border color, optional corner radius and the transparency or background setting.
    3. Check the live layout, process and download the framed copy.
    Read the guide: JPEG, PNG or WebP?

    Know before you export

    Still JPEG, PNG, WebP and AVIF inputs up to 64 megapixels are supported, and HEIC where the browser can decode it. Photos above 24 megapixels or 8,192 pixels per side are edited at that size. Color, filter and color-removal effects run at up to 12 megapixels; larger photos are scaled for the effect. All processing stays in your browser.

    Supported files

    Still JPEG, PNG, WebP and AVIF up to 20 MiB and 64 megapixels, plus HEIC where your browser can open it (Safari on Mac, iPhone and iPad). Photos above 24 megapixels are edited at 24 megapixels, and color effects run at up to 12 megapixels. Multi-image tools allow 12 files and 60 MiB of combined input. GIF, SVG, animated images and RAW formats are not supported.

    Quick ways in

    Drop an image anywhere on this page or paste one from your clipboard.

    Keyboard shortcuts

    • Ctrl/⌘ O Choose an image
    • Ctrl/⌘ Enter Process
    • Ctrl/⌘ S Download the result
    • Ctrl/⌘ Z Undo settings · add Shift to redo
    • Esc Cancel processing

    Your files stay local

    Selected image bytes are processed in browser memory. No account, upload endpoint or remote processing service is used.

    Keep creating.

    Explore all 26 tools

    Border & padding is free to use in your browser. No account or image upload is required.

    Border & padding: common questions

    How do borders and padding change the output size?

    Each side gains the border width plus outside padding. A 1,536 × 1,024 image with 12-pixel borders and 40-pixel padding becomes 1,640 × 1,128. The result must remain within the output limits.

    Can the outside padding be transparent?

    Yes. Export PNG or WebP with transparency enabled. JPEG uses a solid background. The colored border remains visible inside the outside padding.