How to Make a Favicon for Your Website (Sizes, Formats and HTML)
A favicon is the small icon in browser tabs, bookmarks and, on many devices, in Google search results. It takes a few minutes to create one, and a good icon makes your site look trustworthy.
The sizes you need
- 16 x 16 and 32 x 32 for browser tabs.
- 48 x 48, because Google asks for favicons that are a multiple of 48 pixels.
- 180 x 180 for the Apple touch icon on iPhone and iPad.
- 192 x 192 and 512 x 512 for Android and installed web apps.
Step by step
- Start with a square image of at least 512 x 512 pixels. A simple, bold shape works best, because fine detail disappears at 16 pixels.
- Open PNG to ICO (or JPG to ICO or SVG to ICO), add your image and choose the Favicon set. Download
favicon.ico. - Upload the file to the root folder of your site so it loads at
yourdomain.com/favicon.ico. - Add the link tags below to the head of your pages.
- Open your site in a private window and check the tab icon.
The HTML to add
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" type="image/png" sizes="48x48" href="/favicon-48x48.png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
Design tips
- Use a transparent background so the icon looks right on both light and dark browser themes.
- Avoid small text. A single letter or a simple symbol is easier to read.
- Keep the colors close to your brand so visitors recognize your tab.
If the old icon still shows
Browsers cache favicons for a long time. Press Ctrl+F5, or open the site in a private window. If the icon never appears, check that the file loads in your browser and that your server or robots file is not blocking it, because search engines also need to fetch it. Google can take days or weeks to update the icon next to your site in search results.
Frequently asked questions
What is the best size for a favicon?
Provide 16, 32 and 48 pixel sizes in one favicon.ico, plus a 180 pixel Apple touch icon. A size that is a multiple of 48 pixels helps Google show it in search results.
Can I use a JPG as a favicon?
You can convert it to ICO, but JPG has no transparency, so the icon has a solid background. A PNG or SVG with a transparent background looks better.
Where do I put favicon.ico?
In the root folder of your site so it loads at yourdomain.com/favicon.ico, and add the link tags to the head of your pages.
Why is Google not showing my favicon?
Google needs to crawl both your home page and the icon file, and updates can take days or weeks. Make sure neither is blocked and that the icon keeps a stable address.
Try the tools
PNG to ICO · JPG to ICO · SVG to ICO · ICO to PNG · Image Resizer
More guides
How to Compress an Image to 100 KB (or 50 KB) for Online Forms · How to Merge and Split PDF Files Without Uploading Them · Image to Text (OCR): How to Get Accurate Results from Photos and Scans

