Favicon Generator
Make a complete favicon set from an image, text or an emoji — ICO, PNG, SVG, Apple touch icon and web manifest — with the HTML to paste.
Drop an image here or paste it, or
Your image never leaves your device
Processed in this browser · JPG, PNG, WebP, GIF, BMP, AVIF, HEIC, TIFF or SVG · one at a time
Makes the files a website needs for its icon in browser tabs, bookmarks, search results and phone home screens, from an image, from up to 3 characters of text or from an emoji: favicon.ico with 16, 32 and 48 px icons, a scalable icon.svg, the 180 px Apple touch icon, three Android icons and the web app manifest that lists them, and the HTML that links them. The previews show the icon in light and dark browser tabs, in a Google result and on iPhone and Android home screens. Everything is drawn in your browser; the image is not uploaded.
How to use it
Image takes JPG, PNG, WebP, GIF, BMP, AVIF, HEIC, TIFF or SVG. An image that is not square is padded with transparent edges (Pad, the default) or cut to its centre (Crop). An animated GIF gives its first frame, and an image under 48 px is enlarged for the 48 px icon, which the page warns will look blurry. An SVG stays a vector: icon.svg holds it, and each PNG is drawn from it at its own size.
Text takes 1 to 3 characters, a Devanagari conjunct or an accented letter counting as one, set in Noto Sans, Noto Serif, Noto Sans Mono, Caveat or Dancing Script, bold for the Noto fonts. A character the chosen font lacks is set in Noto Sans (or Noto Serif Devanagari, for Noto Serif), and the page names it; one no bundled font has is refused. The text is drawn as outlines, so the SVG needs no font on the visitor's device, and is scaled to fill the shape (square, rounded or circle) inside a margin. Below 6 px tall in the 16 px icon, as three wide letters are, the page warns that it is hard to read. Other colours in dark mode gives icon.svg a second pair of colours for browsers in dark mode.
Emoji lists every emoji of Unicode Emoji 18.0, found by name (“rocket”, “thumbs up”) or by pasting it, or browsed by group, with a skin tone for those that have one. The grid shows your device's own emoji and leaves out those it cannot draw, newer emoji on an older system; the icons are drawn from Google's Noto Emoji artwork, as the previews show.
Background fills the Apple touch icon and the maskable icon, which cannot be transparent: iOS shows transparency as black. Text's background colour fills them for text.
Which file does what
Browsers read the icon links in a page's head and, where a page names none, ask for /favicon.ico at the site's root. The ICO holds three sizes: 16 px for a tab, 32 px for a tab on a high-density screen, and 48 px where a larger icon is shown. When several links name an icon, a browser chooses by their type, sizes and media, taking the last of those equally suitable. So the ICO's link states sizes="32x32" and the SVG's states its type: a browser that draws SVG can tell the scalable icon apart and take it, and others keep the ICO.
iPhone and iPad read neither link: they use apple-touch-icon, 180 px, and round its corners themselves, so it is square and opaque. Android reads the web app manifest: the 192 and 512 px icons, and the maskable icon, which Android cuts to its own shape. Only a central circle of radius 40% of the icon is sure to show (the manifest's safe zone), so the content sits in the square inside that circle, on the background colour. It has its own manifest entry: an icon marked both maskable and plain would show with that wide margin where no mask is applied. The manifest also sets background_color to the background colour (the text's shape colour for text), but not the site's name and short_name: add them yourself, since Android needs a name to install the site as an app and to build its splash screen from the name, background colour and icon.
A photo is reduced in steps of halves with high-quality smoothing, so fine lines are averaged rather than skipped. Text, emoji and SVG files are drawn as vectors at each size, so the 16 px icon is drawn at 16 px rather than shrunk from 512.
The files
| File | Size | Read by |
|---|---|---|
favicon.ico | 16, 32 and 48 px | Every browser, and crawlers that ask for /favicon.ico |
icon.svg | Scalable | Browsers that draw SVG icons, at any size |
apple-touch-icon.png | 180 × 180 px | iPhone and iPad home screens |
icon-192.png | 192 × 192 px | Android home screens, through the manifest |
icon-512.png | 512 × 512 px | Android splash screens and app installs |
icon-mask.png | 512 × 512 px | Android icon shapes (maskable) |
manifest.webmanifest | – | Android and installed web apps |
Google, iOS and Android
Google Search shows one favicon per hostname, from a rel="icon" or apple-touch-icon link on the home page. It must be square, at least 8 × 8 px (Google recommends larger than 48 × 48), at a URL that does not change, in BMP, GIF, ICO, PNG, JPEG, PPM or TIFF: not SVG. Google may take days or weeks to pick up a new one. The maskable safe zone and the manifest's purpose are the W3C Web App Manifest's; iOS's use of apple-touch-icon rather than icon is as MDN documents it.
Sources
- Define a favicon to show in search results — Google Search Central
- Web Application Manifest: icon masks and safe zone — W3C
- rel=icon — MDN Web Docs
Reviewed
Frequently asked questions
app folder, and the Apple icon there as apple-icon.png: Next.js writes their links itself. Put icon-192.png, icon-512.png and icon-mask.png in public, where the manifest's paths point. The HTML here is then not needed.prefers-color-scheme rule, which browsers that draw SVG icons follow. The ICO and PNGs have one look, so choose colours that read on both light and dark tabs; the previews show both.See also
- Image Converter — to turn one image into an ICO, or into another format.
- Image Resizer — to resize an image to an exact size first.