To change a favicon, make a fresh set of icon files from your new logo, put them on your site in place of the old ones, point the link tags in your page head at them, and give the new files a version in the address so nothing keeps serving the old picture. The whole job takes about ten minutes, and the only part that trips people up is the last one: the old icon keeps showing because the address of the file never changed.
This guide walks through the change in the order you would do it, and it includes one test we ran ourselves that most favicon articles skip. We replaced an icon on a scratch web server and watched, request by request, what a real browser did on the next visit. The result is the reason step four below exists.
If you do not have a favicon yet and are starting from nothing, read our guide on how to make a favicon first. If your icon is changed but Google search still shows the old one, jump to the section on the favicon Google shows in search.
How to change favicon in five steps
To change a favicon, you make the new icon files, replace or add them on your site, update the icon tags in your page head, add a version to the file address, and check the result. Those are the five steps, and each has its own section below:
- Make the new icon files from your new logo.
- Decide whether the new files keep the old names or get new names.
- Update the
linktags in the head of your home page. - Add a version to the file address so the old icon is not reused.
- Check every file and every tag.
If your site lives in a site builder or a content management system, step three is usually a settings screen instead of an edit to HTML. The file you give it is the same file, so steps one and two still apply.
Step one: make the new favicon files from your new logo
To make the new favicon files, drop your new logo into a favicon maker and download the package it builds, because a favicon is several files and not one picture. A single favicon.ico is not enough for a modern site, since the same icon is used in tabs, bookmarks, phone home screens and installed web apps, and each place asks for a different size.
We ran this step on our own tool with a new test logo, a plain red square mark, so you can see what the output looks like. The free favicon maker takes a PNG, JPG, WebP or SVG, and it needs no account.
![]()
After the upload, the tool listed what it had built from a 512 by 512 pixel PNG:
![]()
The package was 9 files and 13.6 KB zipped. These are the sizes it reported for each file:
| File | What it is | Size reported |
|---|---|---|
favicon.ico |
One file holding three sizes, 16, 32 and 48 pixels | 3 layers, 14.7 KB |
favicon-16.png |
Smallest tab icon | 16 x 16, 389 B |
favicon-32.png |
Sharper tab icon | 32 x 32, 664 B |
apple-touch-icon.png |
Phone home screen icon | 180 x 180, 2.3 KB |
icon-192.png |
Web app manifest icon | 192 x 192, 2.5 KB |
icon-512.png |
Large web app manifest icon | 512 x 512, 1.5 KB |
icon-maskable-512.png |
Manifest icon with a safe margin | 512 x 512 |
site.webmanifest |
Names the app and lists the manifest icons | 477 B |
head-snippet.html |
The tags to paste into your head | 346 B |
The reason to start with a whole package is that changing only one file leaves the others showing the old logo. If you replace favicon.ico but forget apple-touch-icon.png, a visitor who saves your site to their phone still gets the old picture. Our guide on favicon size explains why each size exists, and the guide on PNG to ICO explains what is inside the .ico file.
If your new logo is a vector, start from the SVG. Our SVG favicon guide covers the viewBox rule and the design limits at 16 pixels.
Step two: replace the files or give them new names
To replace a favicon, either overwrite the old files with the same names or upload the new files under new names, and the better choice is new names. Overwriting is simplest because your link tags stay exactly as they are. The cost is that nothing about the address changes, and that is what lets an old copy of the icon survive.
Here is how the two options compare:
| Same file names | New file names | |
|---|---|---|
| Edits to the head | None | Change each href |
| Risk of the old icon staying | Higher, the address is unchanged | Lower, the address is new |
| Old files left on the server | No | Yes, until you delete them |
| Best for | A quick fix when you can also add a version | A planned rebrand |
Whichever you choose, keep the files in a place that is reachable from the root of your site, because the classic location for the ICO file is /favicon.ico. If that file is missing, requests for it return a 404. Our guide on favicon.ico not found shows how to test for that.
Step three: how to change favicon in HTML
To change a favicon in HTML, edit the link tags inside the head of your home page so each href points at a new file, and keep the rel values the same. The package from step one includes a head-snippet.html with the tags already written. This is the block our tool produced for the test logo, shortened to the lines that matter:
<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
Open the old head, delete every old icon line, and paste the new block in the same place. Do not leave both sets in. If an old link rel="icon" line stays behind, the page now names two icons for the same job and you cannot tell which one a visitor sees. Our guide on how to add a favicon in HTML explains each attribute in the block.
Three details are worth checking while you are in the head:
- Every template. If your home page and your inner pages come from different templates, change the icon tags in each one. A new tag on the home page and an old tag on a blog template means visitors see two logos depending on the page.
- Paths. A path that starts with a slash, such as
/favicon-32.png, is read from the root of the site, so it works on every page. A path without the slash is read from the current folder, and it breaks as soon as the page is not at the root. - The manifest. The
site.webmanifestlists its own icon addresses. If you rename the PNG files, the manifest has to be updated too, or it keeps pointing at files that are gone.
Step four: how to change favicon without the old icon coming back
To change a favicon so the old one does not come back, add a version to the address of the new file, for example /favicon.ico?v=2, because a browser decides whether to fetch an icon from its address. We tested what that does, in one browser with one profile, on a scratch web server that logs every request it receives.
The setup was small. The server served a page that linked /favicon.ico. We visited it, replaced the file on the server with the new logo's icon without changing the address, visited again, then changed the tag to /favicon.ico?v=2 and visited twice more. This is the log:
![]()
Read it from the top:
- Visit one. The page asked for
/favicon.icoand the server answered 200. This is the normal first load. - Visit two. We had replaced the file, but the address was the same. The page was requested, and the icon was not. The browser did not ask the server for the new file at all, so the old image would have stayed.
- Visit three. We changed the tag to
/favicon.ico?v=2. The browser requested that exact address and received the new file. - Visit four. The address was still
?v=2, and again no icon request was made, which is correct, because the new file is now stored under the new address.
The conclusion that is safe to draw is narrow, and we want to be honest about its edges: this was one browser, one profile and one run of each step, on a local server. We did not test other browsers, other versions or a server that sends caching headers, so we do not claim any of those behave the same way. What the log does show is that an unchanged address can mean no new request, and a new address always did. A version in the address costs you nothing and removes the question.
The version can be any value that changes when the file changes. A build number, a date or a short counter all work. Put it on every icon href you changed, including the lines in the manifest if the manifest has its own icon list:
<link rel="icon" href="/favicon.ico?v=2" sizes="48x48">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16.png?v=2">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png?v=2">
<link rel="apple-touch-icon" href="/apple-touch-icon.png?v=2">
When you change the icon again, bump the number. If you changed to new file names in step two, the names already act as the version and you can skip the query.
How to change favicon in WordPress, Squarespace, Shopify and Wix
On a site builder or content management system such as WordPress, Squarespace, Shopify or Wix, you change the favicon by uploading the new image in the site's settings, and the file you upload is a square image from your package. We have not measured each platform's settings screen, so we do not describe where every button sits, and menus change between versions.
What we can say, because it follows from how the files work, is this:
- Upload a square file. A favicon is square. Our tool pads a wide or tall logo with transparency and never crops it, so use the
icon-512.pngfrom the package if the builder asks for one large square image. - Expect one upload to cover more than one icon. Some builders take a single image and make the other sizes themselves. That means a sharp, simple source gives a better result than a detailed one.
- If the builder allows custom head code, paste the tags from
head-snippet.htmlthere and upload the files to the builder's file area, then use the full address of each file in the tags. - Check the result in the page source, not in the settings screen. The settings screen tells you what you saved, and the source tells you what visitors receive.
The platform you use does not change the test at the end of this guide. After any change, view the home page source and confirm the icon tags point at the files you meant.
Favicon not changing: what to check after you change it
If the favicon is not changing after you changed it, first confirm the new tags are in the page source, then confirm each file returns the new image, and only then suspect storage on the visitor's side. Work through these in order, and stop at the first one that is wrong.
- The tag is in the source. View the page source, not the inspected elements, and search for
rel="icon". If the oldhrefis there, your change did not publish. - The file answers. Request the address in a browser tab and look at it. Open
/favicon.icodirectly and it should show the new picture. - The file is the new file. A file at the right address can still be the old image if the upload failed silently. Compare the file size with the file in your package.
- The address changed. If you replaced a file at the same address, add the version from step four.
- The page you are looking at is the page you changed. A different template, a staging copy or a cached page can still carry the old tag.
Our guide on the favicon checker gives the exact commands for checks one to three, with the real output from our own site, so you can compare line by line.
To show that a directly opened file is the proof you want, this is our own site's favicon.ico opened at its address:
![]()
It returned status 200 with the type image/x-icon when we measured it on 2026-12-03. A direct request like that is how you tell a file problem from a display problem.
How to change the favicon Google shows in search
To change the favicon Google shows in search results, change it on your home page as above and then wait for Google to crawl the home page again, because Google reads the icon from the home page of the hostname. You cannot force the new icon into results, and we have not measured how long the update takes, so we do not give a number.
What you can do is remove every reason Google would not pick the new icon up:
- The new
link rel="icon"tag is on the home page and in the HTML that Google receives. - The icon file is reachable and not blocked in
robots.txt. - The file is square, and its size is a multiple of 48 pixels, which Google's own favicon documentation asks for.
- The old and the new icon are not both named on the home page.
Our full guide on favicon not showing in Google search goes through each of these with measured output from our own site, and is the right place to go if the change is live but search still shows the old icon.
How to change the icon on a phone home screen
To change the icon that a phone home screen uses for your site, replace apple-touch-icon.png and the manifest icons, because those files are what a saved shortcut or installed web app is built from. The link rel="apple-touch-icon" tag points at a 180 by 180 pixel PNG in our package, and the manifest points at the 192 and 512 pixel files.
A change here only reaches people when they add the site to their home screen again, since an icon already saved is a copy the phone made earlier. We have not measured how any specific phone handles an update, so treat a saved shortcut as something the visitor may need to re-add. The explanation of each file is in our guide on what a favicon is.
Common mistakes when you change a favicon
The most common mistakes when you change a favicon are replacing only one file, leaving the old tags in the head, keeping the same address, and checking in a settings screen instead of the page source. Each is easy to avoid once you know it:
- Replacing only
favicon.ico. The PNG, touch icon and manifest files still show the old logo. Replace the whole package. - Leaving old tags behind. Two sets of icon tags make the result unpredictable. Delete the old block.
- Reusing the address. As the request log shows, an unchanged address can mean no new request. Add a version.
- A manifest that points at deleted files. If you renamed the PNGs, rename them in
site.webmanifesttoo. - A wide logo squeezed into a square. A favicon at 16 pixels cannot hold a long wordmark. Use the mark alone, padded and not stretched.
- Checking one page only. Check the home page and one inner page, because they can come from different templates.
- No rollback. Keep the old files in a folder outside the site for a week. If the new icon is wrong, putting the old files back takes a minute.
How to change favicon: the short answer
To change a favicon, build a new package from your new logo, replace the files and the head tags together, add a version such as ?v=2 to each address, and then check the page source and each file. The step people skip is the version, and our own request log shows why it matters: an unchanged address meant no new icon request, and a new address always produced one.
If your site is built on a platform with its own settings screen, upload the square image there and check the page source afterwards. If you want a clean set to start from, the free favicon maker builds the whole package from one upload, and the guides linked above explain each file in it.