A favicon (short for favorite icon) is the small square icon that represents a website inside browser tabs, bookmarks bars, history lists, mobile home screens, and Google Search results. Despite measuring only a few dozen pixels across, a sharp favicon makes your brand immediately recognizable when visitors keep twenty tabs open or scan a crowded search results page.
If you already have a square logo ready and want to package it immediately, you can convert your artwork locally
with Convertistan's JPG to ICO converter,
PNG to ICO converter, or SVG to ICO converter — each
generating a multi-size favicon.ico directly in your browser without uploading files. Below is the
complete 2026 technical reference covering sizes, formats, and production code snippets.
What Is a Favicon and Why Does Every Website Need One?
Browsers originally introduced favicon.ico in 1999 so users could spot bookmarked sites at a glance.
Today, that tiny icon appears in far more high-visibility places than a desktop bookmarks bar:
- Browser tabs and pinned tabs: When a user opens dozens of tabs, page titles shrink away until only the favicon remains visible.
- Google Search results (desktop & mobile): Google displays your site icon next to your domain name and breadcrumb above every organic listing. Missing or low-resolution icons fall back to a generic gray globe, which reduces visual trust and click-through rate.
- iOS and Android Home Screen shortcuts: When someone saves your web app or site to their phone screen, the OS pulls your
apple-touch-iconor Web App Manifest icon. - Password managers, RSS readers, and browser history: Third-party utilities look for standard favicon declarations to identify your domain cleanly.
Leaving out a favicon also creates quiet server noise: every browser automatically requests
/favicon.ico at your root domain, logging unnecessary 404 Not Found errors until a valid
file exists.
Recommended Favicon Sizes for Browsers, iOS, and Android (2026 Cheat Sheet)
You do not need twenty different legacy icon files anymore. In 2026, a lean set of five core sizes — paired with an optional vector SVG — covers virtually every desktop browser, mobile OS, PWA launcher, and search crawler cleanly.
| Size (px) | Format | Primary Platform & Role | Required? |
|---|---|---|---|
| 16 × 16 | .ico / .png |
Standard-DPI desktop browser tabs and bookmarks bar | Yes (inside favicon.ico) |
| 32 × 32 | .ico / .png |
Retina / HiDPI browser tabs, Windows taskbar shortcuts | Yes (inside favicon.ico) |
| 48 × 48 | .ico / .png |
Google Search results minimum (Google requires multiples of 48px, such as 48×48, 96×96, or 144×144) | Yes (critical for SEO) |
Scalable (any) |
.svg |
Modern Chrome, Firefox, Edge, and Safari tabs — stays razor-sharp at any zoom level and supports dark mode | Strongly recommended |
| 180 × 180 | .png |
iOS & iPadOS apple-touch-icon for Home Screen pins (use an opaque background) |
Yes |
| 192 × 192 & 512 × 512 | .png |
Android Chrome, Progressive Web Apps (manifest.json), and splash screens |
Yes (for PWAs & Android) |
ICO vs. PNG vs. SVG: Which Favicon Format Should You Choose?
Rather than picking a single format and accepting trade-offs, modern websites combine formats so each browser loads the sharpest asset it understands. Here is how the three favicon formats compare:
| Feature | ICO (favicon.ico) |
PNG (.png) |
SVG (.svg) |
|---|---|---|---|
| Browser Support | 100% universal (every browser & legacy tool) | All modern browsers, iOS & Android | Chrome, Edge, Firefox, Safari (modern desktop & mobile) |
| Multi-Size Container | Yes — packs 16, 32, 48 & 256px in one file | No — one file per resolution | Infinite vector scaling from one file |
| Transparency | Full 32-bit alpha (via embedded PNGs) | Full 32-bit alpha channel | Native vector transparency |
| Dark Mode Adaptation | Static only | Static only | Yes — supports CSS @media (prefers-color-scheme: dark) |
| Best Role in 2026 | Root fallback (/favicon.ico) for crawlers, RSS & older clients |
apple-touch-icon (180px) & Android PWA icons (192/512px) |
Primary desktop tab icon for crisp HiDPI & dark-mode rendering |
The winning 2026 combination: ship a multi-size /favicon.ico at your root directory
for universal fallback and search crawlers, pair it with an icon.svg for razor-sharp desktop tabs, and
include a 180 × 180 PNG for Apple devices plus 192 × 192 / 512 × 512 PNGs in
your web manifest.
How to Convert JPG, PNG, or SVG to a Multi-Size .ICO File in Seconds
Renaming a .png or .jpg file to favicon.ico is a common mistake that breaks
legacy parsers and strips out multi-resolution sizing. A genuine .ico file contains a binary header and
multiple embedded icon frames so browsers can pick the exact pixel grid they need without blurry downscaling.
-
Prepare a clean square source mark: Start with a
1:1logo at least512 × 512pixels with high contrast and simple geometry. Fine text disappears at 16px — use your monogram or logomark instead of your full wordmark. -
Pick the matching browser converter:
- Have a JPEG logo or photo mark? Open the Convertistan JPG to ICO Converter.
- Have a transparent logo? Use the PNG to ICO Converter to keep full 32-bit alpha edges intact.
- Have a vector brand mark? Use the SVG to ICO Converter to rasterize crisp icons directly from vector paths.
-
Drop your file and download
favicon.ico: Convertistan automatically renders and bundles16 × 16,32 × 32,48 × 48, and256 × 25632-bit RGBA frames inside a single standards-compliant.icocontainer. -
Need to recover artwork from an old site? If you inherited a legacy project and only have its
favicon.icofile, you can extract an editable raster copy with our ICO to PNG converter or trace it into scalable vector artwork using ICO to SVG.
Putting together a client brand handoff package with PNG icon sheets and style references? You can also bundle your PNG graphics cleanly into a single document by following our guide on how to convert PNG to PDF online without losing quality.
How to Add a Favicon to HTML, WordPress, and Next.js (Code Snippets)
Once your files are ready, place them in your site's public root directory and declare them cleanly so browsers and search engines discover them on the very first crawl.
1. Adding a Favicon in Plain HTML
Place favicon.ico, icon.svg, apple-touch-icon.png, and
manifest.webmanifest in your website's root folder, then paste these four lines inside your
<head> tag:
<link rel="icon" href="/favicon.ico" sizes="32x32" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
Your manifest.webmanifest file then references your Android and PWA icons:
{
"name": "Your Site Name",
"icons": [
{ "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" },
{ "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" }
]
}
2. Adding a Favicon in WordPress (No Plugin Required)
WordPress has built-in favicon management called Site Icon — you do not need a third-party plugin:
- Export a square
512 × 512PNG version of your logo. - In your WordPress dashboard, open Settings → General → Site Icon (or Appearance → Customize → Site Identity on classic themes).
- Upload your
512 × 512image and click Save Changes. WordPress automatically generates the required browser, Apple Touch, and mobile sizes and injects the HTML tags into your header. - For maximum compatibility with older bots, you can also upload a multi-size
favicon.icogenerated with our PNG to ICO tool directly into your hosting root directory (public_html/favicon.ico).
3. Adding a Favicon in Next.js (App Router)
Next.js App Router automatically generates the correct <link> tags when you place standard icon
files directly inside your app/ directory:
app/
├── favicon.ico # Root multi-size ICO (16, 32, 48px)
├── icon.svg # Modern scalable SVG tab icon
├── apple-icon.png # 180×180 iOS Home Screen icon
└── manifest.ts # References /icon-192.png and /icon-512.png
If you store icons inside public/ instead, declare them explicitly inside your root
app/layout.tsx metadata object:
export const metadata = {
icons: {
icon: [
{ url: '/favicon.ico', sizes: 'any' },
{ url: '/icon.svg', type: 'image/svg+xml' },
],
apple: [{ url: '/apple-touch-icon.png', sizes: '180x180', type: 'image/png' }],
},
};
Frequently Asked Questions About Favicons
What is the minimum favicon size required by Google Search?
Google Search requires a square (1:1) favicon that is at least 48 × 48 pixels, or a clean multiple of 48px such as 96 × 96 or 144 × 144 (an SVG icon is also supported). A 16 × 16 icon alone is too small for Google SERP display.
Why is my new favicon not updating in Chrome or Google Search?
Browsers cache favicons aggressively. Hard-refresh your page (Ctrl+Shift+R or Cmd+Shift+R) or test in an incognito window. For Google Search, Google's dedicated favicon crawler updates less frequently than the main web crawler — requesting indexing for your homepage in Google Search Console helps speed up the refresh, which typically takes a few days to two weeks.
Can I just use a PNG or SVG instead of favicon.ico?
Modern browsers fully support PNG and SVG favicons, but keeping a multi-size /favicon.ico at your
root URL is still best practice. Legacy clients, RSS aggregators, PDF viewers, and automated crawlers still look
for /favicon.ico by default even if they do not parse HTML link tags.
How do I make my favicon look good in both light and dark browser themes?
For an SVG favicon, embed a <style> block with
@media (prefers-color-scheme: dark) to switch stroke or fill colors automatically on dark browser
tabs. For ICO and PNG icons, either place your logo inside a solid colored badge or use a medium-tone brand
color with strong contrast against both white and dark-gray tab bars.
Are my logos uploaded to a server when converting to .ICO on Convertistan?
No. Convertistan's JPG to ICO, PNG to ICO, SVG to ICO, ICO to PNG, and ICO to SVG converters run 100% locally in your browser memory using HTML5 Canvas — your brand files never leave your device.


