Skip to content

Runs entirely in your browser. Nothing you paste leaves this page.

Free / No sign-up

Favicon generator: the modern six-file set.

Create every favicon a site needs in 2026 from letters, an emoji or your logo: favicon.ico, icon.svg, a 180 px Apple touch icon and 192/512 px manifest icons, one maskable, plus the HTML and manifest.

Icon source

Shape

Icon shape
  • favicon.ico32×32 ICO, legacy and /favicon.ico requests
  • icon.svgScalable, used by modern browsers
  • apple-touch-icon.png180×180, iOS home screen
  • icon-192.png192×192, manifest
  • icon-512.png512×512, manifest and install
  • icon-mask.png512×512 maskable, Android
Snippet
<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="/manifest.webmanifest">

Put the files in your site root and the HTML in <head>. This is the small modern set: an ICO for legacy requests, an SVG for current browsers, a 180 px Apple touch icon and 192/512 px manifest icons, one of them maskable.

How to use it.

  1. 01

    Type one or two letters or an emoji, or switch to Image and drop in your logo (SVG works best).

  2. 02

    Pick colours, shape and padding, and watch the browser tab, iOS and Android previews update.

  3. 03

    Download the files or the .zip, put them in your site root, and paste the HTML snippet into the head of every page.

What it does.

Everything this tool handles, all of it inside your browser tab.

  • Text, emoji or image source, with SVG logos passed through unchanged
  • favicon.ico (32×32, PNG inside an ICO container)
  • icon.svg for text and SVG sources
  • apple-touch-icon.png at 180×180 with an opaque background
  • icon-192.png, icon-512.png and a maskable icon-mask.png with a safe zone
  • manifest.webmanifest with name, short name, icons and theme colour
  • Square, rounded and circle shapes, colours, weight and padding
  • Live browser tab (light and dark), iOS and Android previews
  • Copy the HTML or manifest, download single files or a .zip

Worked examples.

  • The HTML to paste into <head>

    <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="/manifest.webmanifest">

    Four lines cover every current browser, iOS home screens and Android installs. Keep sizes="32x32" on the ICO so Chrome picks the SVG.

  • The manifest icons

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

    Android uses the maskable icon for launchers and the regular ones elsewhere, such as splash screens.

  • A letter favicon as SVG

    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
      <rect width="100" height="100" rx="22" fill="#1F5EFF"/>
      <text x="50" y="50" dy=".35em" text-anchor="middle"
            font-weight="800" font-size="68" fill="#FFFFFF">N</text>
    </svg>

    Under half a kilobyte and sharp at every size. It uses the visitor's system font, which keeps it small.

  • Dark-mode aware SVG favicon

    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
      <style>
        path { fill: #0B1020 }
        @media (prefers-color-scheme: dark) { path { fill: #FFFFFF } }
      </style>
      <path d="M20 80V20h14l32 38V20h14v60H66L34 42v38z"/>
    </svg>

    Useful for transparent logos. Edit the downloaded icon.svg by hand to add it; the generated icons have solid backgrounds and do not need it.

Which favicon files do you actually need?

Older generators produce twenty or more files for long-gone platforms. Current browsers need far fewer. The set this tool generates follows the widely used guide by Evil Martians, which has been kept up to date since 2021: a 32×32 favicon.ico, a scalable icon.svg, a 180×180 apple-touch-icon.png, and 192 and 512 pixel PNGs referenced from a web app manifest, one of them maskable.

Each file has a job. favicon.ico answers the many tools, feed readers and older browsers that request /favicon.ico directly without reading your HTML. icon.svg gives modern browsers a sharp icon at any size and density. The Apple touch icon is used when someone adds your site to an iPhone or iPad home screen. The manifest icons are used by Android and desktop browsers when a site is installed as an app and on splash screens.

The HTML snippet, line by line

The ICO link carries sizes="32x32". Without that attribute some versions of Chrome prefer the ICO over the SVG, so the attribute is what makes the browser choose the vector. The SVG link has type="image/svg+xml". The Apple touch icon needs no sizes attribute because 180×180 is the only size current iOS devices use, and the manifest link points at manifest.webmanifest.

Put the files at the root of your site and the four lines in the head of every page. Most frameworks have a convention for this. In Next.js, for example, an icon.svg and apple-icon.png in the app directory are linked automatically; our Next.js development team uses that convention on client projects.

Maskable icons and the safe zone

Android launchers crop installed app icons into circles, squircles or rounded squares depending on the device. An icon marked purpose: "maskable" tells the system it is designed for that: the artwork sits inside a central safe zone, a circle 80% of the icon's width, and the background fills the whole square. Without one, Android shrinks your icon onto a white plate, which looks out of place.

The generator builds icon-mask.png with a full-bleed background and the artwork scaled into the safe zone, and the Android preview shows it cropped to a circle. The regular 192 and 512 icons keep the shape you choose. Maskable icons matter most for a progressive web app that people install.

Text and emoji favicons

A letter or two on a coloured shape is a clean, recognisable favicon for products, side projects and documentation sites, and it stays legible at 16 pixels where a detailed logo turns to mush. In text mode the SVG favicon contains real text, so it is tiny and sharp at every size. The PNG and ICO files are rendered from the same design.

Emoji favicons work too. The PNG files capture the emoji as your system draws it. In the SVG version the emoji is drawn by each visitor's own system font, so it looks slightly different on Windows, macOS and Android; if you need it identical everywhere, use the PNG files and remove the SVG line from the snippet.

Using your logo

Upload an SVG if you have one. It is passed straight through as icon.svg and also rendered into every PNG size. With a PNG or JPEG you get the ICO and PNG files but no SVG, since wrapping a bitmap in an SVG gives no benefit. Use a square source of at least 512 pixels so the large manifest icon is not upscaled.

Simplify for small sizes. A full logo with a wordmark becomes unreadable at 16 or 32 pixels, so most brands use just the symbol or initial. Our branding and logo design work always includes a small-size mark for exactly this reason.

Dark mode, caching and Google Search

An SVG favicon can adapt to dark mode by including a style block with a prefers-color-scheme: dark media query inside the file. That is most useful for transparent logos that would vanish on a dark tab bar. Icons generated here have a solid background, so they read well in light and dark browser themes as they are.

Browsers cache favicons aggressively, so a new icon can take a while to appear. Open the file URL directly or try a private window to check it. Google Search shows a favicon next to results using the icon and apple-touch-icon links on your home page, and recommends one larger than 48×48 pixels, which the 180 px Apple touch icon covers. Changes in Search can take days to weeks to show.

Adding and testing favicons on your platform

On a static site or a custom stack, copy the files into the folder that is served at the root of your domain and add the four link lines to your shared head template. In WordPress, the Site Icon setting under Appearance generates its own sizes from one uploaded image; you can still upload favicon.ico to the server root so direct requests find it. Shopify and most hosted builders have a single favicon upload in their theme settings, which covers browser tabs, but not always home screen icons.

In frameworks with file-based conventions, such as Next.js, Nuxt or SvelteKit, check the documentation for icon files before adding manual link tags, so you do not end up with two competing sets. A web app manifest is also where you set the app name, theme colour and display mode for installed sites; the snippet here includes sensible defaults you can extend. If you are turning a site into an installable app, our PWA development team handles the manifest, service worker and offline behaviour together.

After deploying, load yourdomain.com/favicon.ico and yourdomain.com/icon.svg directly to confirm they are served with the right content type, then check the tab in light and dark browser themes. On an iPhone, use Add to Home Screen to see the Apple touch icon; on Android, install the site or add it to the home screen to see how the launcher crops the maskable icon. Browser developer tools show the manifest and its icons under the Application panel, along with any errors.

Questions, answered

Something else on your mind? Ask a consultant and get a reply within one business day.

What favicon sizes do I need in 2026?

A 32×32 favicon.ico, an SVG icon, a 180×180 Apple touch icon, and 192×192 and 512×512 PNGs in a web app manifest, one of them maskable. That small set covers current browsers, iOS and Android.

Do I still need favicon.ico?

Yes. Many browsers, feed readers and tools request /favicon.ico directly without reading your HTML. A single 32×32 image inside the ICO is enough.

Why does the ICO link need sizes="32x32"?

Without it, some versions of Chrome choose the ICO over the SVG. The attribute tells the browser the ICO is a 32 pixel bitmap, so it prefers the scalable SVG.

What size is an Apple touch icon?

180×180 pixels with an opaque background. iOS adds the rounded corners itself, so do not round them in the image.

What is a maskable icon?

An icon designed to be cropped into different shapes by Android launchers. Its artwork sits inside a central circle 80% of the width, with the background filling the whole square.

Can I use an emoji as a favicon?

Yes. Type the emoji in text mode. The PNG and ICO files keep it as your system draws it; the SVG uses each visitor's emoji font, so it looks slightly different across platforms.

Why is there no icon.svg for my PNG logo?

An SVG only helps when it contains vector shapes or text. Upload an SVG logo, or use text mode, to get one. The PNG and ICO files are still generated.

Do I need the web manifest?

Only if you want the site to be installable or to look right when added to an Android home screen. For a simple site, the ICO, SVG and Apple touch icon are enough.

Why does my new favicon not show up?

Browsers cache favicons for a long time. Open the icon URL directly, hard-refresh, or check in a private window. Google Search can take days or weeks to update.

Are my images uploaded?

No. Every file is drawn on a canvas and packaged in your browser, including the ICO and the zip.

More free tools.

All tools

Need tooling like this inside your product?

We build internal tools, developer platforms and APIs. Tell us what your team keeps doing by hand.