To convert PNG to ICO, upload a square PNG (512×512 px is ideal) to the free GD Graphic Favicon Generator, click Favicon.ico, and upload the downloaded file to your website’s root folder. The ICO stores 16×16, 32×32 and 48×48 px versions in one file, so every browser can pick the size it needs.

Key facts
favicon.ico, PNG icons, Apple touch icon (180×180), web manifest, HTML snippet.What is an ICO file?
An ICO file is an image format developed for Windows icons that can store several images of different sizes and colour depths in a single file. On the web, favicon.ico is the traditional file browsers request to show the small icon in a tab, bookmark or shortcut. Because one ICO can hold 16×16, 32×32 and 48×48 px versions, the browser chooses the size that fits the screen.
Why convert PNG to ICO?
Modern browsers accept PNG and SVG favicons, but /favicon.ico remains the safest universal fallback. Some older browsers, Windows shortcuts, RSS readers and crawlers request it automatically, even when your HTML has no icon tag. Converting your PNG to ICO means:
- One file covers several sizes, so you manage less.
- It works even if a tool ignores your
<link>tags. - A transparent PNG keeps its transparency inside the ICO.
How to convert PNG to ICO (step by step)

- Prepare a square PNG. At least 256×256 px, ideally 512×512 px. Non-square images get stretched or cropped.
- Open the Favicon Generator and drag your PNG in, or press Ctrl+V to paste from the clipboard.
- Check the live preview on a browser tab, an iPhone home screen and a Google mobile search result.
- Adjust the shape and background if you like: square, squircle, circle, transparent, solid or gradient.
- Click “Favicon.ico” to download, or choose the ZIP bundle to get every size plus the manifest.
- Upload the files to your site’s root folder (next to
index.html, oftenpublic_html/). - Add the code to your
<head>:
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">Which sizes should a favicon include?
| Size | Used for | File |
|---|---|---|
| 16×16 px | Standard browser tab | ICO / PNG |
| 32×32 px | Taskbar, bookmarks, Retina and high-DPI screens | ICO / PNG |
| 48×48 px | Windows shortcuts, Google Search (minimum multiple) | ICO / PNG |
| 180×180 px | Apple touch icon (iPhone/iPad home screen) | PNG |
| 192×192 px | Android Chrome home screen | PNG (manifest) |
| 512×512 px | PWA splash screen and app icon | PNG (manifest) |
ICO vs PNG vs SVG for favicons
| Format | Best for | Limitation |
|---|---|---|
| ICO | Universal fallback, multiple sizes in one file | Not scalable; larger than a single PNG |
| PNG | Sharp icons with transparency | One size per file |
| SVG | Infinite scaling, dark-mode tricks | Not supported everywhere; keep an ICO fallback |
Recommendation: use favicon.ico + a 32×32 PNG + a 180×180 Apple touch icon. Add an SVG if you want crisp scaling in modern browsers.
Favicon rules for Google Search results
Google can show your favicon next to your page title in search results. According to Google Search Central, the icon should be a square whose size is a multiple of 48 px, the favicon URL should be stable and crawlable, and both the favicon file and your homepage must be accessible to Google’s crawlers. Changes can take days or weeks to appear in search results, even when your browser tab already shows the new icon.
Tips for a sharp favicon
Favicon not showing after upload? Fix it
- Hard refresh: Ctrl+F5 (Windows) or Cmd+Shift+R (Mac).
- Clear the browser cache and reopen the tab.
- Purge your CDN cache (for example Cloudflare).
- Open
yoursite.com/favicon.icodirectly. If it returns a 404, the file is in the wrong folder. - Check the path in your
<link>tags matches the real file location. - WordPress: make sure the Site Icon is set and no caching plugin serves an old version.
Almost every case comes down to caching, not a broken file.
Frequently asked questions
favicon.ico in the site root is a universal fallback that older browsers, crawlers and Windows shortcuts still request.yoursite.com/favicon.ico opens directly.Ready to make your favicon?
Upload your PNG, preview it on a tab, iPhone and Google result, and download favicon.ico in seconds.
Related tools: Image Converter · Color Palette Generator · QR Code Generator · All free tools
