Skip to content
Free website migration on every plan, done by our team.Learn more ›
Guides

What is a favicon, and how do I add one to my website?

What a favicon is, where it appears (tabs, Google results, phone home screens), the sizes you need, and how to add one in WordPress or plain HTML.

Short answer: A favicon is the small icon that represents your website in browser tabs, bookmarks, Google search results on phones and on home screens when someone saves your site. Use a simple, square version of your logo. In WordPress, set it under Appearance → Customise → Site Identity → Site Icon with a 512 × 512 pixel image. On other sites, add a few <link> tags to your pages' <head>.

A favicon is small, but it helps people spot your tab, recognise your site in search results and trust that it's a real business.

Where your favicon appears

  • Browser tabs and bookmarks.
  • Google search results, next to your site name, especially on mobile.
  • Phone home screens when someone adds your site.
  • Browser history and some social or messaging apps.

Sizes you need

FileSizeUsed for
favicon.ico or a PNG32 × 32 (and 16 × 16)Browser tabs
favicon.svg (optional)ScalableSharp icons in modern browsers
apple-touch-icon.png180 × 180iPhone and iPad home screens
Icons in a web app manifest192 × 192 and 512 × 512Android home screens and installable sites

For Google search results, Google asks for a square favicon that is a multiple of 48 × 48 pixels, such as 48, 96 or 144 pixels, and that represents your brand.

Designing a good favicon

  • Keep it simple: a letter, symbol or simplified logo. Fine detail disappears at 16 pixels.
  • Use strong contrast so it works on light and dark browser themes.
  • Make it square, with a little padding.
  • Be consistent with your logo and brand colours.

How to add a favicon in WordPress

  1. Prepare a square PNG of at least 512 × 512 pixels.
  2. Go to Appearance → Customise → Site Identity (or Appearance → Editor → Site Icon in block themes, depending on your theme).
  3. Upload the image under Site Icon, crop if asked and publish.

WordPress creates the different sizes for you.

How to add a favicon to an HTML website

  1. Upload the icon files to your site's main folder with File Manager. See how to upload a website.
  2. Add these lines inside the <head> of every page:
<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">

Why isn't my favicon showing?

ProblemFix
Old icon still in the tabBrowsers cache favicons for a long time. Open the site in a private window to check
Not showing in GoogleGoogle updates it when it recrawls your homepage. Make sure the icon follows Google's size rules and isn't blocked by robots.txt. See robots.txt guide
Blurry on phonesAdd a 180 × 180 apple-touch-icon and larger manifest icons
404 error for favicon.icoUpload a favicon.ico to the main folder; browsers ask for it automatically

Frequently asked questions

Does a favicon help SEO?

Not directly as a ranking factor, but a clear favicon in search results helps people recognise and click on your site.

What file format should a favicon be?

ICO, PNG and SVG all work in modern browsers. A PNG or SVG plus an apple-touch-icon covers almost every case.

Can I use a photo as a favicon?

You can, but photos rarely work at tiny sizes. A bold letter or symbol is clearer.

Why does Google show a generic globe instead of my icon?

Google hasn't found a valid favicon yet. Check the <link rel="icon"> tag, the size and that the file loads, then wait for Google to recrawl your homepage.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.