78

I updated favicons for a bunch of my websites. Refreshing the website does indeed show the updated favicon in the browser tab, however the bookmarks for those websites still have the old favicon.

Short of deleting and re-adding each bookmark, is there any way to get Chrome to refresh the bookmarks of each website? Why doesn't just visiting the website update the bookmark icon too?

zylstra
  • 4,148
pdeva
  • 1,901

10 Answers10

59

Have you tried clearing the cache then restarting Chrome? Try that first. If it doesn’t work, then you’ll have to force it as follows.

  1. Close Chrome
  2. Open your User Data folder
  3. Delete the Favicons file
  4. Run Chrome
  5. Visit sites to force the icons to be re-downloaded
Synetech
  • 69,547
39

Did you try to force the refresh when you are on the page and press Ctrl + R?

[EDIT] (Credits to James, see his comment) try to refresh and empty the cache with Ctrl + Shift+ R

[Source on Google Chrome Help Forum]

Pang
  • 1,017
JMax
  • 3,205
12

My issue was that despite deleting the favicon for a locally hosted site, Chrome still displayed it.

This comment on a Chromium issue says:

Favicons are not stored in the cache, they're stored in one of the SQLite databases. So they don't get cleared with the cache. This is a good thing since all your bookmarks would lose their icons until you visited them again.

This explains why clearing my cache did not solve the problem.

Here's what I did to clear the favicons for my site:

  1. Closed Chrome in order to release its file locks
  2. Downloaded the appropriate SQLite command-line shell for my OS
  3. Extracted the archive
  4. Opened my user data directory
  5. Deleted the Favicons-journal file
  6. Copied my Favicons file into the same directory as the SQLite command-line shell
  7. Opened Command Prompt
  8. Changed directory to that which contains the SQLite command-line shell
  9. Executed sqlite3 from Command Prompt
  10. Ran the SQL which follows this list
  11. Moved the Favicons file from my SQLite command-line shell directory back into my user data directory
.open Favicons

DELETE FROM
    favicons
WHERE
    id
IN (
    SELECT
        icon_id
    FROM
        icon_mapping
    WHERE
        page_url
    LIKE
        '%localhost:%'
);

DELETE FROM
    favicon_bitmaps
WHERE
    icon_id
IN (
    SELECT
        icon_id
    FROM
        icon_mapping
    WHERE
        page_url
    LIKE
        '%localhost:%'
);

DELETE FROM
    icon_mapping
WHERE
    page_url
LIKE
    '%localhost:%'
;

Adjust this to suit the URLs which you wish to clear the favicons for. In my case, the targeted URLs were along the lines of http://localhost:8000/.

Spooky
  • 438
10

Actually all you need is to browse to www.site.com/favicon.ico and you will see the cached old icon, click refresh (ctrl+shift+R) or (ctrl+F5) and you will see the new one. Go back to www.site.com and enjoy the new favicon.

6

Looked through suggestions to change “stuck” favicons in my bookmarks bar. I took the easy way out and installed the extension Bookmark Favicon Changer.

It took me 5 minutes to fix the problem that had been bugging me for months – and that’s including deleting the extension after use!

2

Here's a surefire solution on how to solve the chrome icon problem. However, this procedure will take some time & effort.

  1. Clear all browsing history incl. cache with chrome's History cleaner

  2. Close chrome - Re-open

  3. Click on each URL (revisit each webpage) in the Bookmark Manager followed by a page refresh (reload):

    a) Bookmarks bar

    b) Other Bookmarks

    c) Imported Bookmarks (non IE bookmarks)

  4. Under Bookmark Manager->Organize Export Bookmarks to HTML file into the folder of a newly created directory of your choice. Name the file folder therein 'Chrome bookmarks'

  5. Do not close chrome before doing the next step!

  6. Go to "C:\Users(User name)\AppData\Local\Google\Chrome\User Data\Default"

  7. Copy the two files 'Favicons' and 'Favicons-journal' into the newly created file folder 'Chrome bookmarks'

  8. For the time being make a note of the size of the 'Favicons' file you just saved

  9. For testing purposes: before closing the chrome browser run chrome's History-> 'Clear browsing data'

  10. Close browser - Reopen

Testresults: In all likelihood the 'Favicons' file located in "C:\Users(User name)\AppData\Local\Google\Chrome\User Data\Default" will show a file size much lower (~20-30k) than the one you saved into the exported file folder.

To resolve the missing icon problem: copy/paste the two saved 'Favicons' files from the new folder (see 4. above) to "C:\Users(User name)\AppData\Local\Google\Chrome\User Data\Default". Restart chrome. Your icons should be in place now nice and neatly. Just remember to check the file size of the default 'Favicons' file every once in awhile, especially after adding new bookmarked webpages. Then just copy the larger size default file to your 'Chrome bookmarks folder'. Voilà! This should work for most users.

For ease of recovering future lost icons add these two file locations to the Windows explorer's Favorites bar:

a) 'Chrome bookmarks'

b) "C:\Users(User name)\AppData\Local\Google\Chrome\User Data\Default"

PS in future use a browser history cleaner utility i.e. ccleaner. Avoid using chrome's History cleaning feature

1

I solved this on my machine going into chrome config data and deleting a file called "Local State". Did this on a Linux box and it solved my problem. On Linux this file lives at: /home/(User name)/.config/google-chrome/ I think on windows this is C:\Users(User name)\AppData\Local\Google\Chrome\User Data\ (at least on my Windows 7 box it is).

raul
  • 111
1

Please try this before doing all that. Close Chrome. Open Task Manager. "End Task" on all remaining instances of Chrome. Restart Chrome.

Works for me.

Scott
  • 11
0

Opened Chrome today and most icons in my bookmarks bar were replaced by the grey default icon.

To reload all the icons, I right-clicked one of them, selected "Bookmarks manager" from the context menu, right-clicked "Bookmarks toolbar" in the manager's sidebar, and then "Open all in new window". Confirm, wait a few minutes while Chrome is working hard ... now all icons are there again.

Felix Dombek
  • 2,175
-1

I know this thread is old, but this is a common problem so I will help out any lurkers:

I was looking for the same thing and found there was no easy way, so I made my own tool.

  1. Delete your C:\Users\(Username)\AppData\Local\Google\Chrome\User Data\Default\Favicons file.
  2. Import your "Bookmarks" file (which is in the same folder) into the tool I made.
  3. Press "Load Pages".

The tool will literally open all your bookmarked pages at once, which is quite a heavy load, but after that, you'll have all your icons refreshed :).

The tool also only works if your default browser is set to Chrome.

Link to tool: http://www.fast-files.com/getfile.aspx?file=79770
Feel free to scan for viruses or whatever.

You're welcome.

Jozef
  • 7