Skip to contentSkip to the inputSkip to the result

Favicon maker

Make a set of site icons

Loading tool

Instructions

Favicon maker

How to use

  1. Choose an image and set how it fits a square, the background colour and the margin.

Supported input

  • PNG at 16, 32, 48, 180 (Apple touch), 192 and 512 px, a favicon.ico holding 16, 32 and 48 px, a site.webmanifest naming the 192 and 512 px icons, and a note with the HTML lines for every size.
  • The background can be transparent, white, black or any colour, and a margin (0–25%) keeps the picture inside the safe zone of round-cropped icons.
  • A source of 512 px or more is best.

Input example

logo.png (1024 px)

Result example

favicons.zip · seven icons and a manifest

Troubleshooting

  • Unsupported formats and oversized files are refused with a reason.
  • The original file is never changed.

Limitations

  • SVG icons are not produced.
  • The manifest takes its name from the file name, so edit it to suit the site.

How it works

  • Turns one image into the PNG sizes a site icon needs plus favicon.ico and a web app manifest, saved as a ZIP.

What is inside a favicon set, and where each file is used

When it helps

  • Replacing the generic globe in the browser tab of a new blog or portfolio site with your own mark
  • Giving an internal tool or side project a proper icon when someone adds it to a phone home screen
  • Producing every PNG size and a favicon.ico from one logo without doing each by hand

The files in the ZIP and who reads them

  • favicon.ico holds 16, 32 and 48 px pictures in one file; browser tabs, bookmarks and Windows shortcuts take the size they need.
  • icon-16.png, icon-32.png and icon-48.png are the same pictures as PNG, for link tags that declare their sizes.
  • apple-touch-icon.png (180 px) is used when an iPhone or iPad adds the site to the home screen. Apple’s documentation says that without a link tag, Safari looks for a file of this name in the site’s root folder.
  • icon-192.png, icon-512.png and site.webmanifest are what Android home screens and installable web apps read. README.txt lists every line to paste into the page head.

How favicon.ico is put together

An ICO file opens with a 6-byte header and a 16-byte directory entry per picture. With three pictures, the 16, 32 and 48 px PNG files follow after 54 bytes, stored exactly as they are, without re-encoding. PNG-compressed icons have been part of the format since Windows Vista, so current browsers and Windows read them.

Microsoft’s documentation gives the standard Windows icon sizes as 16, 32, 48 and 256 px. This ICO has no 256 px picture, so anywhere that wants a very large icon has to enlarge a small one and it may look soft. For tabs and bookmarks, 16 to 48 px is all that is needed.

Worked example: what the margin leaves

  1. 1The margin is per side, so the picture area shrinks by twice the value: area = icon size × (1 − 2 × margin ÷ 100).
  2. 2At 10% the picture is 409.6 px inside a 512 px icon, 153.6 px inside 192 px, and just 12.8 px inside 16 px.
  3. 3The W3C manifest standard defines the safe zone of a maskable icon, the part always shown whatever shape it is cut to, as a centred circle 80% of the icon wide. A round logo at 10% margin fills it exactly.
  4. 4A square logo needs its corners inside that circle too, which means a side of at most 56.6% and a margin of about 22%. The 25% end of the slider covers it.

Edit before uploading

  • The icon paths in site.webmanifest start at the site root, such as /icon-192.png. If the site lives in a subfolder like example.com/blog/, change them to match.
  • name is taken from the file name (up to 40 characters) and short_name from its first 12. They appear under the home screen icon, so replace them with the site’s name.
  • The manifest icons carry no purpose, which the standard reads as any. To let Android crop them to its shape, add "purpose": "maskable" for a version with a generous margin.
  • A filled background colour is also written as theme_color and background_color; a transparent background leaves both out.

Making it readable when tiny

A 16 px icon has 16 × 16 pixels, and a logo with lettering usually turns to mush. A version reduced to an initial or a symbol reads far better in a tab. Fill on a wide logo crops its sides and can cut the lettering; use Show all with a background colour instead.

An SVG logo is drawn at 1,024 px on its long side before the icons are made. No SVG icon is produced, so if you want an SVG favicon, add the original with its own link line of type image/svg+xml.

Checked

Frequently asked questions

Which favicon sizes do I need?

Browser tabs and Windows pick 16, 32 or 48 px from favicon.ico, the iPhone home screen uses apple-touch-icon (180 px), and Android and web apps use 192 and 512 px. The ZIP holds a favicon.ico with all three small sizes, a PNG of each size and a site.webmanifest naming the 192 and 512 px icons.

How do I add the icons to my HTML?

README.txt in the ZIP lists a link line for each size and one for the manifest. Upload the files to the site's top folder and paste the lines into the head, then change the name in site.webmanifest to the site's name.

What happens to a logo that is not square?

Fill crops the overflow around the centre; Show all fits the whole logo and fills the rest with transparent, white or black. An image under 512 px gets a note that the large icons may look soft.