Image to ICO

Choose an image and get a favicon.ico with several sizes inside it, plus each size as its own PNG. The image is converted on this device and never uploaded.

How it works

Icons are square, so a picture that is not square is first padded with transparent space or cropped to its centre, as you choose. Each size is then drawn on its own canvas. A large picture is halved in steps on the way down, because shrinking a photo straight to 16 pixels in one step leaves it speckled.

Each size is saved as a PNG. The ICO file is then written byte by byte: a 6-byte header that says it is an icon and how many images it holds, a 16-byte entry per size giving its width, height, colour depth, length and position, and then the PNG files one after another.

Storing PNG images inside an ICO has been part of the format since Windows Vista. Every current browser and Windows version reads it. Only Windows XP and older needed the older uncompressed bitmap entries, which this tool does not write.

How to use it

  1. 1 Choose an image, drop it on the page, or paste one. A square PNG of at least 256 pixels works best.
  2. 2 If it is not square, choose Pad with transparency or Crop to the centre.
  3. 3 Tick the sizes you want. 16, 32 and 48 are ticked already.
  4. 4 Press Make the ICO and download it, or download any single size as a PNG.

Good to know

  • Put favicon.ico in the root folder of your site. Browsers ask for /favicon.ico by default, even when the page names no icon.
  • A detailed logo turns to mush at 16 pixels. A single letter or a simple shape reads much better in a browser tab.
  • Leave 64, 128 and 256 out of a favicon unless you need them: they make the file several times larger and browsers do not use them in tabs.
  • For an app icon or Windows shortcut, add 256, which Windows uses for large icon views.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

From a logo PNG to a favicon in a minute

Say your logo is logo.png, 600 by 400 pixels, with a transparent background. Choose it here. Because it is not square, the page asks how to make it square. Pad with transparency keeps the whole logo and adds 100 transparent pixels above and below it inside the icon. Crop to the centre cuts it to the middle 400 by 400, which loses the ends of a wide wordmark. For a wordmark, choose pad.

Leave the standard sizes ticked: 16, 32 and 48. Press Make the ICO. The page shows logo.ico is ready: 3 sizes in one file (16, 32 and 48 px), and its size, usually a few kilobytes. Below that are the three sizes as separate PNGs on a checkerboard, so you can see how the logo holds up at 16 pixels before you put it on your site.

If the 16 pixel version is unreadable, that is the logo, not the conversion. At 16 by 16 there are only 256 pixels to work with. Most sites with a detailed logo use a simpler mark for the favicon: the first letter, or the symbol without the name. Make a square image of just that and convert it again.

Upload favicon.ico to the root of your site, so it is served at /favicon.ico. Browsers request that address by themselves. For modern browsers you can also link the 32 pixel PNG with a link tag, and keep the ICO for older browsers and for Windows, which reads it for shortcuts. The individual PNGs are there for that kind of use.

The tool has limits. It writes PNG entries only, which Windows XP does not show. It does not make an Apple touch icon or a web app manifest, though the 128 or 256 PNG can be resized for those. It cannot add detail that is not in the source, so a small image enlarged to 256 pixels looks soft, and the page warns when that happens. The sizes run from 16 to 256 pixels, the largest the ICO format holds.

Frequently asked questions

Is my image uploaded?

No. The image is decoded, resized and packed into the ICO by JavaScript in this tab. Nothing is sent to a server.

Which sizes should a favicon.ico have?

16 by 16 for browser tabs, 32 by 32 for high-density screens and the taskbar, and 48 by 48 for the Windows desktop. Those three are ticked by default.

Do PNG images inside an ICO work everywhere?

In every current browser and in Windows since Vista, yes. Windows XP and some very old software expect uncompressed bitmaps inside the ICO and do not show PNG entries.

What happens to a picture that is not square?

You choose. Pad with transparency keeps the whole picture and fills the gap above and below, or at the sides, with transparent pixels. Crop to the centre fills the square and cuts off the edges of the longer side.

Can I use a JPEG?

Yes, but a JPEG has no transparency, so the icon has a solid background, often white. A PNG with a transparent background usually makes a cleaner icon.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.