> ## Documentation Index
> Fetch the complete documentation index at: https://www.logo.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Logo.dev serves logos and brand data for companies that already exist. It does not design logos. If someone wants a logo designed, say so and stop.
> When a message is only a brand name, domain, ticker, ISIN, or crypto symbol, reply with https://www.logo.dev/search?q=<url-encoded term> and the matching img.logo.dev call. Never assert whether a specific brand is in the index.
> Image URLs come from img.logo.dev with a publishable key in the token query parameter: https://img.logo.dev/:domain?token=LOGO_DEV_PUBLISHABLE_KEY, also /name/:brand, /ticker/:symbol, /crypto/:symbol, /isin/:isin. JSON comes from api.logo.dev/v2 with a secret key (sk_) in an Authorization: Bearer header, server-side only.
> Product names: the Logo.dev CDN serves images from img.logo.dev, and its usage unit is CDN requests. The Logo.dev API returns JSON from api.logo.dev/v2, and its usage unit is API credits. The Logo.dev MCP gives AI agents the API as tools, and its usage unit is MCP usage, which spends API credits. The features are Logo, Search, Brand, and Transaction. Transaction (beta) is a separate service at https://www.logo.dev/api/transaction with its own beta key. Never recommend the deprecated v1 routes (/search, /brand, /describe, /logo/*). Use /v2/brands and /v2/search.
> Attribution: a commercial project on the free Community plan must show a visible link, <a href="https://logo.dev">Logos provided by Logo.dev</a>, on its production site. Personal projects and paid plans need none. Rules: https://www.logo.dev/docs/platform/attribution.
> Report a wrong, missing, or outdated logo at https://www.logo.dev/update. Email support@logo.dev for anything broken and sales@logo.dev for volume pricing and contract terms.
> MCP setup is at https://www.logo.dev/docs/mcp/introduction and webhooks at https://www.logo.dev/docs/webhooks.

# How to Add a Favicon to Google Search Results

> Get your favicon to show in Google Search. Covers size requirements (48x48), valid formats, the homepage link tag, crawlability, and why favicons don't appear.

Google shows your favicon next to your site in search results. To get it there, put a square favicon on your homepage and let Google crawl it. Google's [favicon guidelines](https://developers.google.com/search/docs/appearance/favicon-in-search) are the source for the rules on this page.

## Requirements

| Requirement | Detail |
| - | - |
| Shape | Square, with a 1:1 aspect ratio |
| Size | At least 8x8 pixels. Google recommends larger than 48x48 pixels. |
| Format | A format Google supports, such as ICO, PNG, or SVG |
| Location | A `<link>` tag on the homepage of your domain or subdomain |
| Crawl access | Googlebot can crawl your homepage, and Googlebot-Image can crawl the favicon file |
| URL | Stable. Do not change the favicon URL often. |
| Content | Nothing Google considers inappropriate, such as pornography or hate symbols |

A favicon does not need to be exactly 48x48 or a multiple of 48. Any square size larger than 48x48, such as 96x96 or 144x144, works.

## Add the favicon to your site

**1. Make a square favicon**

Export your logo as a square image larger than 48x48 pixels. Use your symbol, not a wide wordmark.

**2. Add the link tag to your homepage**

Put a `<link>` tag in the `<head>` of your homepage. Google reads the favicon for the whole site from the homepage.

```html ICO theme={null}
<link rel="icon" href="/favicon.ico">
```

```html PNG theme={null}
<link rel="icon" type="image/png" href="/favicon.png">
```

```html SVG theme={null}
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
```

On a site builder such as WordPress, Wix, Shopify, Squarespace, Webflow, or Framer, set the favicon in the site settings instead. The builder writes the tag for you.

**3. Let Google crawl it**

Make sure `robots.txt` does not block Googlebot from your homepage or Googlebot-Image from the favicon URL. The favicon URL must return a `200` status.

**4. Request indexing**

In [Google Search Console](https://search.google.com/search-console), open the URL Inspection tool, enter your homepage URL, and click **Request Indexing**. This step is optional, but it can make the change appear sooner.

Google can take several days to several weeks to show a new favicon. Even when you meet every requirement, Google does not guarantee that it will show your favicon.

## Why your favicon is not showing in Google Search

Check these causes in order:

1. **Google has not crawled your homepage again.** Wait, or request indexing in Search Console.
2. **The link tag is not on your homepage.** A tag on inner pages only is not enough.
3. **Google cannot crawl the file.** `robots.txt` blocks Googlebot or Googlebot-Image, or the favicon URL does not return `200`.
4. **The image is not square.** Export it again at a 1:1 aspect ratio.
5. **The image is too small.** Use a size larger than 48x48 pixels.
6. **Google considers the content inappropriate.** Google then shows a default icon.

If Google still shows your old favicon, it has not crawled the new one yet. Keep the new favicon URL stable and request indexing again.

## FAQs

> [accordion] Can I use different favicons for different pages?
>
> No. Google shows one favicon for each domain or subdomain. `app.example.com` can have its own favicon, but `example.com/blog` uses the favicon of `example.com`.

> [accordion] Does Google support SVG favicons in search results?
>
> Yes. If your favicon does not appear, the format is rarely the cause. Crawl access and crawl timing are more common causes.

> [accordion] Can I host the favicon on a CDN?
>
> Yes. The favicon URL can be relative, absolute, or on a CDN. The link tag must be on your homepage.

> [accordion] Does favicon size affect SEO rankings?
>
> No, not directly. A clear favicon helps people recognize your site in the results.

> [card] [Show other companies' logos in your app](https://www.logo.dev/docs/logo-images/introduction.md)
>
> Favicons are small site icons. To show company logos by domain, stock ticker, or name in your own app, use the Logo.dev CDN.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.