Skip to content

Favicon generator

Make a favicon from letters, an emoji, an image or SVG code, check it in a light and a dark browser tab, and download every file sites need in one zip: favicon.ico with 16, 32 and 48 px inside, favicon.svg, a 180 px Apple touch icon, 192 and 512 px manifest icons, and the four <link> tags to paste. Only need to turn a PNG into an ICO? Use the PNG to ICO converter further down.

Start from
Nothing to draw yet
16px
32px
48px
16 @2x
apple 180
192px
512px
My sitehttps://example.com
7 files: favicon.ico (16, 32, 48), favicon.svg, apple-touch-icon.png, icon-192.png, icon-512.png, site.webmanifest and the tags
Paste in your <head>
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
Where the files go
public/favicon.ico
public/favicon.svg
public/apple-touch-icon.png
public/icon-192.png
public/icon-512.png
public/site.webmanifest

<!-- and the <link> tags in your layout's <head>, e.g. src/layouts/Layout.astro -->

PNG to ICO converter

Turn a PNG into a .ico file with the sizes you choose. Each size is stored as a PNG inside the ICO, so transparency is kept. Non-square images are centred, never stretched.

or drop a file here
Sizes inside the .ico

16, 32 and 48 cover browser tabs, bookmarks and Windows shortcuts. Add 256 for a desktop icon.

Your icon sizes show here.

Which favicon files get used, and where

Many generators still hand out long lists of icon sizes, mostly for old iOS versions and Windows 8 tiles. Today these five files and one manifest cover browsers, phones and search results. The source column names where each rule comes from, so you can check it.

The ICO carries three sizes so each place can pick the one closest to what it needs: 16 px for a tab on a normal screen, 32 px for a high-density one, 48 px for larger spots such as desktop shortcuts.

FileSize (px)Used forSource
favicon.ico16, 32, 48Browser tabs, bookmarks and history. Requested from /favicon.ico even without a link tag.HTML Living Standard, link type "icon"
favicon.svgAny (vector)Tabs in Chrome, Edge and Firefox, sharp at every zoom level and on high-density screens.MDN, <link rel="icon">
apple-touch-icon.png180 × 180iPhone and iPad home screen after "Add to Home Screen". iOS also looks for /apple-touch-icon.png without a tag.Apple, Safari Web Content Guide
icon-192.png192 × 192Android home screen and the install prompt, listed in the web manifest.web.dev, "Add a web app manifest"
icon-512.png512 × 512Splash screen of an installed web app. Chrome needs both 192 and 512 px to offer installing.web.dev, "Add a web app manifest"
Google resultsMultiple of 48The icon next to your site in Google Search: square, at least 8 × 8 px, and a multiple of 48 px per side (48, 96, 144 …) recommended. Any rel="icon" file works, SVG included.Google Search Central, "Define a favicon"

Headers and footers where your new icon sits

8 of 100 free, no account. All of them in UI Pro.

  • Site header (header-01)01

    Site header

    header-01 · Free. A muted service strip over a 72px bar: wordmark, six centred links, a pill search and saved and bag counts.

    Open header-01
  • Site footer (footer-01)02

    Site footer

    footer-01 · Free. Brand and a call-us card, five dense link columns, then trust marks, legal links and an age notice.

    Open footer-01
  • 03

    All free blocks

    Every one with a live preview, filtered to the ones you can use for free first.

    See them all

Questions

What sizes does a favicon need?

Five files cover current browsers and phones: favicon.ico with 16, 32 and 48 px inside, favicon.svg if your icon is vector, a 180 × 180 apple-touch-icon.png for iPhone home screens, and 192 and 512 px PNGs listed in a web manifest for Android and installable web apps. For Google Search the icon has to be square, and Google asks for a side that is a multiple of 48 px (48, 96, 144 and so on). The tags here point it at the SVG, or at the 192 px PNG when there is no SVG.

How do I convert a PNG to ICO?

Use the PNG to ICO converter on this page: choose your PNG, tick the sizes you want inside the file (16, 32 and 48 are the usual set; add 256 for a Windows desktop icon) and download the .ico. Each size is stored as a PNG inside the ICO, which every current browser reads and Windows has read since Vista. Renaming a .png to .ico does not work: an ICO has its own header listing the images.

Do I still need a favicon.ico?

Yes, keep one in the site root. When a page has no icon link, browsers request /favicon.ico anyway (the HTML standard allows it, and Chrome, Firefox and Safari do it), and so do many feed readers and link previews. Browsers that understand SVG favicons will use favicon.svg instead when you link both.

Can I use an SVG as a favicon?

Yes. Chrome, Edge and Firefox show SVG favicons; link the ICO as well for browsers that don't. Put sizes="32x32" on the ICO link, as in the tags above, or Chrome may pick the ICO over the SVG. An SVG favicon can also switch colours for dark tabs with a @media (prefers-color-scheme: dark) rule inside the SVG. An emoji favicon.svg is drawn with the visitor's own emoji font, so it looks a little different on Apple, Windows and Android.

Why does my new favicon not show up?

Browsers cache favicons for a long time, often longer than the rest of the page. Open /favicon.ico directly and reload it, try a private window, or add a version to the links (href="/favicon.svg?v=2") so the browser sees a new address. Also check the file really is at the path in the link: a 404 on /favicon.ico shows in the network tab of the developer tools.

How do I add a favicon in Astro or Next.js?

In Astro, put the files in public/ and the link tags in the <head> of your layout; public/ is served from the site root, so /favicon.ico works. In the Next.js App Router, put favicon.ico, icon.svg and apple-icon.png in app/ and Next.js writes the tags itself; the manifest can be app/manifest.webmanifest, with the 192 and 512 px icons in public/. The "Where the files go" switch above shows both.

Is it free?

Yes. No sign-up, and nothing leaves your browser: the icons are drawn on a canvas in this page and the zip is built here too, so your image is never uploaded.

UI Pro

Build your next site from finished blocks

Every block, page template and website theme from €199, paid once, with every update and everything we add later. Not ready? The free blocks are open to everyone.

blocks
1401
page templates
55
website themes
29
The About page template from UI Pro, built from its blocks.

This card is a UI Pro block: Rooilijn (call-to-action-07).