Article
What is a favicon, and how do I add one to my website?
Published . Updated .
A favicon is the small icon that shows in a browser tab next to your page title. It also shows in bookmarks and, on Google’s mobile results, beside your site name. Make it a simple square image, at least 48 by 48 pixels, and add it through your platform’s site settings or a line of code in your home page.
Most small business sites either have no favicon or show the default one from the platform. A site with no favicon shows a blank page icon or a globe in the tab. It is a small detail, but it is one of the first things a visitor’s browser shows.
Where a favicon shows up
Browser tabs. Anyone with more than a few tabs open finds your site by the icon. Titles get cut off when tabs are crowded. The icon stays.
Bookmarks. A saved link with your icon is easier to spot in a list than one with a blank page.
Google search results on mobile. Google shows a site’s favicon next to the result. If Google cannot find yours, it shows a generic icon in its place.
Phone home screens. If a visitor saves your site to their phone, the phone uses a larger version of the icon. That one is called an Apple touch icon on iPhones.
What to put in it
A favicon displays at 16 by 16 pixels in many tabs. That is smaller than a postage stamp on screen. Detail disappears.
Use one letter, one shape, or the simplest part of your logo. A full logo with the business name in it turns to mush at that size. If your logo is a wordmark, use the first letter. If it has a symbol, use the symbol alone.
Pick two or three high-contrast colors. A pale logo on a white background vanishes in a light browser tab. Put it on a solid color square instead.
Make the image square. Google crops anything else.
Sizes and file types
Google’s guidance is that the favicon should be a multiple of 48 pixels square, so 48 by 48, 96 by 96, and so on. Google accepts several file types, including ICO, PNG, SVG, GIF, and JPG.
Here is the set I use on a custom-built site:
An SVG file, which stays sharp at any size. Most current browsers read it.
A favicon.ico file at 32 by 32 pixels, for older browsers and for programs that look for that file name by default.
A 180 by 180 pixel PNG named apple-touch-icon.png, for iPhones and iPads.
You do not need all three on day one. One square PNG of 48 by 48 or larger is enough to get an icon showing. Start there if you are unsure.
SVG files can also switch colors for dark mode. If your icon is dark and a visitor’s browser is in dark mode, the tab can swallow it. That is a fix for later, once the basic icon is in place.
How to add it
Every platform has a place for this. The label changes.
WordPress. Go to Appearance, then Customize, then Site Identity. The field is called Site Icon. WordPress recommends an image of at least 512 by 512 pixels.
Wix and Squarespace. Open the site settings and look for “favicon” or “browser icon.” The names differ between versions of each platform. If you cannot find it, search the platform’s help pages for those two terms.
Custom-built sites. Upload the files to the root of your site, then add link tags inside the head of your pages:
<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">
Change the file names to match yours. If you do not edit code, send those three lines and your files to whoever maintains the site. It is a ten-minute job.
Why the old icon keeps showing
You changed the favicon and the tab still shows the old one. Two things cause this.
The first is your browser. Browsers store favicons longer than they store most files. Open your site in a private window, or on your phone, to see the real current icon. You can also type your address followed by /favicon.ico into the browser bar to load the file itself.
The second is Google. It has to visit your site again before the search result changes. That can take days or weeks. Google does not give a set time. Make sure your home page can be crawled and that the icon file is not blocked, and then wait.
What Google needs from it
Google has a few rules for the icon to appear in search results. The favicon file and your home page must both be open to Google’s crawler, so do not block them. The icon address should stay the same over time. Google also says it does not show favicons that are inappropriate, such as hate symbols or adult imagery. That should not affect a plumber or a dentist.
A favicon does not help you rank higher. It makes a result easier to recognize once you are on the page. The words that make people click are still your page title and description. How to write a page title and meta description covers those.
If your site is not in Google at all, a favicon will not appear there either. Start with why your website is not showing up on Google.
For the rest of the basics every business site needs, see what a small business website should include.
If you want a favicon made and installed on your site, Book a consult.
Read next
What is a 404 page, and how do I make a useful one for my website?
A 404 page is what visitors see when a web address on your site does not exist. Here is what to put on it, why it must send a real 404 status, and how to set it up on WordPress, Wix, Squarespace, or a custom site.
Should I use Wix or Squarespace or hire a web designer?
Use Wix or Squarespace for a simple DIY site. Hire a web designer when the site needs to earn trust, leads, or sales. Here is how to decide.
How to start a new website
Start a new website in ten practical steps, from the page plan and domain to ownership, analytics, testing, and launch.
Ready to talk?
A 20 minute call. No pitch. What you need and what it costs.
Or text 778-692-5555 or email hello@acornwebsites.com. We reply within two business days.