Skip to content

Favicon Generator

Short answer

Make a complete favicon set from one image: favicon.ico (16, 32, 48 px), Apple touch icon, 192 and 512 px manifest icons, a maskable icon and the HTML tags.

What it does not do: It does not put the files on your site or check the icons you already have; the favicon test does that.

Free · No signup · Runs in your browser
#ffffff

iOS shows transparent parts of the Apple touch icon as black, so these two icons get a solid background. The other icons keep transparency.

Icons are created in your browser; your image is never uploaded.

What It Does

Creates a favicon set from one image: favicon.ico with 16, 32 and 48 px icons, a 180 px Apple touch icon, 192 and 512 px icons for the web app manifest, a 512 px maskable icon, and the HTML tags to add to your pages. An uploaded SVG is included as icon.svg too.

Why It Matters

Browsers show the favicon in tabs and bookmarks, phones use the touch icon on the home screen, and Google Search can show the favicon next to your pages in results. Google shows it only when the icon is square, at least 8×8 px (larger than 48×48 px is recommended) and crawlable, along with the home page.

How It Works

  1. Choose a square image, ideally an SVG or a PNG of at least 512×512 px

  2. Pick a background colour for the Apple touch icon and the maskable icon

  3. Your browser draws each size and packs the small ones into favicon.ico

  4. Download the files, copy the HTML tags and test the result with the favicon checker

Sample input + output

INPUT
image: favicon.svg (this site's logo)
background: #ffffff
OUTPUT
favicon.ico              16, 32 and 48 px in one file, for browsers and Google Search
apple-touch-icon.png     180 px, for iPhone and iPad home screens
icon-192.png             192 px, for Android and the web app manifest
icon-512.png             512 px, for the web app manifest
icon-512-maskable.png    512 px with a safe zone, for Android adaptive icons
icon.svg                 Your original SVG, for browsers that support SVG icons
manifest.webmanifest     Lists the manifest icons

<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="icon" href="/icon-192.png" type="image/png" sizes="192x192">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/manifest.webmanifest">

How to read the result

favicon.ico (16, 32 and 48 px)
One file holding three sizes, for browser tabs, bookmarks and Google Search. Browsers still ask for /favicon.ico at the root of a site even without a tag, so put it there.
apple-touch-icon.png (180 px) and the background colour
The icon iPhone and iPad use on the home screen. iOS shows transparent parts as black, so this icon and the maskable one get the background colour you chose (#ffffff in the sample); the others keep transparency.
icon-192, icon-512 and icon-512-maskable
The icons for Android and the web app manifest. The maskable version keeps the logo inside a central safe zone, so Android can crop it into a circle or rounded square without cutting it.
icon.svg
Your original SVG, added only when you upload an SVG. Browsers that support SVG icons use it and it stays sharp at every size. The sample used this site's own SVG logo.
manifest.webmanifest and the tags
The manifest lists the 192 and 512 px icons; if you already have a manifest, copy its icons array into yours instead of replacing the file. The tags go in the <head> of every page and assume the files sit at the root of the site.

Who Uses This

  • Small business owner

    Turn a logo into all the icon files a new website needs.

  • Web developer

    Generate the icon set and the manifest icons for a progressive web app.

  • Designer

    See how a logo looks at 16 px before handing it over.

Common problems and how to fix them

  1. The source image is not square

    Start from a square image of at least 512 × 512 px. A wide logo becomes tiny inside a square icon, so use the symbol rather than the full wordmark.

  2. Details disappear at 16 px

    Fine lines and small text vanish at favicon size. Use a simplified symbol with thick shapes and strong contrast, and look at the 16 and 32 px results before you publish them.

  3. The old icon still shows

    Browsers keep favicons in their cache for a long time. Give the new file a new name or add a version such as ?v=2 to the href, then reload with the cache emptied. Google updates its copy only after it crawls the home page again.

    <link rel="icon" href="/favicon.ico" sizes="32x32">
    <link rel="icon" href="/icon.svg" type="image/svg+xml">
    <link rel="apple-touch-icon" href="/apple-touch-icon.png">
    <link rel="manifest" href="/site.webmanifest">
    <meta name="theme-color" content="#0ea5a4">
  4. The files are not at the site root

    The tags point to the root. If you upload the files to a folder, change every href to that folder, and still keep a copy of favicon.ico at /favicon.ico.

    <link rel="icon" href="/favicon.ico" sizes="32x32">
    <link rel="icon" href="/icon.svg" type="image/svg+xml">
    <link rel="apple-touch-icon" href="/apple-touch-icon.png">
    <link rel="manifest" href="/site.webmanifest">
    <meta name="theme-color" content="#0ea5a4">
  5. You already have a manifest

    Merge the icons into it instead of replacing it, so the app name, start URL and colours you set before are kept.

    {
      "icons": [
        { "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
        { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png" },
        { "src": "/icon-maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
      ]
    }

Frequently Asked Questions

Which files do I need?
Most sites use favicon.ico, an Apple touch icon, and 192 and 512 px icons for the web app manifest. An SVG icon is optional; browsers that support it can use it at any size.
Why does the ICO file contain PNG images?
The ICO format can store PNG images, and every current browser reads them. The file holds 16, 32 and 48 px versions so each browser can pick the size it needs.
What is a maskable icon?
An icon with extra space around the logo, so Android can crop it to a circle or another shape. The tool keeps the whole image inside the safe zone, so nothing is cut off.
Why do the Apple touch icon and the maskable icon get a background colour?
iOS shows transparent parts of the touch icon as black, and a maskable icon has to fill its whole shape, so both get the colour you choose. The other icons keep transparency.
Is my image uploaded?
No. The icons are drawn in your browser, and the image never leaves your device.

Sources

The documentation this tool and the explanations on this page are based on.