# 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.

- Page: https://codethatmoves.com/tools/graphics/favicon-generator/
- Site: Code That Moves
- Category: Icons and graphics
- Free, runs in the browser, nothing is uploaded (files you drop in stay on your device)
- Last checked: 2026-11-03

## What it does

- Three sources: your logo (PNG, JPEG, WebP or SVG), one to three letters on a square, rounded or round shape, or an emoji
- favicon.ico with 16, 32 and 48 px, plus PNG icons for the tab, iPhone and Android
- A maskable icon whose logo always fits the safe circle, with a circle and squircle preview
- The web manifest (with id and start_url) and the head tags, ready to copy
- A Next.js App Router layout: app/favicon.ico, app/icon.svg, app/apple-icon.png and app/manifest.webmanifest
- Padding and background options, a tab preview on a dark and a light theme
- Everything is made in the browser and downloaded as one ZIP

## How to use it

1. Drop your logo as PNG, JPEG, WebP or SVG, or switch to Text or Emoji and type one.
2. Adjust the padding and the background, and set the site name and theme colour.
3. 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.

## Reference data

| File | Size | Purpose |
| --- | --- | --- |
| favicon.ico | 16, 32 and 48 | Older browsers and Windows |
| favicon-16x16.png | 16x16 | Browser tab, small |
| favicon-32x32.png | 32x32 | Browser tab, sharp screens |
| apple-touch-icon.png | 180x180 | iPhone and iPad home screen |
| android-chrome-192x192.png | 192x192 | Android home screen |
| android-chrome-512x512.png | 512x512 | Android splash and install prompt |
| maskable-512x512.png | 512x512 | Android adaptive icon (cropped to a shape) |
| icon.svg | any | Browsers that support SVG icons (only when the source is an SVG) |
| site.webmanifest | n/a | Android install and theme colour |

## Specs and sources

- [How to favicon in 2021 (Evil Martians)](https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs)
- [web.dev: Adaptive icon support in PWAs with maskable icons](https://web.dev/articles/maskable-icon)
- [MDN: Web app manifest](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest)
- [MDN: link rel icon](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel#icon)
- [Next.js: favicon, icon and apple-icon](https://nextjs.org/docs/app/api-reference/file-conventions/metadata/app-icons)

## 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.
