How to Create a Favicon for Your Website (2026 Guide)

Published April 5, 2026 · 6 min read

A favicon is the small icon that appears in browser tabs, bookmarks, and search results. It's one of the first things users notice about your website, yet many developers skip it or use a generic one.

In this guide, you'll learn everything about favicons: what sizes you need, which formats to use, and how to add them to your HTML. Plus, we have a free favicon generator that does it all for you.

What Sizes Do You Need?

Modern browsers and devices expect favicons in multiple sizes. Here's the complete list:

SizeUse CaseRequired?
16×16Browser tabsYes
32×32Taskbar, newer tabsYes
48×48Windows site iconsRecommended
64×64High-DPI tabsOptional
128×128Chrome Web StoreIf applicable
180×180Apple Touch IconYes (iOS)
192×192Android ChromeYes (PWA)
512×512PWA splash screenYes (PWA)

At minimum, provide 16×16, 32×32, 180×180, and 192×192 versions.

Favicon Formats

PNG (Recommended)

PNG is the modern standard. It supports transparency, works everywhere, and produces crisp icons at all sizes.

ICO (Legacy)

The .ico format can contain multiple sizes in one file. It's only needed for Internet Explorer support, which is increasingly irrelevant in 2026.

SVG (Modern)

SVG favicons are supported in modern browsers and scale perfectly to any size. Use them alongside PNG fallbacks:

<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">

HTML Code

Add these lines to the <head> of every page:

<!-- Standard favicons -->
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">

<!-- Apple Touch Icon -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">

<!-- Android/PWA -->
<link rel="manifest" href="/site.webmanifest">

Web Manifest (site.webmanifest)

For Progressive Web Apps, create a site.webmanifest file:

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

Design Tips

  1. Keep it simple. Favicons are tiny. Use 1-2 colors and a simple shape or letter.
  2. Test at 16×16. If it's not recognizable at the smallest size, simplify.
  3. Use your brand color. The favicon should match your site's color scheme.
  4. Consider dark mode. Ensure your favicon is visible on both light and dark backgrounds.
  5. Avoid text (mostly). A single letter works, but full words don't scale down.

Common Mistakes

🎨 Generate Your Favicon Now →

Create favicons from text, emoji, or images. All sizes, free.

Quick Method: Text-Based Favicon

Don't have a logo? A simple letter on a colored background works great. Our favicon generator makes this easy — just type a character, pick colors, and download all sizes.

Checking Your Favicon

After deploying, verify your favicon works:

  1. Open your site in a new tab — check the tab icon
  2. Bookmark the page — check the bookmark icon
  3. On iOS, add to home screen — check the app icon
  4. Use Favicon Checker for a full audit
\xF0\x9F\x92\x99 Tip\xF0\x9F\x93\x9A Get Bundle \x244.99