PNG to ICO – complete guide

Author: IcoSmith • Updated:

Favicons still rely on the ICO format for universal compatibility. This guide walks you through converting a PNG into a crisp multi‑size ICO, explains the ideal sizes, and shows how to ship a production‑ready setup in minutes.

Try it now: Open IcoSmith, drop your PNG, pick sizes 16, 32, 48, 64, 128, 256, and export. You can download either the ICO file or the full favicon package with all tags.

Why ICO is still needed

ICO can embed multiple bitmap sizes in one file. Windows and many legacy contexts prefer ICO, and some tooling still looks specifically for favicon.ico at the site root. Shipping an ICO ensures your brand mark appears correctly everywhere.

Recommended sizes

Start from a square source of at least 512×512. If your logo has very thin strokes, enable the “sharp small icons” profile in IcoSmith for better 16px clarity.

Step‑by‑step

  1. Open IcoSmith and drag your PNG (or click to choose).
  2. Select the sizes listed above. Keep transparent background unless you need a solid color.
  3. Preview the 16–32 px results; adjust the “sharp/smooth” profile if needed.
  4. Export the ICO, or click favicon package to get HTML tags, PNG fallbacks, mask icon and manifest.

Add it to your site

Place favicon.ico at the root and add the tags from the package in your <head>. We also recommend a 180×180 Apple Touch PNG and a mask icon SVG. See favicon sizes and best practices.

Troubleshooting

Ready? Generate your favicon now. You can also explore PNG → ICO, JPG → ICO and SVG → ICO tools.