How to Add a Favicon to Your Website
A favicon is the small icon that appears in browser tabs, bookmarks, and search results. It's one of the most visible brand elements on the web — and one of the easiest to add. Missing it signals an unfinished website, which subtly damages trust with both visitors and search engines.
What Is a Favicon?
A favicon (short for "favourite icon") is a small square image associated with a website. Browsers display it in:
The traditional format is a 16×16 or 32×32 pixel .ico file named favicon.ico placed in the root of your site. Modern best practice includes multiple sizes for different devices and use cases.
The minimal HTML implementation:
<head> <link rel="icon" href="/favicon.ico" type="image/x-icon"> </head>A complete modern implementation:
<head> <!-- Standard favicon --> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <!-- Apple Touch Icon (iOS home screen) --> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <!-- Android / PWA --> <link rel="manifest" href="/site.webmanifest"> <!-- Safari Pinned Tab --> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> <!-- IE/Edge legacy --> <link rel="shortcut icon" href="/favicon.ico"> </head>Why It Matters for SEO
How to Check Your Favicon
Clarity SEO's free Report Card checks whether your site has a favicon configured correctly and flags any issues with the implementation.
→ Check your favicon with Clarity SEO
You can also verify manually: visit your website in any browser and check whether an icon appears in the browser tab. If the tab shows a generic browser icon or a blank square, your favicon is missing or broken.
How to Fix It
Step 1: Create your favicon files
Recommended approach:
The generated package typically includes:
favicon.ico (16x16 + 32x32 multi-size ICO) favicon-16x16.png favicon-32x32.png apple-touch-icon.png (180x180) android-chrome-192x192.png android-chrome-512x512.png safari-pinned-tab.svg site.webmanifestFor HTML/Generic
index.html).<head> of every page (or your master template/layout):<head> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="manifest" href="/site.webmanifest"> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#2563eb"> <meta name="msapplication-TileColor" content="#2563eb"> <meta name="theme-color" content="#ffffff"> </head>For WordPress
Method 1: WordPress Customiser (easiest)
WordPress saves this as the "Site Icon" and outputs the correct <link> tags in your <head> automatically.
Method 2: Plugin
Use Favicon by RealFaviconGenerator (available in the WordPress plugin directory):
For Shopify
For advanced favicon control (Apple Touch Icon, Android icons), edit your theme's layout/theme.liquid to add the full set of <link> tags manually in the <head>.
For Wix / Squarespace / Webflow
Wix:
Squarespace:
Webflow:
- Favicon (32×32 PNG)
- Touch Icon (180×180 PNG for iOS)
- App Icon (192×192 PNG for Android)
Common Mistakes to Avoid
.ico format covers browsers, but you'll miss Apple Touch Icons (iOS), Android home screen icons, and Safari Pinned Tab icons. Use a full favicon package.href path is wrong, browsers show a broken icon or fall back to the default. Always verify the paths match where the files are hosted.site.webmanifest file is needed for Progressive Web App behaviour and Android home screen icons. Include it even if you're not building a PWA.FAQ
What size should a favicon be?
The minimum favicon size is 16×16 pixels, but you should generate multiple sizes for modern browser and device support. Use 16×16, 32×32, and 180×180 (Apple Touch Icon) as a baseline. For PWA/Android support, also include 192×192 and 512×512.
What format should a favicon be?
The traditional format is .ico, which browsers have supported since the early 2000s. Modern practice uses PNG files at multiple sizes, with .ico as a fallback for older browsers. SVG favicons are increasingly supported and scale perfectly at any size.
Why isn't my favicon showing up?
Common causes: (1) wrong file path in the <link> tag, (2) browser cache showing the old icon — try incognito mode, (3) file not in the web root directory, (4) favicon.ico blocked in robots.txt. Use the RealFaviconGenerator Checker to diagnose.
Does a favicon affect SEO?
A favicon is not a direct ranking factor, but it affects how your site appears in Google's mobile search results (Google displays favicons next to every search result on mobile). A missing or broken favicon can make your listing appear less professional compared to competitors.
Can I use a PNG instead of ICO for my favicon?
Yes. Modern browsers all support PNG favicons. Use <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">. Keep the .ico file in your root for legacy browser support (no <link> tag needed — browsers check for favicon.ico automatically).
Summary
A favicon takes ten minutes to add and makes your site look finished, trustworthy, and professional in browser tabs, bookmarks, and Google's search results. Generate a full favicon package, upload the files, and add the HTML — then verify it with the Clarity SEO audit.
Check your site's favicon status as part of a full technical SEO audit.