Favicon Generator - Every Size Plus the HTML

Favicon generator

What this tool does

A favicon stopped being one 16 pixel square years ago. A site now needs a handful of sizes for tabs, Windows shortcuts, iPhone home screens and Android install prompts, plus the markup that points to them. This page makes all of it from one image, in your browser.

How to use it

  1. 1 Drop in a square image, ideally 512 px or larger.
  2. 2 Check each size in the preview and set a background if yours is transparent.
  3. 3 Download the zip, unpack it into your site root and paste the HTML.

Design for 16 pixels, not for the logo

At tab size a favicon is about the width of a full stop on this page. Wordmarks turn into grey smudges and thin lines disappear entirely. A single letter, a simple shape or the most distinctive fragment of the logo survives that scale; the whole logo almost never does.

Size Where it is used
16×16Browser tab, bookmarks bar
32×32Tab on high-density screens, taskbar
48×48Windows shortcuts and site tiles
180×180iPhone and iPad home screen
192×192Android home screen and app switcher
512×512Install prompt and splash screen

PNG is enough; ICO is a leftover

Every browser in use today reads PNG favicons, so a stack of PNG files and the right link tags covers the web. The .ico container exists because Internet Explorer looked for it at the site root; unless you must support something ancient, you can skip it.

Transparency behaves differently on a phone

In a browser tab a transparent icon sits nicely on whatever the theme provides. On an iPhone home screen the same file gets a solid black square behind it, because iOS does not composite transparency there. Set a background colour and the icon looks intentional on both.

Why the browser still shows the old one

Favicons are cached hard and for a long time, sometimes past a normal refresh. Open the icon file directly to confirm the new one is really there, then use a private window to check. Changing the file name, or adding a version to it, is the reliable way to force the update.

Favicons - frequently asked questions

For a browser tab, 32 px alone would do. The rest matter when someone saves your site to a phone home screen or Windows pins it, and those are exactly the moments the icon is largest and most visible. Since they cost a few kilobytes in total, there is little reason to trim the set.
New
Image Compressor Shrink a photo by quality, by size, or both, and see the byte count before and after. Everything happens in your browser - the file never leaves your device.
Popular Today
Image Compressor Shrink a photo by quality, by size, or both, and see the byte count before and after. Everything happens in your browser - the file never leaves your device.

Related Image Converters

Image Converter Free image converter: pick PNG, JPG, WebP, GIF or BMP and convert any picture in your browser - your photos are never uploaded to a server.
WebP to PNG Convert WebP to PNG for free: transparency is preserved and the image never leaves your device - the whole conversion runs in your browser.
PNG to JPG Convert PNG to JPG for free: pick the quality and a background colour for transparent areas, all in your browser with no upload.
WebP to JPG Convert WebP to JPG for free: choose the quality and the background colour for transparent areas - everything runs in your browser.
JPG to WebP Convert JPG to WebP for free: cut image weight for faster pages while choosing the quality yourself, all inside your own browser.

Other Tools You May Like

Word to PDF Convert Word to PDF for free: upload a DOC, DOCX, ODT or RTF file and download a properly formatted PDF in seconds - no registration or watermark.
PDF to Word Convert PDF to Word for free: upload a PDF and download an editable DOCX in seconds - no registration, no watermark and nothing to install.
Currency Converter Convert 165 currencies with official central bank rates. Both amount fields are editable, and each pair shows the publication date of its rate.
CSV to JSON Turn CSV into JSON in your browser. Handles quoted fields, embedded commas and line breaks, detects the delimiter, and never uploads your file.
Unit Converter Convert length, weight, temperature, volume, area, speed, data size and time. Exact definitions, no rounded factors, and every unit in the group at once.