Tools

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

Clean Icon Edges Online

Clean up rough edges and anti-aliasing artifacts on 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

Snap every semi-transparent edge pixel on your icon to either fully opaque or fully invisible, killing the fringe that anti-aliasing leaves behind. Upload a PNG, hit Process, and the result is crisp binary-alpha edges that won't halo on dark backgrounds or double-round on app store icons. And everything runs in your browser. Nothing gets uploaded.

How It Works

Upload Icon
→
Threshold Alpha
→
Download Clean PNG

The tool reads every pixel’s alpha (transparency) value. Anything below 50% opacity gets set to completely transparent. Anything at 50% or above becomes fully opaque. This binary threshold wipes out the gradient fringe that anti-aliasing leaves behind, giving you razor-sharp edges without touching the actual colors.

Examples

Favicon with White Fringe on Dark Backgrounds

Your 32×32 favicon looks perfect on white but shows a ghostly white outline when the browser tab is in dark mode.

INPUT
32×32 PNG favicon with semi-transparent edge pixels (alpha values 20–240 around the border)
OUTPUT
32×32 PNG with all edge pixels snapped to 0 or 255 alpha — no fringe on any background

App Store Icon with Anti-Aliasing Artifacts

Apple and Google both apply their own corner rounding. If your 1024×1024 source icon has soft edges already baked in, the store’s rounding stacks on top and creates a blurry double-edge effect.

INPUT
1024×1024 app icon PNG exported from Illustrator with feathered edges
OUTPUT
1024×1024 PNG with hard pixel boundaries — ready for app store upload without double-rounding

Sprite Sheet Icons for a Game UI

You’re building a pixel-art style game but your icon pack came with smooth anti-aliased edges that clash with the aesthetic.

INPUT
64×64 sword icon with smooth gradient transparency on outer pixels
OUTPUT
64×64 sword icon with pixel-perfect hard edges — matches the retro game style

Who Uses This

🎨 UI/UX Designers

Cleaning up toolbar and tab bar icons before handing assets to developers.

👨‍💻 Frontend Developers

Fixing favicon fringe that only shows up in dark mode browser tabs.

📱 Mobile Developers

Prepping app icons for iOS and Android stores where soft edges cause double-rounding.

🕹️ Game Developers

Making icon assets match a pixel-art style by removing smooth anti-aliasing.

Common Mistakes

Using this on photographs or detailed illustrations

Alpha thresholding is built for icons and logos — images with clear foreground/background separation. Run it on a photo with natural transparency gradients and you’ll get harsh, jagged outlines instead of clean results. Stick to flat icons and simple graphics.

Uploading a JPG and expecting transparency fixes

JPG files don’t have an alpha channel at all. The tool reads transparency data, so a JPG will come out looking identical to the input. Export your icon as PNG first, then process it here.

Processing an icon that has already been flattened onto a background

If someone already composited your icon onto a solid color, every pixel is fully opaque. There are no semi-transparent edges to clean. You would need to remove the background first (try a background remover tool) and then run this.

Technical Details

Frequently Asked Questions

How do I remove white edges from a PNG icon?

Upload your PNG here and click Process. The tool checks each pixel’s transparency level and forces it to either fully visible or fully invisible. Those white-ish fringe pixels disappear because they get pushed to complete transparency.

What causes anti-aliasing artifacts on icons?

Design software smooths edges by adding partially transparent pixels along curves and diagonals. This looks great on the original background color but creates a visible halo when placed on a different colored surface. It is a side effect of making edges look smooth at the design stage.

Does this tool work on SVG files?

Not directly. SVGs are vector-based, so they don’t have pixel-level alpha artifacts. If you’re seeing edge issues with an SVG, the problem is usually in the vector paths themselves. Export the SVG to PNG first if you still want to run it through this tool.

Will this reduce my icon’s quality?

The actual RGB color data stays untouched — only the transparency channel changes. For flat icons and logos, you won’t notice any quality loss. On icons with deliberate soft shadows or glow effects, those transparent gradients will get flattened, so keep a backup of the original.

Is my image uploaded to a server?

No. The entire process runs in your browser using the HTML Canvas API. Your file is read locally, processed locally, and downloaded locally. Nothing gets sent anywhere — check your network tab if you want proof.

Share: