Favicon Generator

Turn any image, emoji or text into a complete favicon set — with a live tab preview and copy-paste HTML.

Runs in your browserUpdated Built and maintained by Leon and Henrik

Turn an image, an emoji or a single letter into a complete favicon set — with a live browser-tab preview and ready-to-paste HTML. Nothing is uploaded. Free. No sign-up. Runs in your browser, nothing is uploaded.

Favicon Generator

Up to 3 characters. Try a single letter or an emoji like 🚀.

Background
24%
Live preview
Your website
How it looks as a bookmark / shortcut
Runs in your browser
Nothing is uploaded

Upload a logo, or type a letter or an emoji, and you get every favicon size a modern site needs: six PNGs, a favicon.ico, a manifest file and the HTML to link them. A mock browser tab shows the icon at real size while you adjust background, rounding and padding, so you can judge it where it will actually be seen.

What each file is for

FileSizeWhere it shows up
favicon.ico32×32The fallback every browser requests at /favicon.ico; also used for some Windows shortcuts
favicon-16x16.png16×16Browser tabs on standard-resolution screens
favicon-32x32.png32×32Tabs on high-resolution screens, bookmarks bar
favicon-48x48.png48×48Spare size, useful for search results (see below)
apple-touch-icon.png180×180iPhone and iPad home screen when someone adds your site
icon-192.png192×192Android home screen, listed in the manifest
icon-512.png512×512Installed web apps and splash screens, listed in the manifest

The .ico holds a single 32×32 image stored as PNG data inside the ICO container, which every current browser and Windows version reads. You don't need the long lists of 20+ sizes some older generators produce.

The HTML, and one line worth adding

The copy button gives you this for your page's <head>:

<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />

For Google search results, Google's guidance asks for a square favicon and recommends one larger than 48×48 pixels so it stays sharp. The tab icons above are small, so it's worth adding a larger PNG as well:

<link rel="icon" type="image/png" sizes="192x192" href="/icon-192.png" />

The paths assume the files sit at your site root. In Next.js, Astro, Vite and most other frameworks that means the public/ folder.

The manifest in the ZIP lists only the two icons. That's enough for Android to pick up your icon; if you want the site to be installable as an app, the manifest also needs fields such as name and display — add them to the same file.

Getting the iPhone home-screen icon right

iOS takes the 180×180 icon, applies its own rounded-corner mask and fills anything transparent with a solid colour (usually black). Two settings in this tool matter here, because they apply to every size at once:

  • Transparent background: fine for a browser tab, but it can leave your icon on a black square on the home screen. Use a solid background if iPhone users matter to you.
  • Rounding: rounded corners look good in a tab, but iOS rounds the icon again. If you set strong rounding, the corners you cut away become transparent and may show as dark slivers. A rounding of 0 gives iOS a clean square to mask.

If you want a rounded or transparent tab icon and a perfect iOS icon, generate twice: once with your preferred style, and once with a solid square for apple-touch-icon.png only.

Designing for 16 pixels

The 16×16 tab icon has 256 pixels in total. Things that survive that size and things that don't:

Works at 16 pxGets lost at 16 px
One bold letter or two initialsA full wordmark or tagline
A single solid shapeThin outlines and fine detail
Strong contrast between mark and backgroundPastel on white, dark grey on black
A coloured background tileA dark mark with transparency (vanishes on dark browser themes)

The letter option picks near-black or white text automatically for contrast with your background colour. With an uploaded image, the artwork is scaled to fit inside the square — a wide logo is shrunk to fit, not cropped — and the padding slider (default 12%) sets how much room it gets. If the mark ends up tiny, crop the logo to its symbol first with the Image Resizer, or remove a busy background with the Background Remover.

Checking it worked

  1. Open yoursite.com/favicon.ico and yoursite.com/apple-touch-icon.png directly. If either shows a 404, the files aren't where the HTML says they are.
  2. Hard-reload the page (Ctrl+Shift+R / Cmd+Shift+R) or open it in a private window; favicons are cached separately from the page.
  3. On a phone, add the site to the home screen to see the 180 or 192 icon.
  4. For the search-result icon, be patient: it updates only after Google recrawls your home page.

Frequently asked questions

Related tools

All Image tools →