How to Add a Favicon to Your Website So It Shows in Google Results
· 3 min read · By PK Creative
A favicon is the small icon in a browser tab. Google also shows it beside your listing in mobile search results, so a clear one helps people recognise and trust your site at a glance.
What Google expects
Google asks for a square icon that is a multiple of 48 pixels, such as 48 by 48, 96 by 96 or 192 by 192, in a format like PNG, SVG or ICO. The icon file must be crawlable, meaning robots.txt must not block it, and it should look sensible at 16 pixels.
Google also asks that the favicon represents the site consistently and does not contain inappropriate content. Changing it can take days or weeks to update in results.
Design the icon properly
A full logo with small text rarely survives at tiny sizes. Use a simple mark: a monogram or a distinctive symbol on a solid or transparent background. Test it by shrinking it to 16 pixels and checking that it is still recognisable in both light and dark browser themes.
Which files to provide
A small set of files covers every device.
- An SVG icon for modern browsers, which scales perfectly.
- A 192 by 192 PNG for Android and for Google.
- A 512 by 512 PNG for installable web apps.
- A 180 by 180 PNG for iPhone home screens (apple touch icon).
- Optionally a classic favicon.ico for old browsers.
Add it to your site
In the head of every page, include link tags that point to your icon files, for example a link with rel="icon" and the file path. Frameworks such as Next.js can generate this automatically when you place an icon file in the app folder or declare icons in the page metadata.
Check that it works
Open your site in a private window and look at the tab. Visit yourdomain.in/favicon.ico or your icon path directly to confirm it loads. In Search Console, inspect your home page to ensure Google can fetch it. If you need a clean icon set for your brand, our branding team can provide one with your logo files, and our guide to logo file formats explains which versions to keep.
Frequently asked questions
- How long until my favicon appears in Google?
- It can take several days to a few weeks after Google recrawls your home page.
- Can I use my full logo as a favicon?
- Only if it stays legible at very small sizes. A simplified mark usually works better.
- Do I need favicon.ico?
- It is not required for modern browsers, but some older tools still look for it, so including one is harmless.
- add favicon to website
- favicon size for Google
- favicon.ico vs SVG
- site icon search results