How to Create a Favicon: A Complete Guide for Beginners

Utilko Team 5 min read Developer Tools

What Is a Favicon?

A favicon (short for "favorites icon") is the small icon that appears in browser tabs, bookmarks, history, and address bars. It's typically 16×16 or 32×32 pixels, though modern requirements include multiple sizes. A well-designed favicon helps users identify your site instantly among multiple open tabs and makes your site look polished and professional.

Favicon Sizes You Need in 2026

SizeFile NamePurpose
16×16 pxfavicon-16x16.pngBrowser tab (small)
32×32 pxfavicon-32x32.pngBrowser tab (high DPI), taskbar
180×180 pxapple-touch-icon.pngiOS home screen icon
192×192 pxandroid-chrome-192x192.pngAndroid home screen
512×512 pxandroid-chrome-512x512.pngAndroid splash screen
Any sizefavicon.icoBackward compatibility (ICO format)

Design Tips for Favicons

  • Keep it simple: At 16×16 pixels, complex logos become unrecognizable blobs. Use a single letter, an abstract symbol, or a simplified version of your logo.
  • Use clear contrast: The icon needs to stand out against both light and dark browser chrome. Test on both light and dark browser themes.
  • Round corners: iOS and Android display app icons with rounded corners. Design with this in mind or ensure your favicon generator applies rounded corners automatically.
  • Avoid thin lines: At tiny sizes, fine details disappear. Use bold, thick shapes.
  • Use your brand colors: The favicon should be recognizable as your brand at a glance.

How to Create a Favicon Free (Step by Step)

  1. Start with your logo or design — ideally a vector SVG or a PNG at 512×512 pixels or larger.
  2. Open a free favicon generator tool.
  3. Upload your image.
  4. Preview how it looks at 16×16 and 32×32 pixels. Adjust if needed.
  5. Download the generated favicon package (should include multiple sizes plus an .ico file).
  6. Upload the files to your website's root directory.
  7. Add the HTML link tags to your <head> section.

HTML Code for Favicons

Add these tags inside your HTML <head> section:

<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="/site.webmanifest">

The site.webmanifest File

Progressive Web Apps (PWAs) also need a web app manifest file that references the larger icons. A typical manifest looks like:

{"name":"My Site","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

Try It Free

Upload your logo and generate all favicon sizes at once — free, instant download, all formats included.

Favicon Generator →

Tools Mentioned in This Article