Skip to content

All checks / Technical

Favicon incorrect size, aspect ratio, or unsupported file format

Google requires favicons to have a 1:1 (square) aspect ratio and be at least 8x8px in size.

Warning favicon-aspect-ratio

In SEOCode's checks since 9 May 2026


Why this matters.

Google requires favicons to have a 1:1 (square) aspect ratio and be at least 8x8px in size. A higher resolution favicon of at least 48x48px is strongly recommended for display quality in SERPs. Non-square or undersized favicons will not be shown in Google Search results. Google has updated the favicon documentation to explicitly list the supported favicon file formats rather than linking to an external reference that evolved over time. Only use file formats explicitly listed in Google's favicon documentation to ensure eligibility. The supported formats have not changed; the documentation now makes them explicit.

Runs on .html .jsx .tsx .vue .svelte · Warnings are reported on the pull request but do not block the merge.


How to resolve it.

Ensure your favicon is square (1:1 aspect ratio), at least 48x48px, and uses a file format explicitly listed in Google's favicon documentation (https://developers.google.com/search/docs/appearance/favicon-in-search). Update <link rel="icon" href="/favicon.png" /> to reference a correctly sized image in a supported format.

SEOCode writes this fix for you

On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.


Where this comes from.

01

Favicon In Search

developers.google.com

Using a framework? Next.js · SvelteKit · Nuxt



Every check, on every pull request.

SEOCode runs the full ruleset on each change and comments the fixes inline.

Free for public repositories · no credit card