How to make a favicon for your website, and get it to show

A favicon is the little picture beside the name of a site: in the browser tab, in bookmarks, on a phone's home screen, and next to the site in Google's results. It is small, and visitors notice when it is missing. Making one takes ten minutes. Most of the trouble people have is with where the files go and with browsers that will not let go of the old icon.

Start from the right picture

In a tab the icon is 16 pixels across. Nothing fine survives that: a logo with a name beside it turns into a grey smear. Use the symbol of your logo alone, or its first letter, in one or two strong colours. Draw or export it as a square PNG of 512 pixels or more, so that the large sizes are sharp too.

If the symbol is dark, give it a light background, or it will vanish in a dark browser tab. If the picture has things around the symbol that you do not want, cut them away first with Crop Image.

Make the files

  1. Open Favicon Generator and add the picture.
  2. Choose a background and a little space around it, if it needs them. The preview shows the icon.
  3. Press Make the icons and download the ZIP.

What is in the ZIP, and why so many

  • favicon.ico, holding 16, 32 and 48 pixel pictures: for browsers, and for the many programs that simply ask for /favicon.ico.
  • favicon-48.png and favicon-96.png: Google asks for an icon whose size is a multiple of 48 pixels.
  • apple-touch-icon.png, 180 pixels: the icon when someone adds your site to an iPhone's home screen.
  • icon-192.png and icon-512.png, with site.webmanifest: the same for Android, and for sites that can be installed.
  • how-to-use.txt: the lines to paste into your pages.

Put them on the site

Upload every file to the top folder of the site, the one that holds the home page, so that yoursite.com/favicon.ico opens the icon. Then paste the lines from how-to-use.txt inside the head of your pages; on most sites that is one shared template. On WordPress, Blogger, Wix and the like, there is a "site icon" setting instead: upload the 512 pixel PNG there.

When the old icon will not go away

Browsers keep favicons for days, separately from the rest of the page, so a reload often changes nothing. Open the icon file itself in the browser and reload that, or look at the site in a private window. If the new icon shows there, it is correct, and other visitors will get it as their copies expire.

Google is slower still. It fetches a site's favicon on its own schedule, and a new one can take from a few days to a few weeks to appear in results. Check that the icon is not blocked in robots.txt, and wait.

Try the tools