Skip to main content

Favicon Setup

How to Add a Favicon on WordPress, a Website Builder, or Plain HTML

A favicon is a tiny detail that makes a site look finished — here's how to size the files correctly and add a favicon on any platform, plus why it won't update.

16x16

Classic minimum favicon size still requested by browsers

180x180

Apple touch icon size for iOS home screen shortcuts

512x512

Larger icon size commonly used in web app manifests

1-click

WordPress install ready for a Site Icon upload

In short

To add a favicon, create a small square icon at least 32x32 pixels, plus a 180x180 apple-touch-icon for iOS and larger sizes for web app manifests, then upload it to your site's root and either add link tags in your HTML head or use your CMS's site icon setting. WordPress and most website builders generate the correct tags automatically once you upload one image.

The one extra step people forget: browsers cache favicons aggressively and separately from normal pages, so a hard refresh or a renamed file is often needed before a new icon actually shows up.

A favicon is the small icon that shows up in a browser tab, bookmarks list, browser history, and — on mobile — as the icon for a home-screen shortcut if someone saves your site. It's a minor visual detail, but a missing or default favicon (that generic globe or blank page icon) reads as unfinished, and a well-chosen one makes a site feel more legitimate at a glance, especially across a row of open browser tabs.

Adding one correctly means covering a few different icon sizes for different contexts — a classic small icon for the tab, a larger one for iOS home screens, and sometimes larger still for a web app manifest — and either wiring them up with HTML link tags or uploading through whatever site-icon setting your CMS or website builder provides. The trickiest part usually isn't the setup at all; it's convincing the browser to actually show the new icon once you've changed it, since favicon caching famously doesn't play by the same rules as everything else on a page.

The Right Favicon Sizes Before You Upload Anything

A favicon isn't just one file anymore — different devices and contexts expect different sizes. A classic favicon.ico works at 16x16 or 32x32 pixels for browser tabs, an apple-touch-icon needs to be 180x180 pixels for iOS home-screen shortcuts, and if your site has a web app manifest, Android and Chrome typically want 192x192 and 512x512 pixel versions for install icons and splash screens.

Start with a square image, ideally at least 512x512 pixels, simple enough to read clearly when shrunk down to 16 pixels — fine detail and small text disappear at that size, so a simplified logo mark or a single letter usually works better than a full logo. From that one master image, you can export the smaller sizes you need, or let a favicon generator tool produce the full set for you.

How to Add a Favicon With HTML Link Tags (The Manual Way)

For a plain HTML site, add a favicon by uploading your icon files to the site's root or an assets folder, then referencing them with link tags inside the page's head section — something like a rel="icon" tag pointing to your .ico or .png file, plus a separate rel="apple-touch-icon" tag pointing to your 180x180 version. Browsers actually check for a favicon.ico in the site root automatically, even without a link tag, which is why placing one there as a fallback is good practice.

If your site uses a shared header template or a static site generator, add these link tags once to that shared template rather than to every individual page, so every page picks up the same favicon automatically. This manual approach gives the most control over exactly which icon shows in which context, which matters if you're supporting older browsers alongside modern ones.

Adding a Favicon Through WordPress or a Website Builder

WordPress handles this without touching any HTML: under Appearance, then Customize or Site Identity depending on your theme, there's a Site Icon upload field that takes one square image (WordPress recommends at least 512x512 pixels) and automatically generates and serves the different sizes browsers and devices need, including the apple-touch-icon.

Most website builders work the same way — a Site Icon or Favicon field somewhere in general or site settings takes one upload and handles the rest. Either way, the platform is doing the HTML link-tag work described above behind the scenes, so all you need is a correctly sized, simple square image ready to upload.

Why Your New Favicon Won't Show Up (Browser Caching, Not a Bug)

Favicons are notorious for not updating even after you've correctly replaced the file, and that's a browser caching quirk rather than anything broken on your end. Browsers cache favicon files aggressively and separately from normal page caching, in some cases ignoring standard cache-control headers entirely, because re-fetching a tiny icon on every single tab render would be wasteful.

To force an update, try a hard refresh (often Ctrl+Shift+R or Cmd+Shift+R), clear the browser's cache specifically, or open the site in a private or incognito window to see the change without any cached files involved. If it still won't budge, renaming the favicon file itself (so the browser requests a genuinely new URL) is the most reliable fix, and clearing any server-side page cache through your hosting panel rules out that layer too.

How to Add a Favicon to Your Website (Any Platform)

A Small Detail That's Easy to Get Right

A favicon takes minutes to add correctly once you have the right sizes ready, whether you're editing HTML directly or uploading through a CMS's site icon setting — the platform handles the rest.

Hosting Cheap's 1-click WordPress installer and website builder both include a straightforward Site Icon upload, and free managed migration brings any favicon and asset files over intact if you're moving an existing site.

  • Use a simple square image, ideally 512x512 pixels or larger
  • WordPress and most website builders handle sizing automatically
  • Manual HTML sites need link tags for icon and apple-touch-icon
  • Browser caching, not a broken upload, is the usual reason it won't update

Why Hosting Cheap

What you get

1-click WordPress installer

Get a WordPress site running fast, with a Site Icon field ready in Appearance settings.

Website builder included

Upload a favicon through simple site settings with no HTML editing required.

Free managed migration

Move an existing site over with its favicon and asset files intact.

NVMe SSD + LiteSpeed

Icon and asset files load fast alongside every other part of your site.

Free auto-renewing SSL

Keep your whole site, favicon included, served securely by default.

24/7 human support

Real people to help if a favicon or cache issue isn't resolving on its own.

How It Works

Get set up in a few steps

1

Prepare a square icon

Start with a simple image at least 512x512 pixels that still reads clearly when shrunk down.

2

Upload it the right way

Use HTML link tags for a manual site, or the Site Icon setting in WordPress or your builder.

3

Force a refresh to confirm

Hard-refresh or open a private window to see the new favicon past browser caching.

Included

Everything you need, on every plan

  • Start with a square image, ideally 512x512 pixels or larger
  • Export a 16x16 or 32x32 version for classic browser tabs
  • Create a 180x180 apple-touch-icon for iOS home screens
  • Add rel="icon" and rel="apple-touch-icon" link tags for manual HTML sites
  • Use the Site Icon setting in WordPress or your website builder instead
  • Place a fallback favicon.ico in your site's root directory
  • Hard-refresh or use a private window if the new icon doesn't appear
  • Clear any server-side page cache if the favicon still won't update

FAQ

Frequently asked questions

How do I add a favicon to my website?

Create a square icon file, upload it to your site's root or assets folder, and either add HTML link tags referencing it or use your CMS's Site Icon setting, which handles the tags automatically.

What size should a favicon be?

A classic favicon works at 16x16 or 32x32 pixels, an apple-touch-icon needs 180x180 pixels for iOS, and web app manifests often use 192x192 or 512x512 pixel versions.

How do I add a favicon in WordPress?

Go to Appearance, then Customize or Site Identity, and upload your image to the Site Icon field. WordPress generates and serves the different sizes automatically.

Why doesn't my new favicon show up after I changed it?

Browsers cache favicon files aggressively and separately from normal pages. Try a hard refresh, a private browsing window, or renaming the file to force browsers to fetch it again.

Do I need different favicon files for mobile devices?

Yes, an apple-touch-icon at 180x180 pixels covers iOS home-screen shortcuts, and larger sizes like 192x192 or 512x512 pixels are used for Android and web app manifests.

Can I add a favicon without editing any code?

Yes, WordPress and most website builders include a Site Icon or Favicon upload field in their settings that generates the necessary tags for you.

Get Your Site's Small Details Right, Starting With Fast Hosting

Launch on NVMe SSD with LiteSpeed and a 1-click WordPress installer from $2.09/mo.

Get Started