Tools

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

Add Outline to PNG Online

Add a colored outline around PNG images with transparency 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 in a transparent PNG, pick a color and thickness, and get back the same image with a clean stroke hugging every edge. Works on logos, sticker cutouts, game sprites, thumbnail faces — anything with an alpha channel. And everything runs in your browser. Nothing gets uploaded.

How It Works

Upload PNG
→
Set Color & Width
→
Download Outlined PNG

The tool draws copies of your image offset in eight compass directions (N, NE, E, SE, S, SW, W, NW) for each pixel of outline width, fills those copies with your chosen color using “source-in” compositing, then draws the original on top. Same technique sticker-cut effects use in professional video editors — just faster because there’s no round-trip to a server.

Examples

YouTube Thumbnail Face Cutout

You’ve got a headshot PNG with a transparent background and need it to pop on a busy thumbnail.

INPUT
headshot.png (800×900) Outline: 8px, #FFFFFF
OUTPUT
headshot-outlined.png (816×916) Thick white stroke around head and shoulders

Game Item Icon for a Dark UI

A sword icon disappears against the inventory screen’s near-black background. Thin gold outline fixes it.

INPUT
sword-icon.png (128×128) Outline: 2px, #FFD700
OUTPUT
sword-icon-outlined.png (132×132) Gold border hugging every edge of the blade and hilt

Company Logo for a Conference Slide

Marketing sent over a transparent PNG logo, but the slide background is a gradient that clashes. A 5px dark outline separates the logo from the chaos behind it without looking heavy-handed.

INPUT
acme-logo.png (400×120) Outline: 5px, #1E293B
OUTPUT
acme-logo-outlined.png (410×130) Slate-dark stroke frames the logo cleanly on any gradient

Who Uses This

🎬 YouTubers

Outline face cutouts and reaction PNGs so they don’t bleed into thumbnail backgrounds.

🎮 Game Developers

Add strokes to sprites and UI icons that need to read on varying backgrounds.

🎨 Graphic Designers

Quick sticker-style borders on logos and illustrations without opening Illustrator.

📱 Social Media Managers

Make product images and brand assets stand out in carousel posts and stories.

Common Mistakes

Using a JPG instead of a PNG

JPGs don’t have an alpha channel, so the tool has nothing to outline — you’ll get a rectangular border around the entire image. Convert to PNG with a transparent background first, or run it through a background remover.

Setting the outline too thick

A 20px outline on a 64×64 icon looks like a blob. For small images (under 200px), keep the width between 1–4px. Go thicker only on large images like 1000px+ thumbnails where the outline still reads as a line, not a fill.

Picking an outline color too close to the background

White outline on a white background? You won’t see a thing. The whole point is contrast. Pick a color that actually stands apart from wherever you plan to place the image.

Technical Details

Frequently Asked Questions

How do I add an outline to a PNG image?

Upload your PNG, pick an outline color and width, then hit Process. The tool traces around all non-transparent pixels and adds a uniform border. Download the result as a new PNG — your original stays untouched.

Does adding an outline increase the image size?

Yes, slightly. The canvas grows by twice the outline width in each direction. A 5px outline on an 800×600 image produces an 810×610 result. File size usually goes up a tiny bit because there are more non-transparent pixels for PNG to encode.

Can I add a white outline for YouTube thumbnails?

Absolutely. Set the color to #FFFFFF and the width to 6–10px. That’s the classic “person cutout” look you see on most thumbnails. Works best when you’ve already removed the background so only the subject has visible pixels.

Why does my outline look rectangular instead of following the shape?

That happens when the image has no transparency — the entire rectangle counts as “visible.” You need a PNG with a transparent background. If your image has a solid background, run it through a background remover first, then come back and add the outline.

Is this the same as adding a border or stroke in Photoshop?

Similar idea, different method. Photoshop’s “Stroke” layer effect lets you place the stroke inside, centered, or outside. This tool always places it outside, which is what most people want for sticker-style cutouts. And you don’t need a Photoshop license.

Share: