What Is a Favicon?
A favicon (short for "favorites icon") is the small icon that appears in browser tabs, bookmarks, and search results. Though tiny โ typically 16ร16 or 32ร32 pixels โ it plays a big role in making your website look polished and professional. Without one, browsers show a generic blank icon in the tab.
What Sizes Does a Favicon Need?
Different devices and contexts require different favicon sizes:
- 16ร16: Browser tab (minimum required)
- 32ร32: Windows taskbar, some browser tabs
- 48ร48: Windows site shortcuts
- 64ร64: High-DPI Windows taskbar
- 128ร128: Chrome Web Store
- 256ร256: High-resolution displays
Creating all these sizes manually is tedious. A favicon generator takes one high-resolution PNG and produces all the sizes at once.
- Prepare your PNG โ Use a square PNG of at least 256ร256 pixels. Transparent background works best
- Open the generator โ Go to tool.tl/to-favicon
- Upload your image โ Click to upload or drag your PNG onto the page
- Download the ICO file โ The tool generates a multi-size favicon.ico automatically. Click to download
How to Add the Favicon to Your Website
Place favicon.ico in your site's root directory, then add these tags inside your HTML <head>:
<link rel="icon" type="image/x-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" sizes="180x180" href="/apple-touch-icon.png">
Most modern frameworks (Next.js, Astro, Nuxt, etc.) have a dedicated folder for favicon files โ check your framework's documentation for the exact setup.
Design Tips for a Good Favicon
- Keep it simple: At 16ร16 pixels, complex text and fine details become unreadable. Use a bold icon or a single letter
- Avoid thin lines: Lines of 1โ2px disappear at small sizes
- Use a transparent background: PNG transparency lets your favicon look good on both light and dark browser themes
- High contrast: Make sure the icon is visible on both white and dark backgrounds
Frequently Asked Questions
Is the favicon generator free?
Yes โ tool.tl's favicon generator is completely free with no account required.
Why isn't my new favicon showing up?
Browsers cache favicons aggressively. Force-refresh with Ctrl+Shift+R (or Cmd+Shift+R on Mac), or clear your browser cache to see the updated icon.
Can I use SVG for a favicon?
Modern browsers support SVG favicons, but for maximum compatibility, always include a .ico version. You can declare both formats in your HTML and the browser will use what it supports.
tool.tl's favicon generator accepts PNG, JPG, and SVG. For best results, use a PNG with a transparent background.