How to Create a Favicon for Your Website: Complete Guide (2025)
By CreatorFormat Team
TL;DR: Create a complete favicon package using our free Favicon Generator. Upload any image (PNG, JPG, or SVG), and get all favicon formats: ICO (48x48), PNG favicons (16/32/48px), Apple Touch icon (180px), Android Chrome icons (192/512px), web manifest, and ready-to-use HTML code.
That small icon in your browser tab? It's called a favicon (favorite icon), and every professional website needs one. A favicon builds brand recognition, helps users identify your site among many open tabs, and appears in bookmarks, history, and search results.
This complete guide teaches you exactly how to create favicons for your website, including all required sizes, formats, and installation methods.
What is a Favicon?
A favicon is a small icon associated with your website. It appears in:
- Browser tabs - Helps users identify your site among multiple tabs
- Bookmarks bar - Shows next to saved bookmarks
- Browser history - Identifies sites in browsing history
- Address bar - Displays next to the URL
- Search results - Google shows favicons in mobile search results
- Home screen - When users add your site to their phone's home screen
Why Favicons Matter
Brand Recognition: Your favicon is often the first visual element users see. A distinctive icon helps your site stand out.
User Experience: With dozens of tabs open, users rely on favicons to quickly find your site. Without one, you're just a generic page icon.
SEO Impact: Google displays favicons in mobile search results. A missing or poor favicon can reduce click-through rates.
Professionalism: A missing favicon signals an unfinished or unprofessional website. It's a small detail that matters.
Favicon Sizes and Formats Explained
Modern websites need multiple favicon files for different devices and contexts:
Essential Favicon Files
| File | Size | Purpose |
|---|---|---|
| favicon.ico | 48x48 | Classic favicon for all browsers |
| favicon-16x16.png | 16×16 | Browser tabs (standard displays) |
| favicon-32x32.png | 32×32 | Browser tabs (retina displays) |
| favicon-48x48.png | 48×48 | Windows site icon |
| apple-touch-icon.png | 180×180 | iPhone/iPad home screen |
| android-chrome-192x192.png | 192×192 | Android home screen |
| android-chrome-512x512.png | 512×512 | Android splash screen |
ICO vs PNG: Which Format?
ICO Format:
- Traditional favicon format since the 1990s
- Supported by all browsers including ancient IE versions
- Can contain multiple sizes in one file
- Required for maximum compatibility
PNG Format:
- Modern format with better compression
- Supports full alpha transparency
- Cleaner rendering on high-DPI displays
- Required for Apple and Android devices
Best Practice: Use both! Our Favicon Generator creates a complete package with ICO and all PNG sizes.
Method 1: Create Favicon Using Our Free Generator (Recommended)
The easiest way to create a complete favicon package:
Step-by-Step Guide
-
Prepare Your Image
- Use a square image (1:1 aspect ratio)
- Minimum 512×512 pixels for best quality
- PNG with transparency works best for logos
- Simple designs work better at small sizes
-
Generate Favicon Package
- Visit our Image to ICO Converter
- Upload your logo or icon image
- Click "Generate Favicons"
- Download the ZIP file
-
What You Get
favicon.ico(48×48) - Main faviconfavicon-16x16.png- Small browser tab iconfavicon-32x32.png- Retina browser tab iconfavicon-48x48.png- Windows iconapple-touch-icon.png(180×180) - iOS home screenandroid-chrome-192x192.png- Android iconandroid-chrome-512x512.png- Android splashsite.webmanifest- PWA manifest filefavicon-html.txt- Ready-to-use HTML code
-
Install on Your Website
- Extract the ZIP file
- Upload all files to your website root folder
- Copy the HTML from
favicon-html.txtinto your<head>section
HTML Code to Add
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
Why This Method is Best:
- Creates ALL required favicon formats in one click
- Generates proper ICO with correct binary format
- Includes Apple Touch icon for iOS devices
- Includes Android icons for PWA support
- Provides web manifest for Progressive Web Apps
- 100% browser-based - your images stay private
Method 2: Create Favicon from SVG
If you have a vector logo in SVG format, convert it first:
Step-by-Step Guide
-
Convert SVG to PNG
- Visit our SVG to PNG Converter
- Upload your SVG logo
- Download the PNG version
-
Generate Favicon Package
- Take the PNG to our Favicon Generator
- Upload and generate all favicon sizes
- Download and install
Why Start with SVG?
- Vector graphics scale perfectly to any size
- No quality loss when resizing
- Best results for crisp, clean favicons
Method 3: Create Favicon in Photoshop/GIMP
For complete creative control:
Using Photoshop
-
Create New Document
- File → New
- Size: 512×512 pixels
- Resolution: 72 PPI
- Background: Transparent
-
Design Your Icon
- Keep it simple - details get lost at 16×16
- Use bold shapes and colors
- Avoid thin lines and small text
- Test visibility against different backgrounds
-
Export PNG
- File → Export → Export As
- Format: PNG
- Save as
favicon-source.png
-
Generate All Sizes
- Use our Favicon Generator to create all required sizes
- Or manually export each size (tedious and error-prone)
Using GIMP (Free)
-
Create New Image
- File → New
- Width/Height: 512×512 pixels
- Fill: Transparency
-
Design Your Icon
- Use simple shapes from toolbox
- Keep text large and readable
- Test at small sizes frequently
-
Export PNG
- File → Export As
- Choose PNG format
- Name:
favicon-source.png
-
Generate Favicon Package
- Upload to our Favicon Generator
- Download complete package
Method 4: Create Favicon from Existing Logo
Already have a logo? Here's how to turn it into a favicon:
Preparing Your Logo
If logo is horizontal/wide:
- Crop to just the icon/symbol portion
- Or use your brand's first letter
- Square logos work best
If logo has fine details:
- Simplify for small sizes
- Remove taglines and small text
- Keep only the most recognizable element
If logo is complex:
- Create a simplified "icon" version
- Many brands have separate logomarks (Nike swoosh, Apple apple)
Optimal Source Image Settings
| Property | Recommendation |
|---|---|
| Dimensions | 512×512 pixels minimum |
| Format | PNG with transparency |
| Color mode | RGB |
| Background | Transparent |
| File size | Under 5MB |
Convert and Generate
-
Resize if needed
- Use our Image Resizer to make it square
- 512×512 or larger for best results
-
Convert format if needed
- JPG to PNG - if you need transparency
- WebP to PNG - for WebP logos
- SVG to PNG - for vector logos
-
Generate Favicons
- Upload to Favicon Generator
- Download complete package
Installing Your Favicon
Standard Website (HTML)
Place files in your website root folder and add to <head>:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Your Website</title>
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
</head>
<body>
<!-- Your content -->
</body>
</html>
WordPress
Method 1: WordPress Customizer (Easiest)
- Go to Appearance → Customize
- Click "Site Identity"
- Click "Select site icon"
- Upload your 512×512 PNG
- WordPress automatically generates all sizes
Method 2: Manual Upload
- Upload favicon files via FTP to root folder
- Add HTML to
header.phpin your theme - Or use a plugin like "Favicon by RealFaviconGenerator"
Shopify
- Go to Online Store → Themes
- Click "Customize"
- Go to Theme Settings → Favicon
- Upload your favicon image
- Shopify handles the rest
Squarespace
- Go to Design → Browser Icon
- Upload your image (300×300 recommended)
- Squarespace generates required sizes
Wix
- Go to Settings → Favicon
- Upload your icon
- Wix automatically creates all versions
Next.js / React
Place files in /public folder:
public/
├── favicon.ico
├── favicon-16x16.png
├── favicon-32x32.png
├── apple-touch-icon.png
├── android-chrome-192x192.png
├── android-chrome-512x512.png
└── site.webmanifest
Add to your layout or _document.js:
import Head from 'next/head'
export default function Layout({ children }) {
return (
<>
<Head>
<link rel="icon" href="/favicon.ico" />
<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" href="/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />
</Head>
{children}
</>
)
}
Favicon Best Practices
Design Tips
✅ Do:
- Keep it simple - favicons are tiny (16×16 pixels)
- Use bold, recognizable shapes
- Test against light AND dark backgrounds
- Use your brand colors consistently
- Make it work in monochrome/grayscale
❌ Don't:
- Include small text (unreadable at 16px)
- Use photographs (too much detail)
- Use thin lines (disappear at small sizes)
- Make it too similar to common icons
- Forget to test at actual display size
Technical Tips
✅ Do:
- Include favicon.ico for legacy browser support
- Add Apple Touch icon for iOS home screen
- Include Android icons for PWA support
- Use PNG with transparency for modern browsers
- Place favicon.ico in root directory
❌ Don't:
- Use only one size (browsers need multiple)
- Forget the web manifest file
- Skip Apple Touch icon (iOS users exist!)
- Use JPG for favicons (no transparency)
- Put favicon in a subdirectory
Testing Your Favicon
After installation, verify it works:
- Clear browser cache (Ctrl+F5 or Cmd+Shift+R)
- Check browser tab - favicon should appear
- Add to bookmarks - verify it shows
- Test on mobile - add to home screen
- Use different browsers - Chrome, Firefox, Safari, Edge
- Test incognito/private mode - cache-free test
Troubleshooting Common Issues
Favicon Not Showing
Problem: Uploaded favicon but it doesn't appear.
Solutions:
- Clear browser cache (Ctrl+Shift+Delete)
- Try incognito/private browsing mode
- Check file path - must be in root folder
- Verify HTML link tags are correct
- Check for 404 errors in browser dev tools
- Wait - browsers cache favicons aggressively
Favicon Shows on Desktop but Not Mobile
Problem: Works in Chrome but not on iPhone.
Solutions:
- Add Apple Touch icon:
<link rel="apple-touch-icon" href="/apple-touch-icon.png"> - Ensure apple-touch-icon.png is 180×180
- Clear Safari cache on iOS
- Try adding site to home screen to test
Favicon Looks Blurry
Problem: Favicon appears pixelated or fuzzy.
Solutions:
- Start with higher resolution source (512×512+)
- Ensure PNG has no compression artifacts
- Generate fresh using our Favicon Generator
- Check you're using 32×32 version for retina displays
Old Favicon Still Shows
Problem: Updated favicon but old one appears.
Solutions:
- Hard refresh: Ctrl+F5 (Windows) or Cmd+Shift+R (Mac)
- Clear all browser cache and cookies
- Try different browser
- Add version query string:
href="/favicon.ico?v=2" - Wait 24-48 hours for cache to expire
Favicon Works Locally but Not Live
Problem: Shows on localhost but not production.
Solutions:
- Verify files uploaded to server
- Check file permissions (644 for files)
- Ensure correct paths (absolute vs relative)
- Check for HTTPS mixed content issues
- Verify web server serves .ico files correctly
Favicon for Special Use Cases
Dark Mode Favicon
Modern browsers support different favicons for light/dark modes:
<link rel="icon" href="/favicon-light.png" media="(prefers-color-scheme: light)">
<link rel="icon" href="/favicon-dark.png" media="(prefers-color-scheme: dark)">
Animated Favicon
While technically possible with GIF or APNG, avoid animated favicons:
- Distracting to users
- Increases CPU usage
- Not supported everywhere
- Generally considered bad UX
SVG Favicon (Modern Browsers)
Some modern browsers support SVG favicons:
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="icon" type="image/png" href="/favicon.png"> <!-- fallback -->
Benefits: Infinitely scalable, tiny file size, supports CSS styling Drawback: Not supported in Safari or older browsers
Complete Favicon Checklist
Before launching your website:
- Created favicon from high-quality source image
- Generated all required sizes (ICO, PNG, Apple, Android)
- Uploaded files to website root folder
- Added HTML link tags to
<head>section - Added web manifest file for PWA support
- Tested in Chrome, Firefox, Safari, Edge
- Tested on iOS (Safari) and Android (Chrome)
- Verified favicon in browser tab
- Tested bookmark display
- Cleared cache and retested
Recommended Tools
Favicon Creation
- Image to ICO Converter - Complete favicon package generator
- SVG to PNG Converter - Convert vector logos for favicon use
- Image Resizer - Resize images to square format
Image Optimization
- PNG to WebP - Optimize images for web
- Image Compressor - Reduce file sizes
- JPG to PNG - Add transparency support
Format Conversion
- WebP to PNG - Convert WebP logos to PNG
- PNG to JPG - Convert for compatibility
Related Articles:
- How to Resize Images Without Losing Quality
- Image Format Converter Guide: HEIC, WebP, PNG, JPG
- Best Tools to Fix Image Quality
- Complete Guide to Image Optimization
Need a favicon for your website? Use our free Favicon Generator to create a complete favicon package in seconds. Upload any image and get ICO, PNG, Apple Touch icon, Android icons, and ready-to-use HTML code.
Related Articles
Try Our Free Tools
Convert PDFs, compress images, and more — all in your browser, completely free.
Browse Tools