Published February 18, 2025 · 5 min read

How to Convert PNG to ICO for Favicons

Every website needs a favicon — that tiny icon displayed in browser tabs, bookmarks, and search results. It's one of the first things that signals professionalism and brand identity. The standard format for favicons is ICO, and the easiest way to create one is by converting a PNG image. Here's everything you need to know about making the perfect favicon.

What Is an ICO File?

ICO (Icon) is a file format developed by Microsoft specifically for icons in Windows. Unlike regular image formats, an ICO file can contain multiple image sizes bundled into a single file. This means a browser can pick the most appropriate size for different contexts — a 16×16 version for the tab, a 32×32 for bookmarks, and a 48×48 for desktop shortcuts.

While modern browsers also support PNG favicons, the ICO format remains the most universally compatible option. It works in every browser, including older versions of Internet Explorer that many enterprise users still rely on.

What Size Should a Favicon Be?

For maximum compatibility, your favicon should include these sizes:

A good ICO converter will handle the resizing for you. Start with a source image that's at least 48×48 pixels (ideally 256×256 or larger for the best quality when scaling down).

How to Convert PNG to ICO in 3 Steps

  1. Prepare your image — Use a square PNG with a transparent background if your design calls for it. A 512×512 or 256×256 source works best.
  2. Open the converter — Go to the PNG to ICO converter on This 2 That.
  3. Drop and download — Drag your PNG onto the page. The tool creates your ICO file instantly, right in your browser.

Create your favicon now — free, instant, no upload required.

Convert PNG to ICO →

How to Add a Favicon to Your Website

Once you have your favicon.ico file, adding it to your website is straightforward. Place the file in your site's root directory and add this tag to the <head> of your HTML:

<link rel="icon" type="image/x-icon" href="/favicon.ico">

For modern browsers, you can also provide a PNG version at higher resolution:

<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">

Most browsers automatically look for /favicon.ico in your site's root, so simply placing the file there often works without any HTML changes.

Tips for Designing a Great Favicon

ICO vs PNG vs SVG for Favicons

For the best results, provide an ICO file as the primary favicon and supplement with PNG and SVG versions for modern browsers.

Common Favicon Mistakes to Avoid

More Image Tools

Working on your website's visual assets? These tools might help:

All tools on This 2 That run entirely in your browser — your files never leave your device.