Favicon Generator

Make a complete set of website favicons from an image — or from a simple letter mark — in the four sizes browsers and phones actually use, plus the HTML snippet to install them. Everything is generated on your device.

Modern browsers happily use PNG favicons like the ones generated here. A traditional multi-resolution .ico file is a different container — see the honest note in the guide below if a service specifically demands one.

What a Favicon Is, and Why It Earns Its Tiny Space

The favicon is the small icon that represents your website in browser tabs, bookmarks, history lists, phone home screens and search results. It is usually the smallest graphic a business owns, and one of the hardest-working. In a browser with twenty tabs open, titles are truncated to nothing and the favicon is how people find your page again — a familiar mark they can spot in a fraction of a second. A site without one gets the browser's generic placeholder, which reads, fairly or not, as unfinished. For something that takes minutes to make, the favicon does an unusual amount of identity work, which is why every serious website has one and why generators like this one exist: the sizes and file details are fiddly, and getting them right by hand is nobody's idea of fun.

The Sizes, Explained

Four sizes cover standard practice. The 16 × 16 icon is the original: it appears in browser tabs at small scale, and it is the sternest design test there is — at sixteen pixels, only a bold, simple shape survives. The 32 × 32 icon serves sharper displays and larger tab and bookmark presentations, giving the same mark room to look clean rather than merely recognisable. The 48 × 48 size is a widely used general-purpose icon, requested by many site systems and used in various Windows and browser contexts. And 180 × 180 is the Apple touch icon: the size iPhones and iPads want when a user saves your site to the home screen, where it is displayed large, rounded and prominent — the one place a favicon gets to be big, and the one most often forgotten. This generator produces all four from a single source, each rendered fresh at its own size, so every version is as crisp as its pixels allow.

How This Generator Works

Everything happens in your browser. In image mode, your picture is drawn onto a square canvas — centre-cropped to fill the square, so a wide logo's sides are trimmed rather than squashed — and then rendered at each of the four sizes. In letter mode, the generator draws a rounded square in your background colour and centres your one or two characters on it in bold, in your text colour: the simplest possible brand mark, and often the most effective at tiny sizes. Each size appears as a preview with its own download button, named for its role — favicon-16.png, favicon-32.png, favicon-48.png and favicon-180.png for the Apple touch icon — followed by a ready-made HTML snippet containing the standard link tags to paste into your page's head section.

Worked Example

A home baker launches a one-page site for her cake business. Her logo is a wide wordmark — lovely on the page, useless at sixteen pixels, where it would shrink into an unreadable smudge. So she uses letter mode instead: the letter "S", for Saira's Cakes, in white on the deep pink of her branding, matching her site's colours exactly. She downloads the four PNGs, uploads them, pastes the snippet into her template's head, and refreshes: her tab now carries a pink S that regulars can spot instantly among their open tabs, and a customer who saves the site to an iPhone home screen gets the same mark at full, handsome size. Total time: under five minutes.

An Honest Note About .ico Files

Traditionally, favicons were a special file, favicon.ico, which is not one image but a container holding several sizes inside a single file. Modern browsers — Chrome, Firefox, Edge, Safari — all accept PNG favicons declared with link tags, which is what this generator produces, and that covers standard practice for the overwhelming majority of websites today. A true multi-resolution .ico file, however, is a different format that this tool does not create; producing one needs a dedicated converter that packs PNGs into the ICO container. If a particular old system or a client's checklist specifically demands an .ico file, generate your PNGs here — the 48, 32 and 16 sizes are exactly the ingredients — and run them through a dedicated ICO converter. For a normal modern website, the snippet provided here is sufficient and correct.

Tips for a Favicon That Actually Works

Design for sixteen pixels, because that is where your icon will live most of its life: one bold shape or one or two letters, high contrast, no fine lines, no small text. Test your result against both a light and a dark browser theme — a dark icon can vanish on dark tabs and a pale one on light tabs, and a background colour of your own, as in letter mode, is the reliable fix for both. And after installing, hard-refresh your browser: favicons are cached stubbornly, and an old icon lingering in your tab usually means the cache, not your upload, is at fault.

Frequently Asked Questions

Is my image uploaded to a server?

No. The icons are drawn on canvases in your browser. Your image never leaves your device, in either mode.

Where do I put the files and the HTML snippet?

Upload the four PNG files to your website — the root folder is simplest — and paste the snippet into the <head> section of your pages, or into your theme's header file if you use a site builder or CMS.

Do I need a favicon.ico file as well?

For modern browsers, no: the PNG icons and link tags generated here are standard and sufficient. Only add an .ico if a specific old system or requirement demands one — that container needs a dedicated converter.

Why does my old favicon still show after I installed the new one?

Browsers cache favicons very aggressively. Hard-refresh the page (Ctrl+F5, or Cmd+Shift+R on a Mac), or open the site in a private window, to see the new icon immediately. Other visitors will pick it up as their caches expire.