How to Convert PNG to ICO

Turn a PNG logo into a real favicon.ico with multiple sizes inside. Learn how to convert PNG to ICO, which sizes to include, and how to install it.

What a favicon is, and why ICO still matters

A favicon is the tiny icon shown in a browser tab next to your site's title. It is small — usually 16 pixels square — but it is the most-seen piece of a site's branding, appearing in every tab, bookmark, and history entry. The classic favicon file is favicon.ico, and the ICO format has one feature no other favicon format offers: a single .ico file can contain several sizes of the same icon, and the browser or operating system picks the size that fits where it is displayed.

Modern browsers also accept PNG and SVG favicons, but ICO remains the most universally supported option, including in older browsers and in Windows contexts like desktop shortcuts. A real multi-size ICO is still the safest single favicon file you can ship.

The sizes inside a good favicon.ico

A properly built favicon.ico normally contains three sizes: 16 by 16 pixels for the browser tab, 32 by 32 for high-resolution displays, bookmark bars, and taskbar shortcuts, and 48 by 48 for Windows desktop shortcuts and site icons. Some ICO files also include 64 or 256 pixel versions for larger Windows views, but 16, 32, and 48 cover the favicon's real job.

Note that a favicon.ico is not the whole icon story for a modern site. Apple devices want a 180 by 180 PNG touch icon for home-screen shortcuts, and Android devices and progressive web apps want 192 and 512 pixel PNGs declared in a manifest. Those are separate PNG files, not part of the ICO — the ICO handles the browser tab and desktop, the PNGs handle phones and apps.

Start from a good source image

Start from a square PNG, ideally at least 512 by 512 pixels, so the downscaling to 16 pixels has clean detail to work from. Simple, bold shapes survive the shrink; fine lines, small text, and detailed illustrations do not — a logo that reads beautifully at 512 pixels can become an unreadable smudge at 16. If your logo contains a wordmark, consider using just the symbol or initial at favicon size, and test the result at actual tab size before shipping it.

Transparency is preserved in ICO files, so a logo with a transparent background stays transparent in the tab. Check it against both light and dark browser themes: a dark logo that looks fine on a light tab can vanish on a dark one. If your logo only works on one background, add a solid backing shape or a contrasting outline before converting. To slim down a heavy source image first, the Image Compressor can help, and if your logo is currently an SVG, the SVG to PNG guide explains how to turn it into a PNG source.

How to convert PNG to ICO, step by step

Open the PNG to ICO converter and upload your square PNG. Generate the ICO, download it, and verify it contains the sizes you expect — the tool reports the sizes it packed into the file. Then look at the icon at 16 pixels, the size it will actually be seen at most often: if it is still recognisable, it is ready; if it is a blur, simplify the source image and convert again rather than shipping a muddy icon.

Installing the favicon on your site

Place the file as favicon.ico in your website's root directory. Most browsers request that exact path automatically, so a file in the root often works with no code at all. To be explicit, add a link tag to your pages' head section pointing to the file. Then create the separate phone and app icons — the 180 pixel Apple touch icon and the 192 and 512 pixel Android icons — and declare them in your HTML and manifest as well. A favicon.ico alone covers tabs and desktops; the PNG set covers phones.

The caching gotcha when testing

Browsers cache favicons aggressively, which means after you install a new favicon, your own browser may keep showing the old one — or none at all — for a long time. That is a caching quirk, not a broken file. When testing, hard-refresh the page, clear the browser cache, or test in a private window. If the new icon appears in a private window but not your normal one, the file is fine and your browser just needs time or a cache clear to catch up.

What this tool does and does not do

The free PNG to ICO converter turns a PNG into a real ICO favicon containing multiple sizes, entirely in your browser — your logo is never uploaded to a server. It does not design your logo, simplify detailed artwork for tiny sizes, or generate the separate Apple and Android PNG icons; those remain separate files you create from the same source image. For the source artwork itself, the SVG to PNG guide covers turning vector logos into PNG, and the Image Compressor can slim down a heavy source file before conversion.

Try it now — free

Use the PNG to ICO Converter — Favicon Generator right in your browser. No signup.

Open the tool →

More guides

All guides →