Free image tools

Convert PNG to ICO for favicons and Windows icons

Make a single .ico file from a PNG or any other image, containing whichever sizes you tick from 16 to 256 pixels. Use it as a website favicon or a Windows icon.

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 PNG to ICO tool

  1. Choose or drop a PNG, or any other image.
  2. Tick the sizes to include: 16, 32, 48, 64, 128 and 256 px.
  3. Choose crop to a centred square, or pad to keep the whole image.
  4. Download the .ico file.

To convert PNG to ICO, open the PNG to ICO tool on Archive.London, add your PNG or other image, tick the sizes you want inside the file (16, 32, 48, 64, 128 and 256 px), choose whether to crop to a centred square or pad, and download the .ico. Nothing is uploaded; it is built in your browser.

Which sizes to tick for a favicon or a Windows icon

An ICO file is a container: one file holding the same picture at several sizes, so the system can pick the best fit instead of scaling a single image badly.

  • Website favicon: 16, 32 and 48 px cover browser tabs, bookmarks and shortcuts. Save the file as favicon.ico in the root of your site, which is where browsers look by default.
  • Windows program or folder icon: tick 16, 32, 48 and 256 px. Windows uses the small sizes in lists and the taskbar and the 256 px version for large icon views.

The ICO format tops out at 256 px, so there is nothing to gain from a larger source beyond a clean downscale. Start from an image at least 256 px square. Unticking sizes you do not need keeps the file small.

Square icons from pictures that are not square

Icons are square, and most images are not, so the tool offers two ways to resolve the difference. Crop takes the largest centred square and trims the rest: best when the subject sits in the middle and can fill the frame. Pad shrinks the whole image to fit inside the square and adds space on the short sides: best for wide logos and wordmarks that must not be cut.

Whichever you choose, look hard at the 16 px version. At that size there are only 256 pixels to work with. Fine lettering turns to mush and a detailed photograph becomes a coloured smudge. A single bold shape or letter with strong contrast reads best.

The file is assembled locally in your browser and saved straight to your device.

From 6 x 7 to sixteen pixels

Icon design is the opposite problem to the one a film archive usually deals with. A 6 x 7 transparency, the principal analogue format in the Robert Harper Photograph Library, holds far more detail than most uses require, and the work lies in preserving it. An icon has to survive with almost none.

The discipline is similar, though: decide what the picture is of, and remove everything else. Product and still-life photography, a strand that runs through Robert Harper's career from jewellery and watches to fragrance bottles, depends on the same clarity of subject. If you are choosing an image to reduce to an icon, that is the kind to look for. And only make icons from images you own or have permission to use.

Frequently asked questions

What is an ICO file?

ICO is the icon format used by Windows and, by long convention, for website favicons. Unlike a PNG or JPG it can contain several images at once, each a different size, in a single file. The operating system or browser chooses whichever size suits the place the icon is being shown, from a 16 px tab to a 256 px desktop tile.

What size should a favicon be?

Include 16 and 32 px as a minimum, since those are what browser tabs and bookmark bars use on standard and high-density screens, and add 48 px for Windows shortcuts. One .ico holding all three is the traditional favicon. Modern sites often add separate PNG icons for phones as well; the favicon generator on this site produces those.

How do I add the favicon to my website?

Name the file favicon.ico and upload it to the top-level folder of your site. Browsers request that address automatically. To be explicit, or to use another location, add a link element with rel set to icon and href pointing at the file inside the head of your pages. Browsers cache favicons stubbornly, so allow time for changes to appear.

Can I use a JPG or another format instead of PNG?

Yes. Despite the name, the tool accepts any image your browser can read, including JPG and WebP. PNG is recommended because logos and icon artwork are normally drawn with sharp edges, which PNG stores without the smearing that JPG compression introduces. Whatever the source, pick the largest, cleanest version you have.

Why does my icon look blurry at small sizes?

Shrinking a detailed image to 16 or 32 pixels averages many source pixels into each icon pixel, which blurs thin lines and small text. This is a limit of the size, not a fault in conversion. Simplify the artwork: use one bold shape, thicker strokes and higher contrast, and crop tightly so the subject fills the square.

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