🌐 Favicon .ico

Favicon Generator for favicon.ico

Turn a square logo into a single favicon.ico containing nine icon sizes, ready for browser tabs, bookmarks and Windows shortcuts. It's built for site owners and developers, and it runs in your browser.

  • ✓ 16 to 256 px in one file
  • ✓ Transparency preserved
  • ✓ Copy-ready HTML tags below
🌐

Drop your image here

or click to select — JPG, PNG, WEBP, GIF, BMP up to 50 MB

💡 Best result: Use a square PNG image with transparent background. At least 512×512 px recommended.
File
—
Size
—
Dimensions
—

What is a favicon generator?

A favicon is the small icon shown in browser tabs, bookmarks, history and search results next to your site's name. Browsers and operating systems display it at different sizes, so a good favicon.ico holds several versions of the same picture in one file.

This generator scales your image to nine square sizes and packs them into a standard ICO container. Non-square images are centred on a transparent square instead of being stretched. You get one favicon.ico to place in your site's root folder.

How to create a favicon in 4 steps

  1. Prepare a square logo

    Use a simple PNG at least 512 × 512 px, ideally with a transparent background.

  2. Upload it

    Drop the image on the box above. JPG, PNG, WebP, GIF and BMP are accepted.

  3. Generate the ICO

    Click Generate ICO and check the preview of every size.

  4. Download and add tags

    Save the file as favicon.ico in your site root and add the link tags shown below.

Supported formats

PNGinput

Best choice; transparency carries into the icon.

JPG / WebPinput

Fine for opaque logos on a solid background.

GIF / BMPinput

Static images; animated GIFs use the first frame.

ICOoutput

Nine sizes: 16, 24, 32, 48, 64, 72, 96, 128, 256 px.

Upload images up to 50 MB. A square source of 512 px or more gives the cleanest small sizes. This tool outputs .ico only; for PNG icons such as apple-touch-icon, resize your logo separately.

How does it work?

Your image is drawn onto nine canvases, one per size, with high-quality smoothing and letterboxing for non-square images. Sizes below 256 px are stored as 32-bit BMP bitmaps with full alpha; the 256 px entry is stored as PNG, which Windows has supported since Vista. The encoder then writes the ICO header and directory itself. Nothing is uploaded.

🧩

Nine sizes

Covers tabs, taskbars, desktop shortcuts and high-DPI screens.

🫥

Real transparency

32-bit entries keep soft, anti-aliased edges.

📐

No stretching

Wide or tall logos are centred on a square.

🔒

On your device

The ICO file is assembled in the browser.

Which favicon sizes do you actually need?

Modern sites usually need only a handful of files. The ICO from this tool covers the first row; the others are PNG or SVG files you create separately.

FileSizeUsed by
favicon.ico16, 32, 48 px and upBrowser tabs, bookmarks, Windows
icon.svgScalableModern browsers, sharp at any size
apple-touch-icon.png180 × 180 pxiPhone and iPad home screen
Manifest icons192 and 512 pxAndroid home screen, installed web apps

Google Search asks for a square favicon that is a multiple of 48 px, such as 48 × 48 or 96 × 96. Both sizes are included in this ICO.

The extra sizes in the ICO, such as 64, 128 and 256 px, are mainly used by Windows when a site is pinned or saved as a shortcut, and by high-density displays that render a 16 px tab icon with more pixels.

HTML favicon link tags

Upload favicon.ico to the root of your site, then add these lines inside the <head> of every page:

<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">

Only the first line is required for the ICO. Browsers also request /favicon.ico automatically if no tag is present. The sizes="32x32" hint helps Chrome prefer the SVG when you provide one. Remove the lines for files you do not have.

A minimal web manifest

The manifest is a small JSON file that lists your 192 and 512 px PNG icons with their sizes and type, plus a name and theme colour. Android uses it when someone adds your site to the home screen. If you do not need that, skip the manifest line.

Paths starting with a slash point to the site root, so the same tags work on every page.

Designing a favicon that stays readable

At 16 × 16 px you have 256 pixels to work with. Detailed logos turn into a blur, so simplify.

  • Use a single letter, symbol or the most recognisable part of your logo.
  • Choose strong contrast that works on both light and dark browser themes.
  • Trim empty space around the mark; use the image crop tool with the 1:1 preset.
  • Remove a white background first with the transparent background tool.

Favicon not updating?

Browsers cache favicons aggressively. Hard-refresh the page, open it in a private window, or add a version string such as /favicon.ico?v=2 to the link tag.

Test it in a real tab

After uploading, open your site in light and dark browser themes and pin the tab. Small marks that looked fine in the preview grid can disappear against a dark tab bar, so adjust contrast if needed.

Frequently asked questions

A favicon.ico should contain at least 16, 32 and 48 px versions. Add a 180 × 180 px apple-touch-icon for iOS and 192 and 512 px PNG icons in a web manifest for Android. This generator packs nine sizes, from 16 to 256 px, into a single ICO file.
Upload it to the root folder of your website so it is reachable at yourdomain.com/favicon.ico, then add a link tag in the head of your pages. Browsers check that root address automatically, so the root location also works for pages where you forgot the tag.
It is still the most compatible option. Every browser understands ICO, and some tools, feed readers and older systems only look for /favicon.ico. Pair it with an SVG icon for modern browsers and a PNG apple-touch-icon for Apple devices for full coverage.
Yes. Modern browsers accept PNG favicons through a link tag with type image/png. A multi-size ICO is still useful because one file serves many sizes and works in older software. Many sites provide both, plus an SVG for crisp scaling on high-resolution screens.
Google needs a square favicon that is a multiple of 48 px, linked from your home page and crawlable by Googlebot. After you add or change it, Google may take days or weeks to recrawl and display it. Check that robots.txt does not block the file.
Yes. Each size below 256 px is stored as a 32-bit bitmap with a full alpha channel, and the 256 px version is stored as PNG. Transparent areas of your source image stay clear, so the icon blends into light and dark browser tabs.
A square PNG of at least 512 × 512 px with a transparent background gives the best result. Simple shapes and bold colours stay readable at 16 px. Non-square images are centred on a transparent square, so crop tightly first if you want the icon to fill the space.
No. This tool creates the .ico file only. For iOS, export a 180 × 180 px PNG of your logo with the image resizer or crop tool, save it as apple-touch-icon.png in your site root and add the matching link tag shown above.
No. The image is resized on canvases and the ICO file is encoded by JavaScript in your browser. Nothing is sent to a server, so unreleased brand assets and client logos stay private on your device. Closing the tab clears everything from memory.
Browsers cache favicons for a long time. Clear the cache or open the site in a private window to check. For visitors, change the link tag to something like /favicon.ico?v=2 so browsers treat it as a new file and download the updated icon.