Practical guide

PNG to ICO: How to Create a Favicon Without Blurry Results

A good PNG-to-ICO conversion starts with icon-scale artwork; shrinking a detailed logo to 16 or 32 pixels cannot preserve detail that no longer fits.

Start with icon artwork, not a full-size logo

A browser tab may display a favicon at roughly 16 or 32 CSS pixels. Fine lettering, thin strokes, shadows, and small gaps disappear or blend when a large PNG is reduced to that grid. No ICO converter can retain detail for which there are not enough output pixels.

Create a simplified square mark with a clear silhouette and generous spacing. If the brand logo is wide or text-heavy, use a recognisable symbol or initial specifically drawn for small sizes rather than squeezing the entire lockup into a square.

  • Use a square canvas and centre the visual weight, not merely the bounding box.
  • Thicken fragile strokes and enlarge important gaps.
  • Remove tiny text, subtle textures, and photographic detail.
  • Preview against light and dark browser chrome.

Prepare transparency and edges before export

PNG is a useful source because it can preserve an alpha channel and crisp edges. Remove accidental semi-transparent fringes from a previous background, and leave enough transparent padding that the mark does not touch the icon boundary.

Downsampling blends neighbouring pixels, so a sharp source can still look soft when scaled automatically. Compare a high-quality reduction with a hand-adjusted small-size version; at 16 pixels, moving or strengthening a feature by one pixel can materially improve clarity.

  • Avoid an opaque white square unless it is part of the design.
  • Check for coloured halos around transparent edges.
  • Use strong contrast rather than relying on subtle colour differences.
  • Judge the icon at actual size, not only while zoomed in.

Understand what the local ICO output contains

ICO is a container that can hold multiple images at different sizes and colour depths. The local favicon tool creates one PNG-backed image at the selected size—16, 32, 48, or 64 pixels—inside the ICO. That is suitable for a focused favicon test, but it is not a complete multi-resolution Windows application icon set.

For a website, 32 pixels is a practical starting point, followed by testing at the browser’s actual display size. For a Windows application or other environment that expects several resources, use a dedicated icon-authoring workflow to package all required sizes, potentially including a 256-pixel image.

  • Choose 16 pixels only when you have verified the artwork remains clear at that exact grid.
  • Use 32 or 48 pixels when the consuming browser or shortcut can downscale cleanly.
  • Do not claim a single-image ICO covers every Windows shell or high-DPI requirement.
  • Keep the master PNG so you can author additional sizes independently.

Publish and verify the favicon

Reference the icon from the document head with an appropriate link element and a stable URL. Browsers cache site icons aggressively, so a changed filename or versioned URL can make testing more reliable than repeatedly replacing the same file.

Check the deployed site in more than one browser, a pinned or saved shortcut if relevant, and both light and dark system themes. The favicon should remain distinguishable beside neighbouring tabs without appearing heavier or blurrier than its peers.

  • Test the deployed URL directly and confirm the server returns the correct file.
  • Use a simple PNG favicon as an additional web option when your browser support policy allows it.
  • Clear favicon caches or version the URL during iteration.
  • Retain alternative small-size artwork when one automatic reduction cannot serve every context.

Sources

  1. Microsoft Learn: Icons
  2. Microsoft Learn: Icon design basics
  3. WHATWG HTML: Link type icon
  4. W3C: How to add a favicon to your site