What a favicon is for
The favicon is your site’s small icon: it appears in the browser tab, bookmarks, history and, for eligible sites, next to the result in Google. It is often the only part of your brand visible there. A default or unreadable favicon makes a site look unfinished.
Which visual to choose
- The symbol alone, not the full logo: text becomes unreadable at 16 or 32 pixels.
- A simple shape, with few details and strong contrast.
- A controlled background: a transparent background can disappear on a dark tab, a solid one guarantees legibility.
- The same colours as your brand palette.
Sizes and formats to provide
| File | Size | Use |
|---|---|---|
| favicon.svg | Vector | Modern browsers: sharp at every size |
| favicon.ico | 32 × 32 px (or multi-size) | Older browsers and crawlers that request /favicon.ico |
| icon-48.png | Multiple of 48 px (48, 96, 144…) | Recommended by Google for search |
| apple-touch-icon.png | 180 × 180 px | Home screen on iPhone and iPad |
| icon-192.png and icon-512.png | 192 and 512 px | Web app (PWA manifest) |
To export a symbol properly, see the guide to logo file formats.
Declaring the favicon in the page
Put these tags in the head of every page, with paths absolute from the site root:
- <link rel="icon" href="/favicon.ico" sizes="32x32">
- <link rel="icon" href="/favicon.svg" type="image/svg+xml">
- <link rel="apple-touch-icon" href="/apple-touch-icon.png">
- <link rel="manifest" href="/manifest.webmanifest"> if you offer a web app.
Favicon and Google results
Google may show your favicon in search results. It must be a square of at least 48 × 48 pixels, accessible to crawlers (not blocked by robots.txt) and representative of the site. Google may decline to show an inappropriate icon, and updates can take several days or even weeks. Display is never guaranteed.
- One favicon for the whole site, declared on the home page.
- A stable URL: avoid renaming the file with every version.
- No robots.txt block on the icon or the home page.
- A test in private browsing after publishing, to bypass the browser cache.
The azokroma pack delivers the symbol alone and the favicon, ready to declare, in your colours.
Create my brandFrequently asked questions
What size should a favicon be?
An SVG file, a 32 × 32 px ICO, a PNG whose size is a multiple of 48 px for Google, and a 180 × 180 px apple-touch-icon cover most uses.
Why does my favicon not change after an update?
Browsers cache it for a long time. Test in private browsing, clear the cache, and keep a stable URL for the file.
Does a favicon improve SEO?
It does not raise your ranking, but it makes the result more recognisable and reassuring, which can help earn the click.
Can I use the full logo?
It is not recommended: text is unreadable when small. Use the symbol alone, or the initial if the brand has no symbol.
Comments
No comments yet. Be the first to react.
Leave a comment