Skip to content

Favicon Generator

Make a favicon from text, an emoji or an image. Get a zip with favicon.ico, six PNG sizes from 16 to 512 px, site.webmanifest and the HTML link tags.

Actual size:16 px32 px
Source

Also used as the theme color.

HTML snippet
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="theme-color" content="#0a0a0a">
The zip contains 9 files
  • favicon.ico: 16, 32 and 48 px in one file
  • favicon-16x16.png: 16 × 16 px PNG
  • favicon-32x32.png: 32 × 32 px PNG
  • favicon-48x48.png: 48 × 48 px PNG
  • apple-touch-icon.png: 180 × 180 px PNG
  • android-chrome-192x192.png: 192 × 192 px PNG
  • android-chrome-512x512.png: 512 × 512 px PNG
  • site.webmanifest: web app manifest pointing at the 192 and 512 px icons
  • snippet.html: the <link> tags shown on this page

01 · Definition

What is a favicon?

A favicon is the small icon a browser shows for a website in tabs, bookmarks and history. Sites usually ship it as /favicon.ico plus PNG files at several sizes, a 180 × 180 px apple-touch-icon for iOS home screens, and 192 and 512 px icons listed in a web app manifest for Android.

02 · Overview

How the Favicon Generator works

Type one or two characters or an emoji on a colored background, or add an image by choosing, dropping or pasting it. The download is a zip of 9 files: favicon.ico (16, 32 and 48 px), PNGs at 16, 32, 48, 180 (apple-touch-icon), 192 and 512 px, site.webmanifest, and snippet.html with the <link> tags for your <head>. Images are resized in your browser and are not uploaded.

03 · Guide

Favicon sizes: what each file in the bundle is for

The zip holds nine files. The table lists each one, its pixel size and where it is referenced, exactly as the tool writes them. favicon-48x48.png is included for anything that wants a standalone 48 px PNG, but the snippet does not link it; the 48 px image is also inside favicon.ico.

Put every file at the root of your site so the paths in snippet.html and site.webmanifest resolve. The manifest also carries the site name you entered, the theme color and display: standalone.

FileSizeReferenced by
favicon.ico16, 32 and 48 px<link rel="icon" href="/favicon.ico">, and requests for /favicon.ico
favicon-16x16.png16 × 16 px<link rel="icon" sizes="16x16">
favicon-32x32.png32 × 32 px<link rel="icon" sizes="32x32">
favicon-48x48.png48 × 48 pxNot linked
apple-touch-icon.png180 × 180 px<link rel="apple-touch-icon">
android-chrome-192x192.png192 × 192 pxicons in site.webmanifest
android-chrome-512x512.png512 × 512 pxicons in site.webmanifest
site.webmanifestText<link rel="manifest">
snippet.htmlTextPaste its 6 tags into your <head>
Files in favicon-bundle.zip

04 · Use cases

When to use the Favicon Generator

  1. 01

    Give a side project a favicon from its initials

  2. 02

    Replace a framework's default favicon with your own letters or emoji

  3. 03

    Turn a square logo PNG or SVG into favicon.ico plus the PNG sizes

  4. 04

    Get the matching <link> tags and manifest without writing them by hand

05 · Examples

Favicon Generator examples

Text: GN, background #0a0a0a, text color #39e07c

ex 01

favicon-bundle.zip: favicon.ico, 6 PNGs, site.webmanifest, snippet.html (9 files)

The default initials favicon and everything in the zip.

A 512×512 PNG logo, dropped onto the tool

ex 02

favicon.ico (16, 32, 48) + PNGs at 16, 32, 48, 180, 192 and 512 px + site.webmanifest + snippet.html

Every file is resized from the one source image.

Text: AP, light background, dark letters

ex 03

The same 9 files, with 16 and 32 px previews on the page to check legibility

Two letters work for a project that has no logo yet.

Text: ⚡

ex 04

The emoji drawn at each size on your background color

The emoji is rasterized with your device's emoji font, so the files look the same for every visitor.

snippet.html

ex 05

<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48"> … <link rel="manifest" href="/site.webmanifest">

Six tags in total, including apple-touch-icon and theme-color.

06 · FAQ

Favicon: frequently asked questions

Which files are in the zip?

Nine: favicon.ico (16, 32 and 48 px in one file), favicon-16x16.png, favicon-32x32.png, favicon-48x48.png, apple-touch-icon.png (180 px), android-chrome-192x192.png, android-chrome-512x512.png, site.webmanifest and snippet.html. Put them all at the root of your site and paste the contents of snippet.html into your <head>.

Why do I need so many sizes?

Browser tabs use 16 and 32 px, iOS home screens use the 180 px apple-touch-icon, and Android install prompts read the 192 and 512 px icons from the manifest. Shipping the set avoids one small icon being stretched in the larger contexts.

Is .ico still needed?

Yes. Browsers request /favicon.ico by default when a page has no icon link, and so do some other clients that never read your HTML, so keeping one at the site root covers them. The bundle includes it alongside the PNGs.

Where does site.webmanifest go?

At the root of your site, next to the icons. The generated snippet links it with <link rel="manifest" href="/site.webmanifest">. It lists the 192 and 512 px icons, the site name you entered and the theme color.

What should the source image be?

A square PNG, JPEG, WebP or SVG at 512×512 or larger, up to 10 MB. A smaller image is enlarged for the 192 and 512 px icons and looks soft, and the tool warns you. A non-square image is fitted inside the square with transparent space around it rather than stretched. Check the 16 px preview first: fine detail and thin strokes disappear at that size.

Why hasn't my favicon updated?

Browsers cache favicons more aggressively than other assets, and a normal reload often doesn't refetch them. The reliable fix is to change the URL, either with a new filename or a query string on the link tag such as /favicon.ico?v=2, so the browser treats it as a new resource.

Do I still need apple-touch-icon?

Yes, if you care how the site looks when someone adds it to an iOS home screen. iOS looks for a 180×180 PNG linked with rel="apple-touch-icon". The bundle includes it and the matching link tag.

07 · Reference

Specs and further reading

These are the primary sources this tool follows. Where a specification defines the behaviour, we link the specification, not a summary of it.

  • Link types: icon

    WHATWG. The normative definition of rel=icon, including sizes and type attributes.

  • Web Application Manifest

    W3C. How the icons array is consumed for installed and home-screen contexts.

  • <link>

    MDN Web Docs. Reference for the markup this tool emits.

08 · More

Tools that pair with Favicon

Last updated .