A favicon is the small icon that appears in browser tabs, bookmarks, and search results next to your website's name. Despite being tiny — typically 16×16 or 32×32 pixels — it's a crucial branding element. A missing or broken favicon makes your site look unprofessional. Here's how to create one properly in 2026.
Favicon Size and Format Requirements
| Use Case | Size | Format |
|---|---|---|
| Browser Tab (standard) | 16 × 16 px | ICO |
| Browser Tab (retina) | 32 × 32 px | ICO or PNG |
| Taskbar / Dock | 32 × 32 px | PNG |
| iOS Home Screen | 180 × 180 px | PNG |
| Android Chrome | 192 × 192 px | PNG |
| Google TV | 96 × 96 px | PNG |
Why ICO Format Matters
ICO is a special format that can contain multiple image sizes within a single file. A single .ico file can include 16×16, 32×32, and 48×48 versions simultaneously. Browsers pick the appropriate size based on context. While modern browsers support PNG favicons, ICO remains the most universally compatible format — especially for older browsers and bookmarks.
How to Create a Favicon: 3 Methods
Method 1: Convert Any Image to ICO (Easiest)
- Start with a square image (your logo or icon) at 256×256px or larger
- Open our Image Converter
- Upload your image and select ICO as the output format
- Download the .ico file
- Place it in your website's root directory as
favicon.ico
Method 2: SVG Favicon (Best for Modern Browsers)
Modern browsers support SVG favicons with dark mode support:
Method 3: Multi-Size PNG Set
For maximum compatibility, provide multiple sizes:
<link rel="icon" sizes="32x32" href="/favicon-32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon.png">
Favicon Best Practices
- Keep it simple. At 16×16 pixels, complex logos become unrecognizable. Use a simplified version of your logo or a single distinctive element.
- Use dark/light contrast. Favicons appear on both light and dark browser themes. Use a design with strong contrast or provide dark/light variants using the SVG approach.
- Test across browsers. Chrome, Firefox, Safari, and Edge all render favicons slightly differently. Check all four.
- Don't forget the manifest. For PWA (Progressive Web App) support, add a
manifest.jsonwith larger icon sizes.