Make a favicon for your website

One icon set for browser tabs, bookmarks, the iPhone home screen, and Android. Use a logo (square works best) or type your brand initials.

Everything runs in your browser. Files are never uploaded to any server.

Code for the <head> section
<link rel="icon" href="/favicon.ico" sizes="48x48">
<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">
Source

How to use

  1. Choose a logo or type letters

    A square logo with a transparent background gives the best result. Or make one from 1–3 letters.

  2. Set background and padding

    Check the preview at the real 16 px size and in a browser tab.

  3. Download and install

    Put the ZIP contents in your site's root folder, then paste the HTML code into the head section.

What's in the set

FileSizeUsed for
favicon.ico16, 32, 48 pxBrowser tabs, Windows, older tools that look for /favicon.ico
favicon-16x16.png, favicon-32x32.png16, 32 pxModern browser tabs
apple-touch-icon.png180 pxIcon when the site is added to the iPhone/iPad home screen (always with a background, because iOS replaces transparency with black)
android-chrome-192x192.png, -512x512.png192, 512 pxAndroid and web app icons (referenced by site.webmanifest)

Common questions

My logo is detailed. Why is it unreadable at 16 px?

At 16 × 16 pixels only the simplest shapes read. Use a simplified version of the logo (the icon without text) or your brand initials.

I use WordPress or Shopify. Do I need the HTML code?

Usually not. WordPress: Appearance → Customize → Site Identity → Site Icon (upload android-chrome-512x512.png). Shopify: Themes → Customize → Theme settings → Favicon.