Toolpuffin

    Loading...

    Up and down to choose, Enter to open, Esc to close.

    How to Add a Border and Round Corners to an Image (and Keep Them Transparent)

    Updated December 2026

    Written by the Toolpuffin team. Tools in this guide are tested in the browser.

    A border makes a picture stand out, and rounded corners or a circle are the usual shape for a profile picture. This guide shows how to do both, what padding is, and which file type to save in so the corners stay see-through.

    Try the tool: Add Border to Image

    Add a border

    • Choose the thickness and the colour of the border.
    • The border is added around the picture, so the new picture is larger than the original by twice the border and padding. Nothing is cropped.
    • Padding is extra space between the picture and the border, in its own colour. A white padding inside a coloured border gives a photo-print look.
    • The border is always a solid colour. If you need a fixed size afterwards, use the resize tool.

    Round the corners or make a circle

    The corner radius is a percentage of the shorter side of the picture. 0% leaves the corners sharp, and 50% is the roundest it can get, which gives a circle on a square picture. The circle option cuts a square from the middle of the picture first, so crop the picture first if you want to choose which part stays.

    Pick a file type that can be transparent

    PNG supports alpha channel transparency, which means each pixel can be set to a level of transparency from fully transparent to fully opaque. MDN notes that PNG is preferred when transparency is needed, and WebP also supports transparency. JPEG does not support alpha channels at all.

    Source: web.dev: Image formats: PNG

    Source: MDN: Image file type and format guide

    Source: Cloudinary: Image transparency

    • For a round profile picture or any shape with see-through corners, save as PNG or WebP.
    • A JPG gets a solid colour in the corners instead. Pick a colour that matches the page it will sit on.

    Both on one picture

    1. Crop the picture to the part you want.
    2. Add the border, with or without padding.
    3. Round the corners of the result and save it as PNG or WebP, so the border follows the rounded shape.

    More guides