How to make an ICO file
- Drop your logo or image into the box. A square PNG or SVG of at least 256×256 px works best.
- Tick the sizes you need. For a website favicon, 16, 32 and 48 px is the standard set.
- Download the .ico file.
Add the favicon to your website
Upload favicon.ico to the root of your site and add this line inside <head>:
<link rel="icon" href="/favicon.ico" sizes="any">
Browsers pick the best size from the file automatically.
Which sizes should I include?
- 16 × 16 — browser tabs and bookmarks.
- 32 × 32 — high-resolution tabs and the Windows taskbar.
- 48 × 48 — Windows desktop and site shortcuts.
- 256 × 256 — large Windows icons (for app or folder icons).
Non-square images are centred on a transparent square, so nothing gets stretched.
Troubleshooting
- The favicon doesn't change in my browser: browsers cache favicons for a long time. Open the site in a private window or add
?v=2to the link. - The 16 px icon is a blur: detailed logos don't survive 16 px. Use a simplified mark (just the letter or symbol) for the small sizes.
- The icon has a white box: your image has a white background. Start from a transparent PNG.
- Windows shows the old icon for a shortcut: Windows caches icons too; restart Explorer or sign out and in.
Favicons for modern sites
A favicon.ico with 16, 32 and 48 px covers every browser. Add a 180 × 180 PNG as
<link rel="apple-touch-icon" href="/apple-touch-icon.png"> for iPhone home screens — make it with
Resize Image (Exact size). An SVG favicon (rel="icon" type="image/svg+xml") is a nice
extra for sharp tabs, but keep the ICO as a fallback.
Frequently asked questions
Does the ICO keep transparency?
Yes. Each size is stored as a transparent PNG inside the .ico file.
Can I convert an SVG logo to ICO?
Yes. SVGs are rendered sharply at every icon size.
Will it work in Windows?
Yes. ICO files with PNG images inside are supported by Windows Vista and newer, and by all modern browsers.
Are my files uploaded?
No. The icon is created in your browser and your image never leaves your device.
Can I make an ICO from a JPG?
Yes. JPG, PNG, WebP and SVG all work; JPG has no transparency, so the background stays.
Which size does Windows use for app icons?
256 × 256 for large icons, 48 and 32 for smaller views.