What is a favicon, and does my site need one?
Short answer
Yes, your site needs a favicon: a small square logo mark shown in browser tabs, bookmarks and Google results. Make it square, simple and larger than 48 x 48 pixels (Google's minimum is 8 x 8), add it with one link tag, and add 192 and 512 pixel versions for phones. Google says changes can take several days to several weeks to appear.
On this page
What is a favicon and why bother?
A favicon is the tiny icon next to your page title in a browser tab, in bookmarks and, if Google shows it, beside your result in search. It helps people find your tab among ten others and makes your result look like a real business. It takes about 15 minutes to do and many sites skip it, so a missing icon looks unfinished.
Google's favicon guidelines are short. The favicon must be square (1:1), at least 8 x 8 pixels, with larger than 48 x 48 pixels recommended. Supported formats are BMP, GIF, ICO, PNG, JPEG, PPM and TIFF. Use one favicon per hostname (subdirectories share the host's), do not block Googlebot-Image from the file or Googlebot from the home page, keep the URL stable, and make it visually representative of your brand. Google may replace inappropriate imagery with a default, and says an icon is not guaranteed to appear even when you follow the rules.
How do I design one that reads at a tiny size?
Use one mark, not the whole logo. At 16 or 32 pixels, a full logo with a tagline is a smudge. Pick the initial, the symbol or the shape people already associate with you.
Rules that work: 1. One or two colors, with strong contrast against both a white and a dark tab. 2. Bold shapes, no thin lines or small text. 3. Centered with a little padding, so rounded masks do not cut it off. 4. Test at 32 pixels by shrinking your design on screen and looking from arm's length.
If your logo is a detailed monogram, as with a circular emblem, simplify: use the central letters on a solid background. Keep a larger square master as well: Apple's image guide asks for a square brand logo of at least 1024 x 1024 pixels, and Spotify asks for an avatar of at least 750 x 750, so one clean square file serves every place you will need it.
Which files do I need?
Make one square master at least 512 x 512 pixels, then export these.
| File | Size | Used for |
|---|---|---|
| favicon.ico | 32 x 32 (or multi-size ICO) | Browser tabs, bookmarks, old browsers |
| icon.svg or favicon-32.png | 32 x 32 or vector | Modern browsers |
| apple-touch-icon.png | 180 x 180 | iPhone home screen shortcuts |
| icon-192.png | 192 x 192 | Android and web app manifest |
| icon-512.png | 512 x 512 | Android splash and install |
The web.dev manifest guide says Chromium needs at least a 192 x 192 and a 512 x 512 icon, each with src, sizes and type, and recommends adding "purpose": "any maskable" for maskable icons. If you supply only those two, Chrome scales them to fit each device. SVG icons are supported but keep their install-time appearance, so include a raster fallback.
Link tags for the page head
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href=
<link rel="manifest" href=
MDN's rel reference explains that when there are several rel="icon" links the browser uses their media, type and sizes to choose the best, and that iOS uses apple-touch-icon rather than rel="icon".
How do I get it to show in Google?
Add the tags to the home page, make sure Google can crawl the file, and wait. Google says crawling can take anywhere from several days to several weeks, and that you can request indexing of your home page with the URL Inspection tool. Do not change the favicon URL often. See our Search Console guide for the tool. The icon also only appears if your site is indexed; our indexing guide covers that.
What belongs on the launch check?
- The icon appears in the tab on desktop and phone.
- It looks right on a light and a dark browser theme.
- /favicon.ico opens in the browser (many tools still request this path).
- The same icon is used on all pages.
- The 180, 192 and 512 files exist and are not blurry.
- You tested adding the site to a phone home screen.
Our prepare for a web designer list asks for your logo files for exactly this reason: send a square master, not a screenshot.
What does this look like for different businesses?
- A barber with a pole logo. Use the pole as a simple vertical shape on a solid background.
- A plumber named "Harbor Plumbing". A bold "H" in your brand color on white, with padding.
- A band with a detailed emblem. Use the band's initials in the brand font, not the whole emblem.
- A shop with a long name. Use a single letter or symbol; the full name is in the tab text already.
From our side
Our live site uses separate favicon files, a header logo and a sharing image. During a build you see a live preview, and we refine the agreed presentation before launch. See our process.
Key takeaways
- 01A favicon is a small square mark shown in tabs, bookmarks and sometimes Google.
- 02Google: square, at least 8 x 8 px, larger than 48 x 48 recommended.
- 03Make 32, 180, 192 and 512 pixel versions from one master.
- 04Keep the file URL stable and crawlable.
- 05Updates can take several days to several weeks.
Quick answers
What size should a favicon be?
Google requires at least 8 x 8 pixels and recommends larger than 48 x 48; for phones add 192 x 192 and 512 x 512.
What file format should I use?
Google supports BMP, GIF, ICO, PNG, JPEG, PPM and TIFF; ICO or PNG with an SVG for modern browsers is a common mix.
Why is my favicon not showing in Google?
Google says it can take several days to several weeks, and there is no guarantee. Check the file is crawlable.
Do I need an Apple touch icon?
For iPhone home screen shortcuts, yes. iOS uses apple-touch-icon instead of rel="icon".
Free tool
Preview your share cards, inspect tracking tags, and check for leftover staging directives with the free Pre-Launch Checkup.