A favicon is the small icon that appears in browser tabs, bookmarks, search results, and mobile home screen shortcuts — and it is one of the most quietly broken elements on real-world websites. This guide covers every method for finding and checking a website's favicon, the complete set of sizes browsers expect, the most common reasons favicons fail to show, and how to generate a correct favicon set from scratch.
What is a favicon?
A favicon (short for "favourites icon") is a small image file that represents a website in browser tabs, the address bar, bookmarks, history lists, and search engine results pages. It is typically a 16×16 or 32×32 pixel square image, though modern browsers request multiple sizes depending on the context — a home screen shortcut on iOS needs a 180×180 pixel image, while a PWA install on Android needs 192×192 and 512×512 pixel versions.
Why favicons matter beyond branding
A correctly configured favicon has three practical benefits beyond visual identity. First, Google displays favicons next to search results in SERPs — a missing or broken favicon shows a generic globe icon, which looks unprofessional. Second, mobile browsers use favicon files to create home screen shortcuts — a site without a properly sized touch icon gets a low-quality screenshot as the shortcut instead. Third, browser tab favicons help users identify and navigate back to your tab when many tabs are open.
The favicon.ico legacy format
The `.ico` format originated with Internet Explorer in 1999 and became the universal default because browsers automatically request `/favicon.ico` from every domain's root — no link tag required. A modern `.ico` file is a container that holds multiple sizes (typically 16×16 and 32×32) in one file. Despite its age, `favicon.ico` remains important as the universal fallback for legacy browsers, email clients, and tools that do not read HTML link tags.
Note
How to find a website's favicon
There are three reliable methods to find a website's favicon URL. The fastest handles most cases; the others are fallbacks for sites with custom configurations.
Method 1: the default /favicon.ico path
Append `/favicon.ico` to any domain and open it in a browser tab. For example: `https://example.com/favicon.ico`. If an icon image appears in the tab and renders in the page, the file exists and loads correctly. If you see an error page or a blank white page, the file is absent or the server is misconfigured. This method works for the majority of websites that use the conventional path.
Method 2: view page source for link tags
Right-click any page and select "View Page Source" (or press Ctrl+U on Windows, Cmd+U on Mac). Search the HTML for `rel="icon"` or `rel="shortcut icon"`. The `href` attribute value in the matching `<link>` tag is the exact favicon path. This finds custom favicon locations — sites served from a CDN often use absolute URLs like `https://cdn.example.com/assets/favicon.svg` rather than the default root path.
Method 3: check the web app manifest
Progressive Web Apps declare their icons in a `manifest.json` file linked via `<link rel="manifest">` in the HTML head. Open the manifest URL and look for the `icons` array — each entry lists an image path and its pixel size. This is how Android and Chrome handle PWA installs, and the manifest is often the only place 192×192 and 512×512 PNG paths are declared.
Tip
How to check if a favicon is working
Checking whether a favicon is correctly configured requires more than just confirming the file exists. A favicon can exist but still fail to display if the server returns the wrong content type, the file is too small for the requested context, or the browser has a stale cached version.
Open the favicon URL directly in a browser tab
Navigate directly to the favicon URL — for example, `https://yourdomain.com/favicon.ico`. If the favicon image renders in the tab and displays as an icon in the browser's tab bar, the file serves correctly. If you see an HTML page or an error, the URL points to the wrong file or the server is redirecting the request.
Check the Content-Type response header
Open DevTools, go to the Network tab, refresh the page, and filter for the favicon request. Click the favicon entry and check the Response Headers section. The `Content-Type` should be `image/x-icon` for `.ico` files, `image/png` for `.png` files, or `image/svg+xml` for `.svg` files. A response with `text/html` means the server is returning an HTML page — usually a 404 page — instead of the actual favicon file.
Verify the image dimensions are correct
Download the favicon file and check its dimensions with the Image Dimensions Checker. A `favicon.ico` should contain embedded sizes of at least 16×16 and 32×32. Apple touch icons must be exactly 180×180. PWA manifest icons must be 192×192 and 512×512. An incorrectly sized favicon will either display blurry or be silently skipped by the browser for that specific context.
Hard-refresh to bypass the favicon cache
Browsers cache favicons aggressively — sometimes for days. If you updated your favicon but the old one still appears, press Ctrl+Shift+R (Windows/Linux) or Cmd+Shift+R (Mac) to hard-refresh and force the browser to re-fetch the icon. In Chrome, you can also right-click the tab, select "Reload", or clear the favicon cache via DevTools → Application → Storage → Clear Site Data.
Confirm the favicon is not blocked by robots.txt
If your favicon fails to appear in Google Search results, check that your `robots.txt` does not disallow access to the favicon file or the directory it lives in. Google's crawler fetches favicons independently and respects `robots.txt` — a blocked favicon URL results in the generic globe icon appearing next to your site in SERPs. Use the Robots.txt Rule Conflict Explainer to verify your robots.txt configuration is not blocking the favicon path.
Image Dimensions Checker
Check the pixel dimensions of any image file instantly — confirm your favicon, touch icon, and PWA icon files are the correct sizes before adding them to your HTML.
Favicon sizes and formats
The number of favicon files a well-configured site needs has dropped significantly with modern browser support. Understanding which sizes are still required — and which are now redundant — lets you build a minimal, correct favicon set.
| Favicon file | Size | Used by | Required? |
|---|---|---|---|
| favicon.ico | 16×16 + 32×32 | Legacy browsers, bookmark bars | ✓ Yes — universal fallback |
| favicon-32x32.png | 32×32 px | Modern browsers (tab) | ✓ Yes — primary PNG |
| apple-touch-icon.png | 180×180 px | iOS home screen bookmarks | ✓ Yes — iOS required |
| icon-192x192.png | 192×192 px | Android PWA installs | ✓ Yes — PWA required |
| icon-512x512.png | 512×512 px | PWA splash screens | ✓ Yes — PWA required |
| favicon.svg | Scalable | All modern browsers | ✓ Recommended — replaces most PNGs |
| favicon-16x16.png | 16×16 px | Older browsers (tab) | ✗ Optional — .ico handles this |
| mstile-150x150.png | 150×150 px | Windows 8/10 Start tiles | ✗ Obsolete — Windows 11+ ignores |
| browserconfig.xml | N/A | IE 11 / Windows pinned sites | ✗ Obsolete — IE retired 2022 |
The case for SVG favicons
SVG favicons are supported by all major browsers since 2021. A single `favicon.svg` file renders perfectly at any size — 16×16 in a tab, 32×32 in a bookmark bar, or any intermediate resolution on high-DPI screens. SVG also supports a `prefers-color-scheme` media query inside the file, allowing the favicon to automatically switch between a light and dark version based on the OS theme. One SVG file replaces every PNG favicon except the Apple touch icon and PWA manifest icons.
Note
Common favicon problems and fixes
Most favicon failures fall into a small number of predictable categories. Each one has a direct fix once you know where to look.
Favicon not showing in browser tab
The most common cause is a missing `<link rel="icon">` tag combined with a missing `/favicon.ico` file. Browsers fall back to requesting `/favicon.ico` automatically, but if that file returns 404, no icon appears. Fix it by adding the file at the domain root and adding a `<link rel="icon" href="/favicon.ico">` tag to your HTML `<head>`. For custom paths, the link tag is required — the browser will not guess custom locations.
Favicon showing as a blank or broken image
A broken favicon icon in the tab usually means the file exists but is not a valid image format. The most common cause is saving a PNG file with a `.ico` extension without proper conversion. Use the Image Format Detector to confirm the actual file format — a file named `favicon.ico` may actually be a PNG, JPEG, or HTML document internally. The fix is to generate a proper `.ico` file using the Favicon Generator.
Google showing the wrong favicon in search results
Google caches favicons and updates them independently of regular crawls — it can take days to weeks for a new favicon to appear in SERPs. To speed up the process: verify the favicon URL is publicly accessible (not blocked by robots.txt or requiring authentication), confirm the file has the correct Content-Type header, and request a re-index in Google Search Console. Google requires a minimum 48×48 pixel favicon for SERP display; smaller images are ignored.
Old favicon persisting after an update
Browser favicon caches are persistent and do not respect HTTP cache headers the same way regular resources do. Hard-refreshing the page (Ctrl+Shift+R or Cmd+Shift+R) forces a favicon re-fetch in most browsers. In Chrome, you can clear it via DevTools → Application → Storage → Clear Site Data. As a deployment strategy, changing the favicon filename or adding a cache-busting query string to the link tag href forces all browsers to fetch the new version immediately.
Warning
Generating a complete favicon set
Creating all required favicon sizes manually from scratch is tedious and error-prone. The practical approach is to start with one high-resolution source image and generate all required sizes automatically.
Requirements for the source image
- Minimum 512×512 pixels — this is the largest required size (PWA splash screen) and serves as the downsampling source for all smaller sizes
- Square aspect ratio — favicons are always square; a non-square source gets cropped or distorted
- Transparent background — a transparent PNG works better than a white background, which appears as a white square on dark mode tabs
- Simple design — fine detail and thin lines look muddy at 16×16 px; logos with thick strokes and minimal complexity work best at small sizes
- PNG or SVG format — both preserve quality at any size; avoid JPEG which introduces compression artifacts on hard edges
Using the Favicon Generator
Upload your source image to the Favicon & App Icon Generator. The tool generates the complete standard favicon set — `favicon.ico` (16×16 and 32×32), `favicon-32x32.png`, `apple-touch-icon.png` (180×180), `android-chrome-192x192.png`, and `android-chrome-512x512.png` — along with the exact HTML link tags to paste into your `<head>` section. All generation runs in your browser; your image is never uploaded to any server.
Favicon & App Icon Generator
Upload a single high-resolution image and generate the complete favicon set — ICO, all PNG sizes, Apple touch icon — plus the HTML link tags to copy into your site.
Analysing an existing favicon set
If you already have a favicon set and want to know which files are redundant for modern browsers, the Favicon Bundle Size Analyzer lists every file in your set, identifies obsolete sizes (like the 57×57 and 72×72 iOS icons that modern iOS ignores), and recommends the minimal modern set. Reducing a bloated favicon set from 15 files down to 5 meaningfully reduces page weight on every request.
Favicon best practices for 2026
The favicon landscape has stabilised significantly. Here is the current consensus on the minimal correct implementation for 2026.
The minimal modern favicon set
You need five files and five link tags. Add `favicon.svg` as the primary icon (all modern browsers), `favicon.ico` as the fallback (legacy and tools that skip HTML parsing), `apple-touch-icon.png` at 180×180 for iOS, and `android-chrome-192x192.png` plus `android-chrome-512x512.png` referenced in your `manifest.json` for PWA installs. The HTML tags for the first three go in your `<head>`; the PWA icons are declared in the manifest only.
SVG favicons support dark mode, scale perfectly at any resolution, and replace all the PNG sizes modern browsers need. Favicon.ico exists purely as a fallback for the long tail of non-browser clients.
Dark mode favicons
SVG favicons can embed a `prefers-color-scheme` media query to show different colours in light and dark OS themes. This is the only favicon format that supports theme-aware icons without JavaScript. A dark mode SVG favicon keeps your branding readable on dark browser themes where a light icon might appear to disappear against the tab background.
Tip
Key takeaways
- Find any website's favicon by appending /favicon.ico to the domain or viewing the page source and searching for rel="icon".
- A favicon can exist but still fail to display if the server returns the wrong Content-Type, the image is the wrong size, or the browser has a stale cache.
- Hard-refresh (Ctrl+Shift+R / Cmd+Shift+R) to bypass the browser favicon cache when checking an updated icon.
- The minimal modern favicon set is: favicon.svg, favicon.ico (legacy fallback), apple-touch-icon.png (180×180), and 192×192 + 512×512 PNGs for PWA.
- Use the Favicon & App Icon Generator to produce all required sizes from a single 512×512 source image.
- SVG favicons are the best modern choice — they scale perfectly and support dark mode via CSS media queries inside the file.
- Google requires a minimum 48×48 px favicon for SERP display; verify it is publicly accessible and not blocked by robots.txt.