FLXCode Favicon Generator

FLXCode apps

Appearance

Favicon Generator

Make every favicon file a site needs from a letter, an emoji or a logo, with the HTML to paste. Nothing is uploaded.

Make it from
#FFFFFF
#1D5FC2
Shape

Preview

    Files

    • favicon.ico16, 32 and 48 px in one file
    • apple-touch-icon.png180 x 180 px, for iPhone and iPad home screens
    • icon-192.png192 x 192 px, for Android and the manifest
    • icon-512.png512 x 512 px, for Android and the manifest
    • site.webmanifestnames and colors of the site

    Paste into the head of your pages

     

    site.webmanifest

     

    Put all the files in the root folder of your site. Nothing is uploaded, and the picture is not saved.

    No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.

    Problem or idea? Email us

    Quick start

    1. Type one to three characters or an emoji, or switch to A picture and choose a logo.
    2. Pick the colors and the shape. Look at the 16 and 32 px previews, which are what a tab shows.
    3. Download the zip, or each file on its own.
    4. Upload the files to the root of your site and paste the HTML lines into your page head.

    What you get

    • favicon.ico, 16, 32 and 48 px in one file.
    • apple-touch-icon.png, 180 x 180 px, for iPhone and iPad home screens.
    • icon-192.png, 192 x 192 px, for Android and the manifest.
    • icon-512.png, 512 x 512 px, for Android and the manifest.
    • site.webmanifest, names and colors of the site.

    The HTML to paste, as the tool writes it for a blue site:

    <link rel="icon" href="/favicon.ico" sizes="48x48">
    <link rel="apple-touch-icon" href="/apple-touch-icon.png">
    <link rel="manifest" href="/site.webmanifest">
    <meta name="theme-color" content="#1d5fc2">

    And the manifest:

    {
      "name": "My site",
      "short_name": "My site",
      "icons": [
        {
          "src": "/icon-192.png",
          "sizes": "192x192",
          "type": "image/png"
        },
        {
          "src": "/icon-512.png",
          "sizes": "512x512",
          "type": "image/png"
        }
      ],
      "theme_color": "#1d5fc2",
      "background_color": "#1d5fc2",
      "display": "standalone"
    }

    What is inside favicon.ico

    An ICO file is a small directory followed by the images. The directory is 6 bytes of header plus 16 bytes for each image, and each entry says the size, the length in bytes and where the image starts. Take three PNG images of 300, 700, 1100 bytes. The directory is 6 + 3 x 16 = 54 bytes, so the entries read:

    ImageLengthStarts at byte
    16 x 1630054
    32 x 32700354
    48 x 4811001054

    The whole file is 2154 bytes. The tool writes this container itself and stores each icon as a PNG inside it.

    How it works

    Everything is drawn once at 512 px and shrunk by halves to each size, which keeps small icons smooth. The iPhone icon is a full square with no transparency, because iOS adds its own rounded corners and fills see-through areas with black. A picture that is not square is cropped to its middle square, and see-through parts take your background color.

    Numbers this uses

    • ICO sizes 16, 32 and 48 px, PNG inside, 32 bits per pixel (the ICO format, Windows Vista and newer).
    • Apple touch icon 180 x 180 px (Apple's size for current iPhones).
    • Android and manifest icons 192 and 512 px (the web app manifest sizes Chrome asks for).
    • Corner radius: rounded is 22% of the side, circle is 50% (this site's choice).
    • Pictures are scaled down above 16 megapixels. File limit 100 MB.

    Privacy

    Nothing you type or choose is uploaded or stored. We count events without cookies, such as "zip saved" (details).

    FAQ

    What is a favicon?

    It is the small icon a browser shows in the tab, in bookmarks and in search results. Most sites ship a favicon.ico file at the root and a few PNG sizes for phones.

    What sizes do I need?

    For most sites: a favicon.ico with 16, 32 and 48 px, an apple-touch-icon.png at 180 px for iPhone and iPad, and 192 and 512 px PNGs for Android and the web manifest. This page makes all of them in one go.

    Can I make a favicon from an emoji?

    Yes. Type one to three characters, including an emoji, pick the colors and the shape. The emoji is drawn with the emoji font of your device, so it can look a little different from one device to another. The files you save keep the look you see.

    Why do I get an ICO and not just PNG?

    Modern browsers read PNG icons, but many tools, feed readers and older browsers still ask for /favicon.ico. The ICO made here holds three PNG images, which every current browser and Windows reads.

    Where do I put the files?

    In the root folder of your site, next to the home page, so /favicon.ico works. Then paste the HTML lines into the head of your pages. The zip also has a head-snippet.html file with the same lines.

    Why is my new favicon not showing?

    Browsers cache favicons hard. Reload with Ctrl+Shift+R, open the page in a private window, or visit /favicon.ico directly and reload that. Search engines can take days to pick up a change.

    What picture works best?

    A simple shape on a solid color, ideally square. Fine detail turns to mush at 16 pixels. A picture that is not square is cropped to the middle square. For a logo with a transparent background, choose the background color you want behind it.

    Is my picture uploaded?

    No. The icons are drawn and packed by your browser on this device. The picture and the text are not sent, saved or put in the address bar.

    More from FLXCode

    Share Favicon Generator