How to Add a Favicon to Your Website (WordPress, HTML, Shopify)

The favicon is the tiny icon next to your page title in browser tabs, bookmarks, phone home screens and even Google search results. Without one, browsers show a blank page icon and your site looks unfinished. Here is how to make a favicon and add it to any website.

Free tool
Make your favicon
Create favicon.ico, Apple touch icon, Android icons and the manifest from your logo, a letter or an emoji – with the HTML code. Free.
Open Favicon Generator →

Which favicon files do you need?

FileSizeUsed by
favicon.ico16, 32 and 48 px insideAll browsers, Google Search, Windows
favicon-32×32.png32 × 32Browser tabs
apple-touch-icon.png180 × 180iPhone and iPad home screen
android-chrome-192×192.png192 × 192Android home screen
android-chrome-512×512.png512 × 512Installable web apps (PWA) and splash screens
site.webmanifest–Tells Android and Chrome your name, icons and colour

You do not need dozens of sizes – this set covers modern browsers and devices.

Step 1: Design a favicon that works at 16 pixels

  • Simplify. A full logo with text becomes a blur at 16 px. Use your symbol, a single letter or initials.
  • High contrast. Bold shapes and strong colours.
  • Check dark tabs. Many people use dark browser themes – avoid a dark icon with no background.
  • Square artwork. Start from at least 512 × 512 px.

Our Favicon Generator can turn your logo, a letter or an emoji into all the files above.

Step 2: Add it to your site

WordPress

Go to Appearance › Customize › Site Identity › Site Icon (or Settings › General on block themes with the Site Icon option) and upload a 512 × 512 PNG. WordPress creates the other sizes and adds the code automatically.

Plain HTML site

Upload the files to your site’s root folder and add this inside <head>:

  • <link rel="icon" href="/favicon.ico" sizes="48x48">
  • <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
  • <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
  • <link rel="manifest" href="/site.webmanifest">

Shopify

Online Store › Themes › Customize › Theme settings › Logo/Favicon – upload a square image.

Wix and Squarespace

Both have a favicon setting in the site or design settings (Wix requires a premium plan to replace its default icon).

Step 3: Make it show in Google search results

Google shows a favicon next to your site name in mobile and desktop results. To be eligible:

  • The favicon must be a multiple of 48 × 48 px (48, 96, 144…) – SVG also works.
  • It must be on the same domain and crawlable (not blocked in robots.txt).
  • The homepage must link to it with a rel="icon" tag.
  • It must represent your brand and be appropriate.

Google can take days or weeks to pick up a new favicon after it recrawls your homepage.

Why is my favicon not updating?

  • Browser cache – favicons are cached aggressively. Hard refresh (Ctrl+F5 / Cmd+Shift+R) or open a private window.
  • Wrong path – open yourdomain.com/favicon.ico directly to check it loads.
  • Old file still referenced – a theme or plugin may add its own favicon code.
  • CDN cache – purge your cache plugin or CDN.

FAQ

What size should a favicon be?

Make a 512 × 512 source image, then export a favicon.ico (16, 32, 48 px), a 180 px Apple icon and 192/512 px Android icons.

Do I still need favicon.ico?

It is still the safest choice because some browsers and tools request /favicon.ico directly. Add PNGs as well.

How do I add a favicon in WordPress?

Use Site Icon in the Customizer or Site settings and upload a 512 × 512 PNG.

Why doesn’t my favicon show in Google?

Google may not have recrawled your homepage yet, or the icon does not meet its guidelines (size multiple of 48 px, crawlable, linked from the homepage).

Can I use an emoji as a favicon?

Yes. A generator can draw the emoji into image files. Note that emoji look slightly different on each operating system.

Free tool
Try the free Favicon Generator
No signup and nothing uploaded – it runs right in your browser. Browse all 74 free tools on our Free Tools page.
Open Favicon Generator →

Need a website or app for your business? Talk to Techpass Master – we design and build websites and apps for clients worldwide.

WhatsApp us📞 Call now