Free image tools

Favicon generator: make a favicon.ico from any image

Turn any image into a complete favicon set: a favicon.ico holding 16, 32 and 48 pixel icons, plus 180 and 512 pixel PNGs, zipped with the HTML to add to your site.

This tool needs JavaScript. It runs entirely in your browser; nothing is uploaded.

Private by design. Your files are processed by your own browser on your own device. They are not uploaded, stored or seen by Archive.London. Tool terms

How to use the Favicon Generator tool

  1. Choose or drop your source image, ideally a simple square one.
  2. Generate the favicon set.
  3. Download the ZIP containing favicon.ico, the 180 and 512 pixel PNGs and the HTML snippet.
  4. Upload the icon files to your website and paste the snippet into the head of your pages.

To make a favicon, open the Archive.London Favicon Generator and choose or drop an image, ideally square. The tool creates a favicon.ico containing 16, 32 and 48 pixel icons, plus 180 and 512 pixel PNGs. Download the ZIP, upload the files to your site and paste the included HTML snippet into your page head.

Choosing a source image that survives at 16 pixels

A favicon is tiny. In a browser tab it is drawn at 16 by 16 pixels, or 32 on high-density screens, and at that size almost all detail vanishes. What reads well is a single bold shape with strong contrast: an initial, a monogram or a simple mark.

Some practical rules:

  • Start with a square image. A wide logo with a strapline will become an unreadable smear.
  • Use a source of at least 512 by 512 pixels, since the largest icon in the set is that size and enlarging a small image makes it soft.
  • Leave a little space around the mark so it does not touch the edges.
  • Check it against both light and dark backgrounds, because browser tabs can be either.

If your logo is not square, crop it to its most recognisable element first.

What is in the ZIP, and what each file is for

The download contains three icon files and a snippet of HTML.

  • favicon.ico holds 16, 32 and 48 pixel versions in one file. Browsers pick the size they need for tabs, bookmarks and shortcuts. Browsers also look for a file of this name at the root of a site by default, so that is the best place to put it.
  • The 180 pixel PNG is the size iPhones and iPads use when someone adds your site to their home screen.
  • The 512 pixel PNG is the large icon used by Android and installable web apps.

The HTML snippet contains the link tags that point browsers to these files; paste it inside the head element of your pages. The icons are generated on your device, and the source image is not uploaded.

A photographer's mark, from print stamp to browser tab

Photographers have long put a small identifying mark on their work: a studio stamp on the back of a print, a name on a slide mount, a blind-embossed corner. Each had to be legible at a very small size, which is the same design problem a favicon poses.

For a photography website, that argues against using a photograph as the icon. A detailed picture reduced to 16 pixels becomes a muddy square, whereas initials or a plain symbol stay recognisable beside dozens of other tabs.

Archive.London is the home of the Robert Harper Photograph Library. You can read about the photographer or browse the catalogue in the photography archive.

Frequently asked questions

What size should a favicon be?

There is no single size. Browser tabs use 16 or 32 pixels, some desktop shortcuts use 48, Apple devices use 180 for home screen icons and Android uses 512 for installable web apps. This generator produces all five, with the three smallest combined inside one favicon.ico file.

How do I add the favicon to my website?

Unzip the download and upload the icon files to your site, with favicon.ico placed in the root folder. Then copy the HTML snippet from the ZIP into the head section of your pages or template. If you store the files in another folder, adjust the paths in the snippet to match.

Why is my new favicon not showing up?

Browsers cache favicons aggressively, so an old icon can persist after the file has changed. Try a hard refresh, open the site in a private window, or clear the browser cache. Also check that the file paths in your HTML are correct and that favicon.ico has actually been uploaded.

Can I make a favicon from a JPG or PNG photo?

Yes, any image your browser can open will work as a source. Bear in mind that a detailed photograph shrinks poorly to 16 pixels. A square crop of one simple, high-contrast element gives a far better result than a whole picture. A PNG with a transparent background is a good starting point.

Do I still need a favicon.ico file?

It is still worth having. Modern browsers accept PNG icons, but many browsers and other programs request /favicon.ico automatically, and older software understands only that format. Supplying the ICO file alongside the PNG icons covers both cases and avoids missing-file errors in your server logs.

About the archive behind this page

Archive.London is the home of the Robert Harper Photograph Library: 95,487 photographs made across a career that began in the Condé Nast studios.

Read the archive in factsWrite to the archive