ファビコンが表示されないときの対処
- ファイルの場所を確認
- キャッシュを消す
- しばらく待つ
ファビコンを作って設定したのに、表示されない、古いアイコンのまま、ぼやける。ファビコン(サイトのアイコン)を作る で作ったファビコンの、よくある困りごとと対処法です。
1. 画像を処理できない
「画像を処理できませんでした。形式が対応していない可能性があります。」と表示されたら、
- HEIC形式の場合は、先に「HEIC→JPG変換」でJPGにする。
- 別のアプリで開けるか確認する。
- JPGやPNGにしてから、もう一度試す。
2. 設定したのに表示されない
- ファイルを、正しい場所に置いたか確認する。
- html-tags.txt のタグを、<head>に貼ったか確認する。
- タグの中のパス(href)が、置いた場所と合っているか確認する。
- ページを再読み込みする。
3. 古いアイコンのまま
ブラウザが、前のアイコンを保存している(キャッシュ)ことがあります。
- ブラウザのキャッシュを消す
- 別のブラウザや、シークレットウィンドウで開く
- 時間をおく
4. ぼやけて見える
- 元の画像が小さい → 512 px以上の画像で作り直す
- 絵が細かい → もっと単純にする
5. 端が切れる
画像の中央が、正方形に切り抜かれます。元の画像を正方形にそろえてから使います。「余白」を「少し」か「多め」にします。
6. 背景が黒く見える
「背景」を「白」にして作り直します。
7. スマホのホーム画面のアイコンが違う
apple-touch-icon のタグと、180×180のPNGを確認します。
8. 検索結果に出ない
検索結果のアイコンは、検索サービスが決めます。設置してから表示されるまで、時間がかかることがあります。
確認の順番
- ファイルが置かれているか、URLを直接開いて確認する。
- タグが<head>に貼られているか確認する。
- キャッシュを消す。
- 別のブラウザで確認する。
つまずきやすい点
- ZIPの中身の使い方が分からない:別の解説の通り、ファイルを置いて、タグを貼ります。
- ブログサービスで設定できない:管理画面の、サイトアイコンの項目を使います。
よくある質問
どのくらいで反映されますか?
すぐ出ることも、数日かかることもあります。
まとめ
置き場所・タグ・パスを確認し、キャッシュを消す。それでも出ないときは、時間をおきましょう。
ファビコン(サイトのアイコン)を作るを使う(無料)あわせて使えるツール
- 画像の切り抜き・回転:画像を、好きな範囲や比率で切り抜きます。回転もできます。
- 画像のサイズ(ピクセル)を変える:画像の大きさを、横幅・縦・割合で変えます。
- 画像の形式を変換(JPG・PNG・WebP):画像をJPG・PNG・WebPに、まとめて変換します。
同じツールの、ほかの解説
What to Do If the Favicon Doesn't Show
- Check the file location
- Clear the cache
- Wait a while
You made and set up a favicon but it does not appear, shows the old icon, or looks blurry. These are the common problems with favicons made with Make a Favicon (Site Icon) and how to deal with them.
1. The image cannot be processed
If "The image could not be processed. The format may not be supported." is shown:
- For HEIC, first convert to JPG with "HEIC to JPG".
- Check whether another app can open it.
- Change to JPG or PNG and try again.
2. It does not appear despite setting it up
- Check that you placed the files in the right location.
- Check that you pasted the tags from html-tags.txt into the <head>.
- Check that the paths (href) in the tags match where you placed the files.
- Reload the page.
3. The old icon remains
The browser may have saved the previous icon (cache).
- Clear the browser cache
- Open in another browser or a private window
- Wait a while
4. It looks blurry
- The source image is small → remake from an image of 512 px or more
- The drawing is detailed → simplify it
5. The edges are cut
The centre of the image is cropped to a square. Square up the source image before using it. Set the "Margin" to "Small" or "Large".
6. The background looks black
Set the "Background" to "White" and make it again.
7. The phone home-screen icon is different
Check the apple-touch-icon tag and the 180×180 PNG.
8. It does not appear in search results
The icon in search results is decided by the search service. It can take time to appear after you set it up.
Order of checking
- Open the file's URL directly to check it is there.
- Check the tags are pasted in the <head>.
- Clear the cache.
- Check in another browser.
Common stumbling blocks
- I do not know how to use the ZIP's contents: as in the separate guide, place the files and paste the tags.
- I cannot set it up on a blog service: use the site icon item in the admin screen.
Frequently asked questions
How long until it takes effect?
Sometimes immediately, sometimes a few days.
Summary
Check location, tags and paths, and clear the cache. If it still does not appear, wait a while.
Use "Make a Favicon (Site Icon)" (free)Tools that go well with this
- Crop & Rotate Image: Crop an image to any area or ratio, and rotate it.
- Resize Images by Pixel Size: Resize images by width, height or percentage.
- Convert Image Format (JPG, PNG, WebP): Convert images to JPG, PNG or WebP, several at once.