๐ŸŒ Web Design Guide

How to Create a Favicon for Your Website (All Sizes)

๐Ÿ“… 2026โฑ 4 min readโœ๏ธ Mian Hassam

A favicon is the small icon that appears in browser tabs, bookmarks, and home screens. Getting it right means providing multiple sizes for different contexts โ€” from the 16ร—16 tab icon to the 512ร—512 PWA splash screen icon.

Why You Need Multiple Favicon Sizes

Step 1 โ€” Start With a Square Image

Your favicon source should be a square image, at least 512ร—512 pixels. PNG works best โ€” it supports transparency and is lossless. An SVG is even better as it scales perfectly to any size.

Step 2 โ€” Generate All Sizes

Instead of manually resizing, use the MultiMian ImageKit Favicon Generator. Upload your square image and it instantly generates all 8 sizes as a ZIP file:

๐ŸŒ Generate Favicons Free โ†’

The ZIP also includes an HTML snippet and a manifest.json icons entry ready to paste into your project.

Step 3 โ€” Add to Your HTML

Place these tags inside your <head>:

<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/manifest.json">

Step 4 โ€” Update Your manifest.json

For PWA support, add the icons to your manifest.json:

"icons": [
  { "src": "icon-192.png", "sizes": "192x192", "type": "image/png" },
  { "src": "icon-512.png", "sizes": "512x512", "type": "image/png" }
]

Tips for a Good Favicon

Related Tools