Favicon

Favorite icon

A favicon is the tiny icon that represents your website in browser tabs, bookmarks and, if Google chooses to show it, search results.

Checked 27/11/2026 against 2 sources. Next review 27/05/2027.

A favicon, short for favorite icon, is a tiny icon included along with a website [1]. It is shown in places like the browser's address bar, page tabs and the bookmarks menu [1]. If your site has one, Google can also include it in search results for your site when it follows Google's guidelines [2]. You declare it with a link tag in the header of your home page [2]. MDN says favicons are used to improve user experience and enforce brand consistency [1]. In a list of search results, Google says a representative one helps people identify your site quickly [2].

How do I add a favicon to my website?

Google's instructions are to create a favicon that follows its guidelines, then add a link tag to the header of your home page [2]. The tag below is the syntax Google gives.

<link rel="icon" href="/path/to/favicon.ico">

Google reads the rel and href attributes. For rel it supports icon, the older shortcut icon, apple-touch-icon and apple-touch-icon-precomposed [2]. The href can be a relative or full address, and the file need not sit on your own site, so a favicon on a content delivery network works [2].

What size and format does Google want?

Google says the favicon must be a square with a 1:1 aspect ratio, at least 8x8 pixels, and recommends one larger than 48x48 pixels so it looks good on different surfaces [2]. It supports BMP, GIF, ICO, PNG, JPEG, PPM and TIFF files [2]. MDN describes a favicon as usually 16 x 16 pixels in GIF, PNG or ICO format [1].

DetailGoogle Search Central
ShapeSquare, 1:1 aspect ratio [2]
Smallest size8x8 px [2]
Recommended sizeLarger than 48x48 px [2]
URLMust be stable, so do not change it often [2]
Per siteOne favicon per hostname [2]

Why is my favicon not showing in Google results?

Google says a favicon is not guaranteed to appear, even if every guideline is met [2]. Check the usual causes first.

  • Googlebot must be able to crawl the home page, and Googlebot-Image must be able to crawl the favicon file, so neither may be blocked by robots.txt or other means [2].
  • Google supports one favicon per hostname. https://example.com and https://news.example.com can differ, but a subdirectory such as https://example.com/news cannot have its own [2].
  • Recrawling can take anywhere from several days to several weeks, so a new favicon may take a while [2]. You can request indexing of the home page with the URL Inspection tool in Google Search Console [2].
  • The icon should be visually representative of your brand, and Google will not show one it considers inappropriate [2].

A cafe that changes its logo

Say a cafe swaps its logo and uploads the new icon under a different file name every few weeks. Google asks for a stable favicon URL, so keep one file name and replace the image behind it, then ask for the home page to be recrawled.

Questions people ask

What size should a favicon be?

Google needs a square of at least 8x8 pixels and recommends one larger than 48x48 pixels [2]. MDN says a favicon is usually 16 x 16 pixels [1]. A square image larger than 48x48 meets Google's recommendation.

What does a favicon do for my site?

Google says a favicon can appear in search results for your site, and that a representative one helps people identify it quickly when they scan the results [2]. MDN says favicons improve user experience and brand consistency [1].

Which file formats can I use for a favicon?

Google Search supports BMP, GIF, ICO, PNG, JPEG, PPM and TIFF files for favicons [2]. MDN says a favicon is usually stored as GIF, PNG or ICO [1].

Blog posts that use this term

See also

  • SEO SEO is the work of making your website easy for search engines to understand and easy for people to find in search results.
  • Google Search Console Google Search Console is a free tool from Google that shows how your website performs in Google Search and which pages Google has trouble reading.
  • robots.txt A robots.txt file is a plain text file at the root of your site that tells search crawlers which URLs they may visit.
  • CMS A CMS (content management system) is software that lets you publish and change the text, images and other content on your website without writing code.
  • Responsive design Responsive design is a way of building one website so its layout adapts to the screen it is shown on, from phone to desktop.
  • Web hosting Web hosting is renting space on a web server that stays connected to the internet, so your website's files can be sent to anyone who asks.

References

  1. Favicon, MDN Web Docs. Read 27/11/2026.A favicon (favorite icon) is a tiny icon included along with a website, which is displayed in places like the browser's address bar, page tabs and bookmarks menu.
  2. Define a favicon to show in search results, Google Search Central. Read 27/11/2026.Your favicon must be a square (1:1 aspect ratio) that's at least 8x8px.