PUBLIC.INTERNET

Text to Favicon Generator

Type one or two characters, pick colors, a shape and a font, and this tool draws a full favicon set from them: favicon.ico, PNGs at 16, 32, 180, 192 and 512 px, a site.webmanifest and the HTML for your page head. Every file follows the controls as you change them. The text is centered on the visible glyph rather than on the font's em box, so a capital F or a lowercase g sits in the middle even at 16 px. Your text never leaves the browser.

Up to 2 characters. An emoji counts as one.

Fonts come from Google Fonts, which receives your IP address.

In px of the 180 px icon; every size is scaled from it.

Preview

Files

  • favicon-16x16.png

  • favicon-32x32.png

  • apple-touch-icon.png

  • android-chrome-192x192.png

  • android-chrome-512x512.png

  • favicon.ico

    16, 32 and 48 px

    site.webmanifest

HTML for your head


      

How to make a text favicon

  1. Type up to two characters in Text. An emoji or a flag counts as one character.
  2. Set Font color and Background color with the picker or a hex code such as #209CEE or #fff, then choose a Background shape: Rounded, Circle or Square.
  3. Pick a Font and a Style. The list starts with your device's system fonts. Click Use Google Fonts to add 12 Google Fonts; each one is downloaded only when you pick it.
  4. Move Font size to set the text size on the 180 px icon. With Shrink to fit on, text wider or taller than 80% of the icon is scaled down until it fits.
  5. Download single files from the Files list, or click Download all as ZIP to get every file plus an INSTALLATION.html with the snippet.
  6. Upload the files to the root folder of your site and paste the snippet from Copy HTML into the head of every page.

Centering on the glyph, and which files a site needs

Canvas text drawn with textBaseline set to middle is centered on the font's em box, not on the letter you see, so a capital sits high and a letter with a descender sits low. This tool measures the ink box with the canvas actualBoundingBox metrics and centers that instead. The layout is computed once on a 180 px icon and scaled to every size, so the 16 px tab icon shows the same picture as the 512 px one, only smaller.

Browsers fall back to /favicon.ico when a page has no icon link, and many other tools fetch it directly, so the set includes one holding 16, 32 and 48 px images stored as PNG inside the ICO. The 16 and 32 px PNGs are linked with rel="icon" and their sizes so a browser can take the one that matches its tab, apple-touch-icon.png (180 px) is the icon iOS uses for home screen shortcuts, and the 192 and 512 px icons belong in the web app manifest rather than in an icon link.

System fonts are drawn with the fonts your own device has, so the same settings can look different on another computer, but a downloaded PNG never changes. Google Fonts are added only when you click Use Google Fonts, and a font is fetched when you pick it: fonts come from Google Fonts, which receives your IP address. Leckerli One, Bebas Neue and Pacifico have a single weight, so Style offers only Regular 400 for them.