Skip to content

Guide

Favicon not showing or not updating

When you upload a new favicon but the tab still shows the old icon or a blank one, here is how to check the usual causes in order, and how to prepare and add the files properly from the start.

4 min read

On this page
  1. 1First, check the file is really there
  2. 2Seven causes and fixes
  3. 3Setting it up properly from the start
  4. 4Search result icons are a separate matter
  5. 5If you lost the original logo

A favicon is the small icon in the browser tab and in bookmarks. It sounds like a single file upload, yet “I uploaded it and nothing shows” and “I changed it and the old one is still there” are very common. Most of the time the file is fine: the browser remembers the old icon, or the address does not match. Work through the checks below in order.

First, check the file is really there

Type https://yoursite/favicon.ico straight into the address bar. If you see the icon, the file is in place. If you get “page not found”, the file is in the wrong place. This one check settles about half of all cases.

Seven causes and fixes

Symptom Usual cause Fix
Changed it, old icon still shows Browsers store favicons separately and for a long time Open the site in a private window. If that is not enough, add ?v=2 to the address in the tag so it counts as a new file
Shows on the home page only The tag uses a relative path like favicon.ico Start the path with /, as in /favicon.ico, so it points at the top folder of the site
Shows nowhere The file is in a subfolder or has a different name Put favicon.ico in the top folder and make sure the tag and the file name match exactly, including capital letters
Blurry or smudged icon in the tab A small picture was scaled up, or the ICO holds only one size Use an ICO with 16, 32 and 48 px made separately from an original of 512 px or more
Icon looks like a tiny dot Wide empty margins around the original Rebuild from a square original with almost no margin
Black background on the iPhone home screen A transparent PNG used as apple-touch-icon iPhones fill transparent areas with black, so use a 180 px icon with a filled background
Old icon only in search results The search engine has not revisited the site yet Only time fixes this; it usually takes days to a few weeks

The cache is more stubborn than you expect

A normal reload (F5) often fetches the page again but keeps the favicon. A hard reload (Ctrl+F5) does not always replace it either, depending on the browser. The fastest way to see whether only your own computer has the old icon is a private window. If the new icon shows there, the site is already fixed and visitors will see it change over time. To force it now, change the tag to something like <link rel="icon" href="/favicon.ico?v=2"> so browsers fetch it as a new file.

A PNG renamed to .ico

Current browsers usually display such a file, but some programs and environments do not recognise it as an icon. Making a real ICO file instead of just renaming the extension removes that doubt.

Setting it up properly from the start

  1. Prepare the original: a square PNG of 512 px or more works best. If your logo is an SVG, first make a 1024 px wide PNG with SVG to PNG. For a wide logo, pad it to a square with Square image, or crop just the symbol or first letter, which reads better at 16 px in a tab.
  2. Make the icon set: put the original into Favicon generator. You get favicon.ico with 16, 32 and 48 px inside, apple-touch-icon.png (180 px, white background), icon-192.png, icon-512.png and favicon-snippet.html with the tags to paste.
  3. Upload: put the icon files in the top folder of the site, where the address becomes https://yoursite/favicon.ico.
  4. Add the tags: open favicon-snippet.html in a text editor and paste the three <link> tags inside <head> on every page. All paths start with /, so they keep working on subpages.
  5. Check: open the home page and a subpage in a private window and look at the tab icon.

If you use a site builder such as WordPress, Wix or a blog platform, upload the file in the “Site icon” or “Favicon” field of its settings instead of adding tags. Builders differ in what they accept (some only ICO, some PNG), so read the hint next to the field.

Search result icons are a separate matter

The small icon next to your site in Google results is also taken from your favicon. Search engines pick it up only when they revisit the site, so results change well after your site does. Google asks for an icon tag on the home page, a square icon, and an icon file it is allowed to fetch (not blocked by robots.txt). It recommends sizes that are multiples of 48 px, so an ICO containing 48 px or a 192 px PNG is enough.

If all you have is the old site’s favicon.ico, ICO to PNG can take the pictures out as PNG. An ICO usually holds only 16 to 48 px images, though, and scaling one up to 512 px makes it blurry. It is fine for keeping the same tab icon, but for a sharp new icon set it is better to find a large original.

Tools used in this guide

Related guides