← All blog posts

How to use a favicon calculator

WhiteUI · A plain-English guide to the Favicon Generator

A favicon generator is one of the simplest tools on the web: type a letter, pick a colour, download the file. There is no account, no upload and no design skill involved, and the whole job takes about a minute. This post walks through it step by step, and shows how to put the finished files on your site. The tool used here is the Favicon Generator, which draws the icon on a canvas in your own browser, so nothing you type ever leaves your computer.

Four steps to use the favicon tool: pick a letter, pick a colour, pick a size, download the PNG
Four steps, about a minute: letter, colour, size, download — and the icon is drawn in your own browser, nothing uploaded.

Step 1: pick a letter

Type the first letter of your site name. One letter is the rule: a single bold letter is readable at 16 pixels, where it stands about 11 pixels tall, while two letters or a word would be squeezed into a few pixels each and turn unreadable. A capital B reads better than a lowercase b at small sizes, because it is taller and fills more of the square. If your site name starts with a letter that is hard to read small, like I or l, use the second letter instead: clarity matters more than strictness.

Step 2: pick a colour

Choose one background colour for the square. The letter is drawn in white, so the background needs to be dark or saturated enough for white to stand out: purple, green, dark blue, dark red or black all work well, while pale yellow or light grey do not, because white on pale is invisible. The colour is also the identity of the icon — it is what people recognise in a row of tabs before they read the letter — so pick the main colour of your site if it has one. One colour is enough: a gradient or a picture background adds noise that vanishes at 16 pixels.

Step 3: pick a size and check the preview

The generator draws the letter on a 512 × 512 canvas, which is 262,144 pixels, and the preview shows it large so you can check the letter and the colour. Before downloading, look at the small preview too — the 16-pixel version, which is 256 pixels — because that is the size people will actually see. If the letter is readable there, the design is sound; if it is not, change the letter or darken the colour and look again. Then choose the export size: 512 first, as the master file to keep, then 16, 32, 48, 180 and 192, one download each.

tab: 16 × 16 = 256 px
retina tab: 32 × 32 = 1,024 px
taskbar: 48 × 48 = 2,304 px
Apple: 180 × 180 = 32,400 px
Android: 192 × 192 = 36,864 px

Step 4: download and put the files on your site

Download each size as a PNG and save the five files in your site's main folder, next to the homepage. Then add one link tag for each size in the head of every page, with the sizes attribute matching the file. Save, upload, and load the site in a browser: the letter should appear in the tab. If it does not, the usual cause is the browser cache — browsers hold on to old favicons for a long time — so clear the cache or open the site in a private window and look again. The files are small, the browser downloads them once and keeps them.

What the tool does not do

Three limits are worth knowing. First, the generator makes letter favicons only: if you want a picture or a detailed logo as your icon, you need an image editor, and you should still export at 512 and shrink down. Second, it works in your browser, so the files it makes are PNGs drawn from a canvas — it does not make multi-size ICO files, which need a separate converter if you want the old-browser fallback. Third, it cannot install the icon for you: the link tags in the page head are your job, and the icon only appears once they are in place. Within those limits, it is the fastest way from an idea to a working favicon.

Frequently asked questions

How do I use a favicon generator?

Type one letter, pick a background colour, check the 16-pixel preview, then download 512, 16, 32, 48, 180 and 192 pixels as PNGs and link them in your page head.

What letter should I use for my favicon?

The first letter of your site name, as a capital. One bold letter reads clearly at 16 pixels, where it is about 11 pixels tall; two letters would not.

What colour should my favicon be?

One dark or saturated colour — purple, green, dark blue or black — so the white letter stands out. Avoid pale colours, where white is invisible.

Why is my new favicon not showing?

Usually the browser cache. Clear it or open the site in a private window, and check the file names in the link tags match the files on the server.

More guides on the Favicon Generator

Try it yourself

Try the Favicon Generator — free, in your browser.

Open the Favicon Generator