Image Tools

Favicon Not Showing in Google Search Results? Check These Rules

By Raja JahangirPublished November 29, 20265 min read
Infographic: a laptop showing a search result with a grey globe icon and an arrow from a pink square logo tile, a card of five Google favicon rules, and four numbered fix steps

Key takeaways

  • Google shows your favicon only when the home page links to it, the icon file is crawlable and the image is square and at least 8 pixels.
  • Google recommends an icon larger than 48 by 48 pixels, so link a 128 or 256 pixel PNG next to the 32 pixel tab icon.
  • Check robots.txt, the served HTML and the icon URL directly, since most ignored favicons are crawl problems rather than design problems.
  • After fixing it, request indexing of the home page and allow several days to several weeks before expecting the new icon in results.

Google shows your favicon in search results only when your home page links to it, Googlebot can crawl both the home page and the icon file, and the icon is square and at least 8 by 8 pixels (Google recommends larger than 48 by 48). Even then it can take days or weeks to appear, because Google picks the icon up when it recrawls the home page. Search Console does not have a separate report that tells you whether the favicon was fetched, so the practical fix is to check each requirement yourself and then ask Google to recrawl.

Below is the checklist, how to make an icon that meets the size rule from any logo, and what to do while you wait.

The requirements Google lists

Google's favicon documentation sets these conditions. Missing any one of them is enough for Google to show its generic globe icon instead of yours.

Requirement What to check
A link tag on the home page The home page's head contains <link rel="icon" href="/favicon.png"> (or shortcut icon, apple-touch-icon)
Home page level only Google uses one favicon per hostname. A subfolder such as example.com/shop cannot have its own
Crawlable robots.txt does not block the home page, any redirect from it, or the icon URL; Googlebot-Image must be able to fetch the file
Square shape Width and height are equal (1:1)
Size At least 8 by 8 pixels; larger than 48 by 48 recommended
Format One of BMP, GIF, ICO, PNG, JPEG, PPM or TIFF
Stable URL The icon URL does not change often
Appropriate image Google replaces icons it considers inappropriate with a default icon

Google also says plainly that meeting every guideline does not guarantee a favicon will be shown.

Make a square icon at the right sizes

The two size rules people break most often are shape and resolution: a wide logo used as is, or a single 16 by 16 icon left over from an old theme. Start from a square image of at least 256 pixels.

Open the free favicon generator, choose your image and click Generate Favicons. With a 512 by 512 PNG logo as the input, the tool produces six PNG files you can download one by one: 16x16, 32x32, 48x48, 64x64, 128x128 and 256x256 pixels, named favicon-16x16.png through favicon-256x256.png. The resizing happens in your browser, so the logo is not uploaded.

If your logo is wider than it is tall, crop it to a square first with the image cropper. The generator draws the whole image into a square, so a rectangular logo comes out squeezed. A logo with a lot of empty space around it also reads poorly at small sizes; crop tight to the mark.

Five ticked checklist items for a Google favicon, from a link tag on the home page to requesting indexing, beside a photo of a man working at a laptop

Add the link tags

Upload the files to your site, for example to the root, and add link tags to the head of the home page (and ideally every page, so browsers show it too):

<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="128x128" href="/favicon-128x128.png">
<link rel="icon" type="image/png" sizes="256x256" href="/favicon-256x256.png">

The 32 pixel file covers browser tabs. The 128 and 256 pixel files give Google a sharp, square source larger than 48 pixels. If you also want a classic favicon.ico at the site root, which many browsers request automatically, pack several of the PNGs into one file with the PNG to ICO converter.

Note that SVG is not in the list of formats on Google's favicon page, so do not rely on an SVG-only icon for search results. A PNG link alongside it is the safe choice.

Check that Google can actually fetch it

Most "the favicon is fine but Google ignores it" cases come down to crawling.

  1. Open the icon URL directly in a private browser window. It should load the image with no login, no redirect loop and no error page.
  2. Read robots.txt. A rule such as Disallow: /assets/ blocks the icon if it lives there. Google needs Googlebot to reach the home page and Googlebot-Image to reach the icon file.
  3. Check the home page HTML that is served, not the template. View the page source and search for rel="icon". If a plugin or a JavaScript framework adds the tag after load, make sure it is also in the server-rendered HTML.
  4. Check the response type. The server should return the icon with an image content type. A file named favicon.png that actually returns an HTML 404 page will not work. Our guide to HTTP status codes such as 400, 414, 429 and 502 explains what each error means if you see one.
  5. Keep the URL stable. Changing the file name every deploy (favicon.a8f3.png, then favicon.c21d.png) makes Google's job harder. Use a fixed name.

Ask Google to recrawl, then wait

Once the checks pass, use the URL Inspection tool in Search Console on your home page and request indexing. Google's documentation says crawling can take anywhere from several days to several weeks. During that time the old icon or the default globe may still show; that is normal and is not a sign that something is still wrong.

If weeks pass after a successful recrawl and the icon still does not appear, recheck the shape and size first. A favicon that is 48 by 47 pixels because of a cropping slip is not square, and it fails the rule even though it looks fine in a browser tab.

A short summary checklist

  1. Square source image, at least 256 pixels, cropped tight.
  2. Generate the PNG sizes with the favicon generator and upload them under a fixed path.
  3. Add rel="icon" link tags in the home page's served HTML, including at least one size larger than 48 pixels.
  4. Confirm robots.txt allows the home page and the icon file.
  5. Request indexing of the home page and give it a few weeks.

Sources

Frequently asked questions