Favicon Generator

A favicon is the small mark beside a page title and the icon saved with a bookmark. This tool builds it locally at several common sizes and gives you the markup to reference the files.

Favicon GeneratorRuns in your browser

Drop an image here to use it, or type a letter below

Generated locally — never uploaded

Favicon preview

How to Use

  1. Type a letter or emoji, or drop a JPG, PNG or WebP onto the panel to use an image instead.
  2. Pick background and foreground colours for the letter version, and tick the sizes you need: 16, 32, 48, 64 or 128 px.
  3. Optional: tick Transparent background to keep alpha in image mode, and choose the preview size.
  4. Click Render favicon, then Download favicon as a single PNG, a multi-size ICO or a ZIP of PNGs. Copy HTML gives you one link tag per selected size.

Practical Examples

  • A white 'C' on a blue tile at 32 × 32 for browser tabs, with a 128 × 128 version for shortcuts.
  • A transparent logo exported as an ICO containing 16, 32, 48 and 64 px PNG entries.
  • A ZIP of favicon-32.png and favicon-64.png to drop straight into a site's static folder.

Understanding the Result

Favicons appear in tabs, bookmarks, history and sometimes mobile home screens. A simple, high-contrast mark reads better than detailed artwork because browsers scale the icon down.

In letter mode the first character is drawn large and centred on the background. In image mode the picture is scaled to about 80% of the tile and centred. With Transparent background enabled, the tile is not filled, so alpha in the source survives.

ICO here is the modern PNG-in-ICO form: selected PNGs are packed with an ICO directory. ZIP contains the individual PNGs. The HTML output assumes you save each file as favicon-<size>.png in the site root; edit the href values if you store them elsewhere.

Limitations and Useful Notes

  • Letter mode uses only the first character and draws it uppercase; a multi-codepoint emoji may not render as a single symbol.
  • In image mode the foreground colour has no effect — it applies only to the letter version.
  • The ICO contains PNG entries and works in current browsers; very old software may expect BMP-based ICO entries.
  • Inputs must be JPG, PNG or WebP under 25 MB. Non-square artwork is fitted with a margin rather than cropped.
  • The HTML snippet is a starting point; it does not upload files or change your site. Keep the source artwork to regenerate other sizes later.
Privacy: The icon is drawn and packaged in your browser; no image, text or colour choice is uploaded.

Common Questions

Do you generate .ico files?

Yes. Tick the sizes you want and choose Multi-size ICO. The file contains those PNGs in a standard ICO directory, which current browsers accept.

Which size should I choose?

32 × 32 is common for tabs; 64 or 128 helps when the icon is shown larger. Selecting several sizes and exporting ICO or ZIP covers more contexts.

Does the source image need to be square?

No. Non-square artwork is scaled proportionally and centred; with the background fill on, the remaining space uses your chosen colour.