RankDossier
Check family

Favicon and web app manifest problems: icons, sizes and theme color

Icons represent a site in browser tabs, bookmarks, search results and on a phone home screen. These checks look for a missing favicon, one that does not meet Google’s requirements, a missing SVG or dark variant, no 32, 192 and 512 pixel PNG files, a missing or wrongly sized apple-touch-icon, a missing or invalid web app manifest and no theme-color. Link a full set of icons in the head.

How the problem happens

Only the old favicon.ico exists, or icons are generated at one size. The manifest is copied from another project, contains a syntax error or points to icon files that no longer exist.

Why icon problems cost trust and clicks

A favicon is the smallest piece of branding on the web, and it appears in the places where people choose between results: the browser tab, bookmarks, history and, on mobile, next to your listing in Google search. A site without one looks unfinished, and a result with a generic gray globe stands out less than the neighbors that show a clear logo. It does not change ranking directly, but it affects whether a person recognizes the site and decides to click.

Google has concrete requirements for the icon that appears in its results: it must be a square image, at least 8 by 8 pixels and preferably larger than 48 by 48, at a stable address that Googlebot is allowed to crawl. A blocked, non-square or broken icon is simply not used. Other devices have their own needs. iPhones and iPads use a specific touch icon when someone adds the site to the home screen, and Android and Chrome read a web app manifest for the name, the icons and the colors. A dark icon that is fine on a light tab can disappear on a dark browser theme, and a blurry enlarged icon makes the brand look careless.

How to check icons and the manifest by hand

Open the page source and look in the head for the icon links, the touch icon, the manifest link and the theme color tag. Open each referenced file directly and confirm that it loads with a success status, that the image is square, and that its real dimensions match what the markup declares. Also request the site root path for the classic favicon file, because some browsers and crawlers ask for it even when no link tag exists. Make sure robots.txt does not block the icon files.

Open the manifest in the browser and check that it is valid JSON with a name and with icons of 192 by 192 and 512 by 512 pixels. The browser developer tools have an application panel that lists the manifest and flags errors. Switch the browser or the operating system to dark mode and look at the tab: if an SVG icon turns into a dark shape on a dark bar, it needs a dark variant. Finally, add the site to the home screen of a phone to see which icon and name the device actually uses.

Copy-ready examples

The examples below show the markup, commands and settings that the checks in this family look for. Replace example.com and the sample values with your own, and test the result on a copy of the page before you publish it.

<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="icon" href="/icon-32.png" type="image/png" sizes="32x32">
<link rel="apple-touch-icon" href="/apple-touch-icon-180.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="theme-color" content="#0b5fff">

<!-- icon.svg: adapts to dark mode -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
  <style>
    path { fill: #111; }
    @media (prefers-color-scheme: dark) { path { fill: #fff; } }
  </style>
  <path d="M4 4h24v24H4z"/>
</svg>

/* site.webmanifest */
{
  "name": "Example",
  "short_name": "Example",
  "start_url": "/",
  "display": "standalone",
  "theme_color": "#0b5fff",
  "background_color": "#ffffff",
  "icons": [
    { "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
    { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" }
  ]
}

How to fix icons and the manifest in the build and the server

Provide a small, consistent set. A classic ICO of 48 by 48 pixels is a safe baseline, an SVG icon scales cleanly to any screen, and PNG files of 32, 192 and 512 pixels cover devices and Android. Add a touch icon of 180 by 180 pixels, the size Apple recommends, because other sizes are scaled to fit and can look blurry. Keep every icon square, on a stable address, served with the correct content type and open to crawlers.

Add a dark variant to the SVG with a prefers-color-scheme media query inside the file, as in the example, or choose colors that read on both light and dark bars. Write the manifest with a name, a short name, a start address, a display mode, colors and the two large icons, link it from the head, and serve it with a JSON content type. Add the theme color tag with your brand color so that the mobile address bar matches the site. The manifest is not needed for the Google favicon, so treat it as the experience for installed and Android use. In a CMS, use the site icon setting or a theme option, upload a large square source image, and check which sizes the platform generates. Do not change icon addresses often, since Google caches them for a long time.

How RankDossier detects icon and manifest problems

RankDossier reads the head of the page, fetches the icon files and the manifest, and checks them against the requirements. The checks in this family report a missing favicon, a favicon that does not meet Google's requirements for being square, large enough and crawlable, a missing SVG icon and an SVG icon without a dark variant. They also report a missing touch icon and one that is not 180 by 180 pixels, missing PNG icons of 32, 192 and 512 pixels, a missing manifest, an invalid manifest and a missing theme color.

These are small fixes that make a site look finished and recognizable. The technical SEO audit guide shows where icons sit among the other signals, the mobile SEO guide covers the phone experience including the home screen, the SEO checklist puts the icon work in order and the website audit tool guide explains how findings like these appear in a full report.

Wrong and right

Wrong

<!-- no icon links, no manifest -->
GET /favicon.ico  ->  404
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/manifest.webmanifest">
<meta name="theme-color" content="#0b5cff">

How to fix it

WordPress

Set the site icon in the Customizer or the site editor with a square image of at least 512 pixels, and add a manifest through a plugin if your site needs one.

Next.js

Place icon files in the app folder or define them in the metadata, and add app/manifest.ts so the manifest is generated and linked automatically.

// app/manifest.ts
export default function manifest() {
  return { name: 'Example', short_name: 'Example', start_url: '/', display: 'standalone',
    icons: [{ src: '/icon-192.png', sizes: '192x192', type: 'image/png' }] };
}

Nginx

Serve favicon.ico and the manifest with the right content type and a 200 status, and make sure a catch-all rule does not return the home page for them.

location = /favicon.ico { try_files $uri =404; }
location = /manifest.webmanifest { default_type application/manifest+json; }

Check codes in this family

These checks belong to this family. Each code appears in the audit report with its own explanation and fix.

  • FAVICON_MISSING Favicon is missing
  • FAVICON_GOOGLE Favicon does not meet Google’s requirements
  • FAVICON_SVG_MISSING No SVG favicon
  • APPLE_TOUCH_MISSING apple-touch-icon is missing
  • MANIFEST_MISSING Web app manifest is missing
  • MANIFEST_INVALID Invalid manifest
  • THEME_COLOR_MISSING theme-color is missing
  • FAVICON_SVG_NO_DARK SVG icon has no dark variant
  • FAVICON_PNG_SIZES Missing 32/192/512 PNG icons
  • APPLE_TOUCH_SIZE apple-touch-icon is not 180×180

Read the full guide Mobile-friendly test: what to check now that Google retired its tool for the wider picture.

Check your own site

Enter a domain – the free pre-check reads up to 10 pages and shows how many types of problems it finds. You pay only if you want the full report.

Start the free pre-check