Favicon Generator

Add image files — or drag them here
JPG PNG WEBP HEIC

About this favicon generator

A favicon is not one image. It is the small icon in a browser tab, the larger one a phone uses when a site is added to the home screen, and the larger one still that a PWA manifest and app switchers expect. Each context wants a different size, and getting one wrong shows: a 16-pixel icon stretched to fill a home screen tile looks broken in a way visitors notice.

This generator takes one image and produces the full set. Your source is centre-cropped to a square, scaled to each required size with the pica resampler rather than the browser’s default filter — which matters enormously at 16 pixels, where naive scaling turns a logo into a smudge — and packaged as a ZIP together with a genuine multi-resolution .ico file.

The icons are generated in your browser. Unreleased logos and brand assets are not uploaded to an icon service.

How to generate a favicon

  1. Add your logo. Use the largest, squarest version you have — at least 512 pixels. A square source avoids the centre crop cutting anything important.
  2. Generate. Six files are produced, including a proper multi-size ICO.
  3. Download the ZIP. Unpack it into the root of your website.
  4. Add the link tags. Copy the markup below into the <head> of your pages.

What is in the ZIP

FileSizeUsed by
favicon.ico16, 32, 48 combinedBrowser tabs, bookmarks, legacy support
favicon-16x16.png16 × 16Tab icon on standard-density displays
favicon-32x32.png32 × 32Tab icon on high-density displays
favicon-48x48.png48 × 48Windows site shortcuts
apple-touch-icon.png180 × 180iOS home screen
icon-512.png512 × 512Android home screen, PWA manifest, app switchers

The .ico is a real multi-resolution container holding the 16, 32 and 48 pixel versions, not a renamed PNG. Windows and older browsers pick whichever size suits the context they are drawing into.

Markup to add

Unpack the ZIP into your site root and add these to every page’s <head>:

PurposeTag
Classic favicon<link rel='icon' href='/favicon.ico' sizes='any'>
Standard density<link rel='icon' type='image/png' sizes='16x16' href='/favicon-16x16.png'>
High density<link rel='icon' type='image/png' sizes='32x32' href='/favicon-32x32.png'>
iOS home screen<link rel='apple-touch-icon' sizes='180x180' href='/apple-touch-icon.png'>

The 512-pixel icon is referenced from your web app manifest rather than from a link tag.

Designing for 16 pixels

A favicon is often displayed at 16 pixels square, which is roughly the size of a single character of body text. A full wordmark is illegible at that scale; a detailed illustration becomes noise.

What works is a single letter, a simple monogram, or one bold shape with strong contrast against both light and dark tab backgrounds. Test by shrinking your logo to 16 pixels and looking at it from arm’s length — if you cannot tell what it is, neither can anyone else.

Frequently asked questions

What size should my source image be?

At least 512 × 512, and square if possible. The source is centre-cropped to a square, so a wide logo will lose its ends — pad it to a square first with the Square Image tool if that is a problem.

Is the .ico file a real ICO?

Yes. It is a genuine multi-resolution ICO container holding 16, 32 and 48 pixel images, not a PNG with the extension changed. Windows and older browsers read it correctly.

Where do the files go?

In the root directory of your website, so they are reachable at paths like /favicon.ico. Then add the link tags shown above to your pages.

Why does my new favicon not appear?

Browsers cache favicons aggressively. Do a hard reload, or open the icon file directly by URL to confirm it is being served, then reload the page.

Does it support transparency?

Yes for the PNG files, which keep their alpha channel. Keep in mind that a transparent icon has to work against both light and dark tab backgrounds.

Is my logo uploaded?

No. The cropping, scaling and ICO assembly all happen inside your browser.

Related tools