Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

Change Outlined Icon To Filled Icon

Upload an outlined icon and fill enclosed regions with a solid color using flood-fill. Choose your fill color, preview the result, and download.

Your files never leave your browser
Drop outlined icon here or click to upload
Supports PNG, JPG, WebP, SVG (max 50 MB)

Fill Color

#000000

Edge Tolerance

30

Higher tolerance treats more similar colors as edges/outlines.

Original

Original icon

Filled Result

Drop an outlined icon, pick a fill color, and every enclosed region inside the strokes gets colored in one click. A tolerance slider handles anti-aliased edges so there are no halos around the outlines. And everything runs in your browser. Nothing gets uploaded.

How It Works

Upload Icon
→
Detect Edges & Flood-Fill
→
Download Filled PNG

The tool reads your image pixel by pixel. It first marks every pixel darker than the tolerance threshold as an “edge.” Then it flood-fills inward from the image borders — any region that the fill can’t reach (because outlines block it) gets colored with your chosen fill. Border-connected areas stay transparent. That’s the whole trick: anything the border flood can’t touch is inside a shape, so it gets filled.

Examples

Simple Heart Outline → Filled Heart

You grabbed a heart outline from an icon pack but need it solid black for a “favorites” button.

INPUT
Heart icon with 2px black stroke, transparent fill, 64×64 PNG
OUTPUT
Same heart, interior filled solid black, background still transparent

Multi-Shape Icon with Custom Color

A settings gear icon has several enclosed sections — the outer ring and the inner circle. You want them filled in brand blue (#2563EB) instead of black.

INPUT
Gear outline, 128×128 PNG, dark gray strokes, fill color set to #2563EB
OUTPUT
Gear with all enclosed regions filled #2563EB, strokes preserved, background transparent

Anti-Aliased Icon with Tolerance Adjustment

Your icon has soft, anti-aliased edges — the strokes aren’t pure black but fade to gray at the borders. Default tolerance leaves a white halo around the fill.

INPUT
Bookmark icon, 256×256, anti-aliased strokes, tolerance bumped from 30 to 55
OUTPUT
Clean filled bookmark, no halo artifacts, smooth edge transition into fill color

Who Uses This

🎨 UI Designers

Convert outline icon sets to filled variants for active/selected states in app interfaces.

👨‍💻 Frontend Developers

Quickly generate filled icon PNGs when the icon library only ships outlines.

📱 App Developers

Create filled tab bar icons for iOS and Android from a single outlined source.

📐 Graphic Designers

Batch-convert outlined logos into solid silhouettes for print or branding materials.

Common Mistakes

Uploading icons with broken outlines

If the stroke has even a 1px gap, the fill leaks through to the background. Check your icon for breaks first — zoom in at 400% or so. Fix gaps in your vector editor before exporting the PNG.

Leaving tolerance too low for gray strokes

If your icon strokes are dark gray rather than pure black, the default tolerance might not recognize them as edges. The fill will bleed through the “edges” because the tool thinks they’re background. Bump the tolerance slider up until the strokes are detected properly.

Using a JPEG instead of PNG

JPEGs don’t support transparency, and their compression adds noise around edges. That noise confuses edge detection badly. Always use a PNG with a transparent background for the cleanest results.

Technical Details

Frequently Asked Questions

How do I convert an outlined icon to a filled icon?

Upload your outlined icon PNG, pick a fill color, and the tool automatically fills every enclosed region inside the outlines. You don’t need to click each area — it detects all interior shapes at once and fills them. Download the result as a transparent PNG.

Why does the fill leak outside my icon’s outlines?

That almost always means there’s a gap in the outline. Even a single missing pixel creates a path for the fill to escape. Zoom into your original icon and look for breaks in the strokes. Fix them in a vector editor, re-export, and try again.

What’s the tolerance slider for?

Tolerance controls how dark a pixel needs to be for the tool to treat it as part of the outline. At low values, only near-black pixels count. Crank it higher if your icon uses gray or colored strokes — otherwise those lighter pixels won’t register as edges and the fill will pass right through them.

Can I fill an SVG icon with this tool?

Yes, you can upload an SVG and the tool will rasterize it for processing. But keep in mind the output is always a PNG. If you need a filled SVG, you are better off editing the SVG source directly — changing fill="none" to your color in the path attributes is usually faster for vectors.

Is my icon data sent to any server?

No. The entire process runs locally in your browser using the HTML5 Canvas API. Your image never leaves your device. There is no upload, no server processing, no storage. It even works offline once the page has loaded.

Share: