Favicon generator: make a favicon.ico

Turn a logo or picture into a favicon.ico that holds 16, 32 and 48 px versions, plus larger sizes if you tick them. Start from a PNG, JPG, SVG or WebP; the icon is made in your browser and nothing is uploaded.

Icon sizes (px)
px % KB

Converted on your device. Nothing is uploaded.

    How to make a favicon.ico

    1. Add your imagesDrop them on the box above, click to choose them, or paste an image from the clipboard. You can add many at once.
    2. Check the settingsTick the icon sizes to include. 16, 32 and 48 px cover browser tabs and Windows; 256 px is for high-resolution displays.
    3. DownloadSave each ICO with its Download button, or all of them at once with Download all (ZIP).

    Putting the favicon on your website

    A favicon is the small picture shown in browser tabs, bookmarks and history lists. The traditional file is favicon.ico, an icon file holding the same picture at several sizes so the browser can take the one that fits rather than shrinking a large image on the fly. This page starts with 16, 32 and 48 px ticked: 16 px is the classic tab size, and the larger versions help on high-density screens and in places such as desktop shortcuts. Home-screen icons on phones are separate PNG files declared in other ways; they are not part of favicon.ico.

    The downloaded file is named after your image, for example logo.ico. Rename it to favicon.ico and upload it to the top folder of your site, so that it is served at /favicon.ico; most browsers check that address on their own when a page does not declare an icon. To declare it explicitly, or if the file lives somewhere else, add this line inside each page’s <head>: <link rel="icon" href="/favicon.ico">. The href works like any other link, so change the path if your site sits in a subfolder.

    Design for the smallest size. At 16 × 16 pixels thin lines and small text disappear, so a bold symbol or a single letter reads better than a full logo with a slogan. Start from a square image at least as large as the biggest size you tick: a picture that is not square is centred on a transparent square, and one smaller than an icon size is enlarged for it and looks soft. An SVG is drawn afresh at every size, so it stays sharp.

    Questions and answers

    Which sizes should a favicon.ico contain?

    16, 32 and 48 px are the sizes most commonly put into a favicon.ico, which is why they are ticked here. Bigger sizes make the file larger without improving the tab icon, so add 64, 128 or 256 px only if the same icon has other uses, such as a desktop shortcut.

    Where does the link rel="icon" line go?

    Inside the head element of every page, for example <link rel="icon" href="/favicon.ico">. If favicon.ico sits at the root of your domain, most browsers find it even without the line, but adding it makes the location explicit.

    I uploaded a new favicon but still see the old one. Why?

    Browsers cache favicons, sometimes for a long time. Reload with the cache bypassed or check in a private window; the new icon should appear once the cached copy is replaced.

    Will the favicon have a transparent background?

    Transparent areas of a PNG, SVG or WebP stay transparent, because every size is stored as a PNG with an alpha channel inside the ICO. A JPG has no transparency, so its own background is kept; only the padding added around a non-square JPG is transparent.

    Are my images uploaded anywhere?

    No. The page decodes and re-encodes each image with your own browser’s canvas. Nothing is sent to a server; once the page has loaded you can even go offline and it keeps working.

    More converters

    Guides