Favicons in Google Search Results: What Google Says It Needs
Google lists specific conditions for a favicon in its search results. It also says plainly that meeting them doesn't promise an icon. A favicon may not appear even if all the guidelines are met1. What follows restates Google's documentation. Check that page for the current version.
Step one: the tag
Google's documentation asks for a link tag in the head of your home page. Google supports the rel values icon, shortcut icon (kept for historical reasons), apple-touch-icon and apple-touch-icon-precomposed1. The tag is shown in the link tag walkthrough. Short and simple.
What the guidelines say
Google says you must follow these guidelines to be eligible for a favicon in Google Search results1. In plain terms:
- One per site. Google Search supports one favicon per site, where a site is defined by its hostname. So a main domain and a subdomain can each have one1.
- Home page level only. A domain-level or subdomain-level home page is supported. A subdirectory-level home page, such as example.com/news, isn't1.
- Crawlable. Googlebot must be able to crawl the home page, and Googlebot-Image must be able to crawl the icon file. These URLs must not be blocked by robots.txt or by other means1.
- Square and big enough. The favicon must be square (1:1) and at least 8x8 pixels. Google recommends one larger than 48x48 pixels1.
- A listed file type. BMP, GIF, ICO, PNG, JPEG, PPM or TIFF1.
- A stable address. The favicon URL must be stable, so don't change it frequently1.
- Appropriate content. Google won't show a favicon it deems inappropriate, such as pornography or hate symbols. It replaces those with a default icon1.
- Representative of your brand. Google asks for an icon that's visually representative of your website's brand1.
Which address gets the icon
If your site lives at a folder address instead of its own domain or subdomain, you set the icon on the parent site's home page. Google says that icon applies to the site and its subdirectories1.
Waiting
After you change the tag, give Google time. Google says the wait runs from several days to several weeks, and depends on how often its systems decide content needs refreshing1. The documentation says you can request indexing of your home page with the URL Inspection tool1.
SVG and other formats
Google's list of file types doesn't include SVG1. If your main icon is an SVG, add a file in a listed type as well. Format options are compared on the file type comparison.
Still missing?
Work through the troubleshooting checklist. MDN also says explicit link tags protect you against changes to conventions2. That's a reason to keep the tag.
Sources used
- Define a favicon to show in search results, Google Search Central
- <link>: The External Resource Link element, MDN Web Docs