How Multi-Size Favicons, Binary .ICO Containers & Apple Touch Icons Work

Why Modern Websites Need Both favicon.ico and High-DPI PNG Icons

A favicon (favorite icon) is the small brand emblem displayed in browser tabs, bookmark bars, Google mobile search snippets, and smartphone home-screen shortcuts. While a classic root-level /favicon.ico file remains essential because desktop browsers and search crawlers automatically request it, modern mobile operating systems and Progressive Web Apps (PWAs) require dedicated high-resolution PNG assets: 180×180 px for iOS Safari apple-touch-icon home shortcuts, and 192×192 px plus 512×512 px for Android Chrome and Google Search results. Our generator renders crisp anti-aliased icons at every standard resolution and packs dual 16×16 and 32×32 PNG frames into a valid binary .ico container directly inside your browser.

How to Create & Install Your Website Favicon Package in 3 Easy Steps

  1. Upload Logo or Type Brand Initials: Drop a square PNG/SVG/JPG logo—or switch to From Text / Brand Initials and customize colors and corner rounding.
  2. Download favicon.ico & PNG Sizes: Click Download favicon.ico along with 16x16, 32x32, 180x180, and 192x192 PNG files.
  3. Paste the Tags: Upload the icon files to your website's root folder and paste the HTML snippet into your tag.

Binary .ICO Directory Offset Formula & Worked Example

A standard Windows/Web .ico file starts with a 6-byte ICONDIR header followed by 16-byte ICONDIRENTRY records for each embedded resolution:

ICO Header Size = 6 bytes + ( 16 bytes × Number of Embedded Icon Sizes )

Worked Example: When embedding 2 resolutions (16×16 and 32×32) into favicon.ico:

Header + Directory Table = 6 + (16 × 2) = 38 bytes.

The 16×16 PNG payload begins at byte offset 38, and the 32×32 PNG payload immediately follows—allowing every browser to pick the sharpest icon for standard or Retina displays.

Complete Website Favicon, Mobile & PWA Icon Dimensions Chart (16 Specs)

Use this webmaster reference guide to ensure your brand icon displays cleanly across desktop browsers, Google Search, iOS, and Android.

Icon Filename / Standard Dimensions (px) Format Where It Appears
favicon.ico (Multi-Size Root) 16×16 & 32×32 ICO Container Legacy desktop browsers, RSS readers, root fallback
favicon-16x16.png 16 × 16 px PNG Standard 1x desktop browser tabs & bookmarks
favicon-32x32.png 32 × 32 px PNG Retina @2x browser tabs & Windows taskbar shortcuts
favicon-48x48.png 48 × 48 px PNG Google Search SERP site icon minimum requirement
apple-touch-icon.png 180 × 180 px PNG (Opaque) iPhone & iPad Safari "Add to Home Screen" icon
android-chrome-192x192.png 192 × 192 px PNG Android Chrome home screen & Google Search icon
android-chrome-512x512.png 512 × 512 px PNG PWA splash screen & Web App Manifest high-res icon
Google Search Site Icon Rule Multiple of 48 px PNG / ICO / SVG 48×48, 96×96, 144×144, or 192×192 px
Windows Metro / Edge Tile 150 × 150 px PNG Pinned Start Menu tiles via browserconfig.xml
Safari Pinned Tab SVG Vector Mask Monochrome SVG macOS Safari pinned tab silhouette
WordPress Site Icon Upload 512 × 512 px PNG / JPG Appearance → Customize → Site Identity
Shopify / Wix / Webflow Favicon 32×32 or 256×256 PNG / ICO Storefront browser tab & checkout header
iOS Transparency Rule Solid Background Opaque PNG iOS fills transparent areas black on home icons
Aspect Ratio Requirement 1 : 1 Square Square Canvas Non-square icons get distorted or cropped in SERPs
Recommended Source Logo Size 512 × 512 px+ PNG / SVG Downscaling preserves crisp anti-aliased edges
Browser Cache Refresh Tip Append ?v=2 Cache Busting Forces Chrome/Firefox to reload updated favicons

Converting SVG vectors to PNG, cropping square logos, picking brand HEX colors, or generating QR codes? Explore our companion tools:

Frequently Asked Questions

Google Search's official favicon guidelines require your site icon to be a square 1:1 image at least 48×48 px (or any larger multiple of 48 px, such as 96×96, 144×144, or 192×192 px) and crawlable by Googlebot.
It builds a 100% genuine binary ICO file with a valid 6-byte ICONDIR header and 16-byte directory entries containing both 16×16 and 32×32 icon frames—compatible with all desktop browsers and Windows shortcuts.
Web browsers cache /favicon.ico aggressively. Hard-refresh your page (Ctrl + F5 on Windows or Cmd + Shift + R on Mac), or append a version query string such as href="/favicon.ico?v=2" in your HTML tag.
Never. All image resizing, text-icon rendering, and binary .ico file assembly run 100% locally inside your web browser using JavaScript and HTML5 Canvas.