A tiny icon for your tab.

The favicon is the little picture in a browser tab, a bookmark list and some search results. If you do not have a logo yet, letters or an emoji on a coloured shape make a clean, readable one.

Change the colours, shape, weight and text size, check the real-size previews, then download the files and copy the HTML.

Runs in your browser. Nothing is uploaded.

Preview at real sizes

16 pixel preview
16
32 pixel preview
32
48 pixel preview
48
180 pixel preview
180

More design & colour tools · All 54 tools

How to use it

  1. Type up to three letters, or paste an emoji, in Letters or emoji.
  2. Pick a Background colour, a Text colour and a Shape. No background gives a transparent icon.
  3. Adjust Weight and Text size until the 16 px preview is still easy to read.
  4. Download favicon.ico and the 32 px, 180 px and 512 px PNG files.
  5. Upload the files to the top folder of your site, then copy the HTML from the box into your page's head section.

What you get and where it goes

FileSizeUsed by
favicon.ico16, 32 and 48 px in one fileBrowser tabs, bookmarks, and anything that asks for /favicon.ico
favicon-32.png32 pxA plain PNG tab icon, if you prefer PNG
apple-touch-icon.png180 pxiPhone and iPad home screen shortcuts
icon-512.png512 pxHigh-resolution uses, such as a web app manifest you write yourself

The HTML box gives you these lines for the head of every page:

<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/icon-512.png" type="image/png" sizes="512x512">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">

Inside the ICO file

An ICO is a small folder in one file: a 6-byte header, a 16-byte entry for each picture, then the pictures themselves. Here the three sizes are stored as PNG data, which current browsers read. That is 6 + 3 × 16 = 54 bytes before the first picture starts. The browser picks the size that suits the screen.

How the text is sized

A single character is drawn at 68% of the icon's height, and two or three characters at 50%, then multiplied by Text size (60 to 130%). On a 16 px icon, one letter at 100% gets a font size of about 11 px. That is why one bold letter usually reads better than three.

Tips

  • Use strong contrast. A ratio of at least 3:1, the WCAG 2.2 minimum for graphics (success criterion 1.4.11), is a sensible floor; test it with the contrast checker.
  • Emoji are drawn with your device's emoji font, so the icon matches the style of the device you made it on.
  • No web manifest is made. For an installable web app you also need a 192 px icon, which you can make by shrinking the 512 px file with the image compressor.
  • Browsers cache favicons for a long time. Check a new one in a private window.

Questions.

Which files do I actually need?

For most sites, favicon.ico for browsers and apple-touch-icon.png for iPhone and iPad home screens. The 512 px PNG is useful for high-resolution displays and web app manifests.

Where do I upload the files?

To the top folder of your site, so the icon opens at yourdomain/favicon.ico. If you put them elsewhere, change the href paths in the HTML to match.

Why is my old favicon still showing?

Browsers keep favicons in their cache for a long time. Open the site in a private window, or clear the cache, to see the new one.

Why does the emoji look different on another phone?

Each system has its own emoji artwork. The downloaded files use the style of the device you made them on, and that picture then looks the same everywhere.

Does it create a web manifest?

No. It makes the ICO and PNG files and the head HTML. If you need a manifest, list the 512 px icon and a 192 px copy in a site.webmanifest file.

Do I need an SVG favicon too?

It is optional. An SVG icon stays sharp at every size; if you have one, add it with its own link tag and keep the ICO as a fallback.

iPhone and iPad are trademarks of Apple Inc.