A favicon is a website's small icon: browsers show it in the tab next to the page's title, in bookmarks and in history, and some search engines show it next to the site's results. Most are a simplified logo, as it is drawn as small as 16 × 16 pixels.
The classic favicon is a file named favicon.ico at the top of a website, and browsers still ask for that file when a page names no other icon. An ICO favicon holds the same picture at several sizes, so the icon stays sharp on ordinary and on high-resolution screens.
Start from a square image of your logo or its symbol, 256 pixels or more, with a transparent background. Drop it on this page, keep 16 × 16, 32 × 32 and 48 × 48 ticked and press Download. Rename the file favicon.ico and put it at the top folder of your website, next to its home page.
To name it in the page as well, add <link rel="icon" href="/favicon.ico"> to the page's head. Many favicon generators also make PNG and app icons; for the icon in the browser tab, this one file is enough.
ICO is the icon format of Windows, also used for favicons. One ICO file holds the same picture at several square sizes, up to 256 × 256, and Windows or the browser picks the size it needs.
This converter stores sizes up to 128 as 32-bit bitmaps with their transparency, which Windows and browsers read, and 256 as a PNG, which Windows reads too and which keeps the file small: as a bitmap, 256 alone would add 264 KB.
Browsers use 16 and 32 for tabs and bookmarks, the larger on high-resolution screens; 48 is the size of Windows' medium icons in folders. Those three are where the page starts, and they make a 15 KB file whatever the image.
Windows shows icons up to 256 pixels in its folders, so a Windows shortcut or app icon should hold 256 too, and 64 and 128 if you like. Each size adds to the file: the table below has the numbers.
An icon is square. An image that isn't is fitted into the square and centered on a transparent background; the list says so under the file. Each size is made from the image with a Lanczos filter, which keeps edges sharp as it shrinks.
An image smaller than a size picked is enlarged to it, which can look soft, and the list says which sizes were enlarged. An SVG is drawn at the largest size you tick, so it is sharp at every size.
The page takes PNG, JPG, WebP, GIF, BMP, AVIF and SVG files. A PNG, WebP or SVG with a transparent background keeps it in the icon. A JPG has no transparency, so a square JPG fills the whole icon, and a photo that isn't square gets transparent bars at the sides or top and bottom.
A favicon is a small part of a website; the pages, posts and emails around it take far longer to write. Laxis Voice Keyboard types what you say into any app on Mac, Windows, iPhone and Android, adds punctuation and removes filler words, so the text can be said rather than typed. It is free to start.
Sizes up to 128 are bitmaps of a fixed size; 256 is a PNG, whose size depends on the picture: we measured it on four icons made with this converter.
|
| 16 × 16 | Bitmap with transparency | 1,128 |
|---|
| 32 × 32 | Bitmap with transparency | 4,264 |
|---|
| 48 × 48 | Bitmap with transparency | 9,640 |
|---|
| 64 × 64 | Bitmap with transparency | 16,936 |
|---|
| 128 × 128 | Bitmap with transparency | 67,624 |
|---|
| 256 × 256 | PNG | 14 KB to 55 KB in our tests |
|---|
Plus 6 bytes for the file and 16 for each size. A favicon with 16, 32 and 48 is 15,086 bytes (15 KB); our app logo with all six sizes made a 147 KB icon. Each icon took less than a second in Chrome on a Linux computer with 4 cores.