Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
thedaviddias avatar

Favicon

  • 1 installs
  • 73.4k repo stars
  • Updated June 18, 2026
  • thedaviddias/frontendchecklist

Audits the head for a valid, HTTPS-accessible favicon at least 48x48px so Google can show it beside search results.

About

A frontend-checklist SEO rule for adding an accessible favicon to every page. A developer uses it so Google displays the site's favicon in mobile SERPs.

  • Provide link rel=icon accessible over HTTPS, at least 48x48px
  • Include ICO fallback plus SVG/PNG versions

Favicon by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,710 of 1,879 Marketing & SEO skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/thedaviddias/frontendchecklist --skill favicon

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars73.4k
Last updatedJune 18, 2026
Repositorythedaviddias/frontendchecklist

What it does

Audits the head for a valid, HTTPS-accessible favicon at least 48x48px so Google can show it beside search results.

Files

SKILL.mdMarkdownGitHub ↗

Add a favicon to every page

Google displays favicons next to search results on mobile devices, making your brand immediately recognisable in the SERP. A missing or inaccessible favicon prevents Google from showing it, reducing visual brand presence in search.

Quick Reference

  • Provide a <link rel="icon"> pointing to a favicon file; Google uses it to identify your site in search results
  • Serve the favicon via HTTPS, ensure it is publicly accessible (not blocked by robots.txt), and at least 48×48px for Google's use
  • Include both an ICO fallback and SVG/PNG versions for broad browser and device compatibility

Check

In the page <head>, look for <link rel="icon"> or <link rel="shortcut icon"> elements. Verify: (1) The href points to an accessible URL (returns 200, not blocked by robots.txt). (2) The file is at least 48×48px (for Google Search use). (3) A PNG or SVG version is provided alongside the ICO fallback. (4) The favicon is accessible over HTTPS.

Fix

1. Create favicon files:

  • favicon.ico (16×16 and 32×32, ICO format) — legacy browser fallback
  • favicon.svg (scalable, modern browsers)
  • apple-touch-icon.png (180×180 PNG) — iOS home screen

2. Place them in the root or /public directory. 3. Add to <head>:

   <link rel="icon" href="/favicon.ico" sizes="any">
   <link rel="icon" href="/favicon.svg" type="image/svg+xml">
   <link rel="apple-touch-icon" href="/apple-touch-icon.png">

4. Verify the favicon URL returns a 200 response (not 404). 5. Check that /robots.txt does not block the favicon path. 6. Test Google's display using the URL Inspection tool in Search Console.

Explain

Favicons appear next to your site's name in browser tabs, bookmarks, and Google Search mobile results. Google explicitly states it uses the favicon from <link rel='icon'> for display in search results. A missing, blocked, or too-small favicon means Google cannot show your brand icon, reducing search result click-through rate.

Code Review

Check the <head> for <link rel='icon'> and <link rel='apple-touch-icon'>. Verify the href values are valid relative or absolute paths. Confirm the favicon files exist and return HTTP 200. Flag if only favicon.ico at site root is used without an explicit <link> element (relying on browser default discovery is less reliable).

---

For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/en/rules/seo/favicon

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.