How to Make a Favicon for Your Website (All Sizes Explained)
XUtilHub Team ·
A favicon is the little icon in a browser tab, bookmark list and search result. Getting it right takes more than one 16-pixel image, because phones, tablets and search engines each want their own sizes.
The files you actually need
| File | Size | Used by |
|---|---|---|
| favicon.ico | 16, 32 and 48 px in one file | Browser tabs, older browsers |
| favicon.svg (optional) | Scalable | Modern browsers, sharp at any size |
| apple-touch-icon.png | 180 × 180 | iPhone and iPad home screens |
| icon-192.png | 192 × 192 | Android home screen |
| icon-512.png | 512 × 512 | Android splash screen, installable web apps |
| site.webmanifest | – | Tells Android about the icons above |
You don't need dozens of sizes any more. This set covers browsers, phones and search results.
Make them from one image
- Start with a square image at least 512 × 512 pixels: your logo or just its symbol.
- Upload it to the favicon generator.
- Download the package with every file and the HTML.
- Put the files in your website's root folder and paste the HTML into your page's
head.
Designing for 16 pixels
At 16 × 16 pixels, detail disappears.
- Use a symbol, not your full logo. Text becomes an unreadable smudge.
- Bold shapes and high contrast work best.
- Fill the square. Thin padding wastes the tiny space.
- Check dark mode. A black icon on a transparent background vanishes in a dark browser tab. Add a background or an outline.
The HTML
<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
Favicons in Google search
Google shows favicons next to results on mobile. To qualify, your favicon should be square, at least 48 × 48 pixels, at a stable URL, and crawlable (not blocked by robots.txt). It can take a while for Google to pick up a new favicon after you change it.
Troubleshooting
The old icon still shows. Browsers cache favicons aggressively. Try a private window or clear the cache; renaming the file also forces a refresh.
It looks blurry. Start from a larger, sharper image, or provide an SVG. For a vector logo, export it with SVG to PNG at 512 pixels first.
It isn't square. Crop or pad it to a square with the image resizer before generating.
Tools mentioned in this article
SVG to PNG
Convert SVG to PNG at any size or scale with a transparent background. Free, fast and in-browser.
Image ResizerNEW
Resize images by width, height or percentage, or to exact dimensions. Batch resize JPG, PNG and WebP in your browser with high-quality scaling.
Favicon GeneratorNEW
Create a favicon.ico, PNG favicons, Apple touch icon and Android icons from one image, plus the web manifest and HTML code. Free and instant.