Skip to content
All articles

How do you get your favicon to show in Google Search?

guide // , 6 min read, by Darthwares

To get your favicon to show in Google Search results, you need to add a specific HTML tag to your home page and ensure the favicon file meets Google's technical and content requirements. Google Search can include your site's favicon in its search results if these conditions are met. A favicon, or favorite icon, is a small graphic associated with a website, displayed in various browser locations to improve user experience and reinforce brand consistency. When users see a familiar icon, it helps them confirm they are on the correct site.

A simple diagram showing a browser tab with a small square icon next to the page title, and a Google search result snippet with a similar small square icon next to the website's
On this page // 7 sections
  1. 01What is a favicon?
  2. 02How does Google Search use favicons?
  3. 03How do you add a favicon for Google Search?
  4. 04What are Google's favicon image requirements?
  5. 05How does Google define a site for favicons?
  6. 06Why might your favicon not appear in Google Search?
  7. 07Common questions

The short version

  • Add a <link rel="icon"> tag to your home page's header pointing to your favicon file.
  • Ensure your favicon image is square, with a minimum size of 8x8 pixels.
  • Allow Googlebot and Googlebot-Image to crawl your home page and the favicon file.
  • Use a supported file format such as PNG, ICO, GIF, or JPEG for your favicon.
  • Avoid using inappropriate content, such as pornography or hate symbols, in your favicon.

What is a favicon?

A favicon, short for favorite icon, is a small icon that accompanies a website. You typically see these tiny graphics in places like your browser's page tabs, address bar, and bookmarks menu. Their primary purpose is to enhance the user experience and maintain brand consistency across different browsing contexts.

For example, when a user sees a recognizable icon in their browser's address bar or a list of bookmarks, it helps them quickly identify and confirm they are on the correct website. While historically favicons appeared in the address bar, most modern browsers have replaced this with an image indicating whether the website uses HTTPS. Favicons are commonly 16 x 16 pixels in size and are often stored in GIF, PNG, or ICO file formats.

How does Google Search use favicons?

Google Search can include your site's favicon directly in its search results, providing a visual identifier next to your site's listing. This integration helps users quickly recognize your brand within the search interface. For Google to display a favicon, it must first discover and process your website and its associated favicon file.

Google Search operates as an automated search engine that uses software called web crawlers, such as Googlebot, to explore the web. This process involves three main stages: crawling, indexing, and serving search results. During the crawling stage, Googlebot downloads text, images, and videos from pages it finds. For a favicon to be considered, Googlebot must be able to access and crawl your home page, and a specific crawler called Googlebot-Image must be able to crawl the favicon file itself. If these files are blocked from crawling, Google cannot process them. After crawling, Google attempts to index the information, storing it in its large database. However, indexing is not guaranteed for every page or asset Google processes, meaning even if crawled, a favicon might not always appear in search results.

To enable Google Search to find and display your favicon, you must add a specific HTML `<link>` tag to the header section of your website's home page. This tag tells Google where to locate your favicon file. Google Search Central documents the exact syntax required for this implementation.

  1. 01Open the HTML file for your home page.
  2. 02Locate the `<head>` section of the document.
  3. 03Add the following line within the `<head>` section, replacing `/path/to/favicon.ico` with the actual path to your favicon file:
  4. 04`<link rel="icon" href="/path/to/favicon.ico">`

What are Google's favicon image requirements?

Google has specific requirements for favicon images to ensure they display correctly and appropriately in search results. Your favicon must be a square image, meaning it needs a 1:1 aspect ratio. The minimum size for a favicon is 8x8 pixels. While this is the smallest acceptable size, Google Search Central recommends using a favicon larger than 48x48 pixels. This larger size helps ensure the icon looks good across various display surfaces and devices where it might appear.

Google Search supports a wide range of common image file formats for favicons. However, Google will not display any favicon it considers inappropriate, such as those containing pornography or hate symbols. Ensuring your favicon adheres to these content guidelines is as important as meeting the technical specifications.

Supported Favicon File Formats for Google Search
File FormatGoogle Search Support
BMPSupported
GIFSupported
ICOSupported
JPEGSupported
PNGSupported
PPMSupported
TIFFSupported

How does Google define a site for favicons?

Google Search operates under a rule of one favicon per site. For the purpose of favicons, Google defines a site by its hostname. This means that if your website uses a single hostname, such as example.com, you can only have one favicon associated with it that Google Search will consider for display. This rule applies regardless of how many different pages or subdirectories your site might have under that single hostname.

Several factors can prevent your favicon from appearing in Google Search results, even if you have implemented the `<link>` tag correctly. A primary reason is if Google's crawlers cannot access the necessary files. Googlebot must be able to crawl your home page, and Googlebot-Image must be able to crawl the favicon file itself. If either of these is blocked from crawling, Google cannot discover or process your favicon.

Additionally, Google will not show favicons that it deems inappropriate, such as those containing pornography or hate symbols. Even if all technical requirements are met and the content is appropriate, indexing is not guaranteed for every asset Google processes. This means that while you can follow all guidelines, the final display of your favicon in search results is at Google's discretion.

Common questions

What is the minimum size for a favicon in Google Search?

Google Search requires your favicon to be a square image with a minimum size of 8x8 pixels. However, Google Search Central recommends using a favicon larger than 48x48 pixels to ensure it looks good across various display surfaces.

What file formats does Google Search support for favicons?

Google Search supports several common favicon file formats, including BMP, GIF, ICO, PNG, JPEG, PPM, and TIFF. You can choose any of these formats for your favicon image.

Can I have multiple favicons for my website in Google Search?

No, Google Search only supports one favicon per site. For this purpose, a site is defined by its hostname. This means that regardless of how many pages your website has, only one favicon will be considered for display in Google Search results for that hostname.

Where do favicons typically appear in a browser?

Favicons are tiny icons included with a website that are displayed in various browser locations. These include browser page tabs, the bookmarks menu, and historically, the browser's address bar. Modern browsers often show an HTTPS indicator in the address bar instead of the favicon.

Why is a favicon useful for a website?

A favicon is useful because it helps improve user experience and enforces brand consistency. When users see a familiar icon in places like browser tabs or bookmark lists, it helps them quickly recognize your website and confirms they are in the right place, reinforcing your brand identity.

Primary sources and further reading

This article was researched and written by an AI model and published automatically. It was written from sentences that were checked to appear on the pages below, but a person has not reviewed the text. If something is wrong, tell us at chibivikramathithan@darthwares.com and we will correct it.