Tools

Home
Base64 Encode/DecodeString to HexHash GeneratorUTF-8 Encode/DecodeURL Encode/Decode

Add Border Around Icon Online

Add a customizable border around your icon images online.

Your files never leave your browser
No image loaded
INPUT
🖼

Drop image here or click to upload

Max 50MB • 100% Private

OUTPUT
Ready

Drop an icon in, pick a color and thickness, and get a bordered PNG back in seconds. Works on favicons, app icons, logos — anything square or round that needs a cleaner edge. And everything runs in your browser. Nothing gets uploaded.

How It Works

Upload Icon
→
Set Border Style
→
Download Result

The tool reads your image into an HTML Canvas element, expands the canvas by the border width you choose, then draws the border around the original icon. Color, thickness, and rounding are all applied on the fly. Because it's pure Canvas API work, there is no quality loss — you get a pixel-perfect PNG out.

Examples

App Store Icon with White Outline

Your app icon blends into dark backgrounds on the App Store listing. A thin white border fixes that instantly.

INPUT
512×512 app icon (PNG) No border, dark gradient background
OUTPUT
536×536 icon with 12px white border Clean separation on any background

Favicon with Brand-Color Border

Tiny 32×32 favicons can disappear in browser tabs. A 2px colored border makes yours pop without redesigning the icon itself.

INPUT
32×32 favicon, white background
OUTPUT
36×36 favicon with 2px #FF5722 border

Social Media Profile Badge

You're running a campaign and want every team member's profile photo to have a matching green ring — like the Instagram "active" look but in your brand color. Each person sends you their photo, and you batch-add the border here instead of opening an editor for every single one.

INPUT
400×400 profile photo (JPG) No border
OUTPUT
424×424 photo with 12px #22C55E border Ready for social media upload

Who Uses This

🎨 Designers

Quick border on icon sets before handoff — no need to reopen the Figma file.

👨‍💻 Developers

Adding visible outlines to PWA icons and favicons that look invisible on certain OS themes.

📱 App Creators

Preparing app store icons that stand out against both light and dark storefronts.

📣 Marketers

Adding branded rings to profile images across team social accounts in minutes.

Common Mistakes

Border too thick for the icon size

A 20px border on a 64×64 icon eats nearly a third of the visible area. For small icons, keep borders under 4px. Scale the thickness to the image dimensions — roughly 2–3% of the width is a good starting point.

Choosing a border color too close to the icon's edge color

If your icon already has a blue edge and you add a blue border, it just looks like a bigger blob. Pick a contrasting color or white/black so the border actually creates visual separation.

Forgetting transparency in the source image

If your icon has a transparent background and you want the border only around the visible shape, you'll get a border around the entire square canvas instead. Fill the transparent area with a solid color first, or crop tightly before uploading.

Technical Details

Frequently Asked Questions

How do I add a border around an icon?

Upload your icon, pick a border color and thickness, then download the result. The whole thing takes about ten seconds. You don't need to install anything — it works right here in your browser.

Does the border change my icon's dimensions?

Yes. The output image is larger than the original by twice the border width in each direction. So a 512×512 icon with a 10px border becomes 532×532. If you need a specific final size, account for that when choosing thickness.

Can I add a rounded border to a square icon?

If the tool includes a corner radius option, absolutely. Set the radius to match platforms like iOS (which uses ~22% corner radius) or Android's squircle shape. Just keep in mind that rounding clips the image corners, so leave some padding in your original design.

Is my icon uploaded to a server?

No. All the processing happens locally in your browser using the Canvas API. Your image data stays on your device the entire time. Nothing is sent anywhere.

What icon sizes work best with borders?

Any size works, but borders are most noticeable on icons between 64×64 and 1024×1024 pixels. For very small icons (16×16 or 32×32), stick to 1–2px borders — anything thicker overwhelms the image. Larger icons can handle 8–20px borders comfortably.

Share: