Favicon Generator
Drop a logo, or type letters or an emoji, and get favicon.ico, the PNG icons, a maskable icon, the web manifest and the head tags, in one ZIP.
Last checked
Files never leave your device. Everything runs in this tab.
Options
How it looks
Drop a picture to see it in a dark and a light browser tab, at the real size.
- favicon.ico with 16, 32 and 48px
- PNG icons for the tab, iPhone and Android
- A maskable icon kept inside the safe zone
- site.webmanifest and the head tags, or a Next.js App Router layout
- Everything in one ZIP, built in your browser
How to use it
- Drop your logo as PNG, JPEG, WebP or SVG, or switch to Text or Emoji and type one.
- Adjust the padding and the background, and set the site name and theme colour.
- Choose HTML or Next.js App Router, download the ZIP, and put the files where the tool says.
What it checks and why
A site needs a few icons, not a dozen. A favicon.ico covers older browsers and Windows. An Apple touch icon of 180 px is used when someone adds the site to an iPhone home screen. Android uses 192 px and 512 px icons from the manifest.
The maskable icon is for Android adaptive icons, which crop the picture to a circle, a rounded square or another shape. Only the central circle, 80% of the icon wide, is always visible. The tool sizes the logo so even the corners of its bounding box stay inside that circle, which takes about 22% padding on each side for a square logo. The Apple and maskable icons always get a background colour, because neither supports transparency well.
If your source is an SVG, the tool also includes it as icon.svg. Browsers that support SVG icons use it at any size, and it can follow dark mode when the SVG says so. The head tags follow the Evil Martians recipe: the ICO is marked sizes="32x32" so Chrome picks the SVG instead.
Text and emoji icons are drawn with the fonts and emoji set of your device, then saved as PNG and ICO, so every visitor sees the same picture. No icon.svg is made from them, because another device would draw other letter shapes or emoji.
In a Next.js App Router project you do not write head tags. Next.js reads favicon.ico, icon and apple-icon files from the app folder and adds the tags itself, and it serves app/manifest.webmanifest as the manifest. Choose Next.js App Router and the ZIP uses that layout.
Specs and sources
Limits
- The icons are made from one picture. If you want a simpler mark at 16 px than at 512 px, make two source pictures and run the tool twice.
- Text icons use system fonts (sans, serif, mono, rounded), not web fonts, and emoji look the way your device draws them.
- A source under 512 px makes the large icons soft. An SVG avoids that.
- The ICO holds PNG data, which every current browser and Windows reads. Very old software may not.
Questions
- Which favicon sizes do I need?
- A favicon.ico, an SVG if you have one, a 180 px Apple touch icon, and 192 px and 512 px icons for the manifest. Without an SVG, a 32 px PNG helps sharp screens. This tool makes all of them.
- What is a maskable icon?
- An icon made for Android adaptive icons. The system crops it to a shape, so the logo sits inside the safe zone, a centred circle 80 percent of the icon wide, on an opaque background.
- Can I make a favicon from text or an emoji?
- Yes. Switch to Text and type one to three letters, pick a font, colours and a square, rounded or round shape, or switch to Emoji and type or pick one. The full set is made from it.
- How do I add a favicon in Next.js?
- With the App Router, put favicon.ico in app/, plus icon.svg or icon.png and apple-icon.png. Next.js writes the link tags itself. Choose Next.js App Router in the tool to get the files in that layout.
- Where do I put the files?
- In the root of your site, next to index.html, so that /favicon.ico and the other paths in the head tags work. Then paste the head tags into the head of every page.
- Why does my favicon not update?
- Browsers cache favicons for a long time. Open the icon URL directly and refresh it, or clear the cache for the site. Renaming the file also forces a new download.