ファビコンを作る方法(無料・スマホOK)
この記事のポイント
- 画像を選ぶ
- 背景と余白を選ぶ
- ZIPを保存する
サイトやブログのタブに表示される小さなアイコン、それがファビコンです。ファビコン(サイトのアイコン)を作る は、1枚の画像から、各サイズのファビコンと favicon.ico をまとめて作るツールです。画像は端末の外に送られません。
手順
- 「画像を選ぶ」で、元になる画像を1枚選びます。
- 「背景」を選びます。「透明」か「白」。
- 「余白」を選びます。「なし」「少し」「多め」。
- 「ファビコンを作る」を押して、「プレビュー」を確認します。
- 「ZIPを保存する」で保存します。
- ZIPの中の html-tags.txt を、サイトの<head>に貼り付けます。
画像の中央を正方形に切り抜いて、各サイズのPNGと favicon.ico を作ります。縦長・横長の画像は、中央が使われます。
ZIPの中身
- 各サイズのPNG画像
- favicon.ico
- html-tags.txt(サイトに貼るタグ)
元の画像のコツ
- 正方形に近い画像がよい
- 大きめ(512 px以上)だときれい
- 細かい絵や文字は、小さくなると潰れる
- シンプルな形と色が見やすい
背景の選び方
- 透明:背景を透かす。サイトの色に馴染む。
- 白:背景を白で塗る。透明が使えない場面で。
余白の選び方
- なし:画像いっぱいに使う。
- 少し:標準。ふちが切れにくい。
- 多め:小さく表示したいとき。
つまずきやすい点
- 小さくすると見えにくい:絵を単純にする。余白を調整する。
- 切り抜きで端が切れた:元の画像を、正方形にそろえてから使う。
- HEIC形式が使えない:先に「HEIC→JPG変換」でJPGにします。
よくある質問
元の画像は変わりますか?
変わりません。新しいファイルができます。
作ったファビコンは、どう使いますか?
サイトに、ファイルを置き、html-tags.txt のタグを貼ります。別の解説で説明しています。
まとめ
画像を選び、背景と余白を決めて保存。ZIPの html-tags.txt を、サイトの<head>に貼ります。
ファビコン(サイトのアイコン)を作るを使う(無料)あわせて使えるツール
- 画像の切り抜き・回転:画像を、好きな範囲や比率で切り抜きます。回転もできます。
- 画像のサイズ(ピクセル)を変える:画像の大きさを、横幅・縦・割合で変えます。
- 画像の形式を変換(JPG・PNG・WebP):画像をJPG・PNG・WebPに、まとめて変換します。
同じツールの、ほかの解説
How to Make a Favicon (Free, Phone OK)
Key points
- Choose an image
- Choose background and padding
- Save the ZIP
The small icon shown in the tab of a site or blog is a favicon. Make a Favicon (Site Icon) makes favicons of various sizes and favicon.ico from one image. The image is never sent off your device.
Steps
- With "Choose images", choose one source image.
- Choose the "Background": "Transparent" or "White".
- Choose the "Margin": "None", "Small" or "Large".
- Press "Make favicon" and check the "Preview".
- Save with "Save ZIP".
- Paste html-tags.txt from the ZIP into your site's <head>.
The centre of the image is cropped to a square and PNGs of each size and favicon.ico are made. For portrait or landscape images, the centre is used.
Contents of the ZIP
- PNG images of each size
- favicon.ico
- html-tags.txt (the tags to paste into your site)
Tips for the source image
- A near-square image is best
- A larger one (512 px or more) looks cleaner
- Fine drawings and text get crushed when small
- Simple shapes and colours are easier to see
Choosing the background
- Transparent: lets the background show through. Blends with the site's colour.
- White: fills the background with white. For places where transparency cannot be used.
Choosing the margin
- None: uses the whole image.
- Small: standard. Edges are less likely to be cut.
- Large: when you want it displayed smaller.
Common stumbling blocks
- Hard to see when small: simplify the drawing. Adjust the margin.
- Edges were cut by the crop: square up the source image first.
- HEIC cannot be used: first convert to JPG with "HEIC to JPG".
Frequently asked questions
Does the original image change?
No. New files are made.
How do I use the favicon I made?
Place the files on your site and paste the tags from html-tags.txt. Explained in a separate guide.
Summary
Choose the image, decide background and margin and save. Paste html-tags.txt from the ZIP into your site's <head>.
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.