Skip to main content

Convert PNG to ICO for a favicon

Make a favicon or Windows icon from a PNG, JPG or SVG. Pick the sizes you need, from 16 to 256 pixels, and get them all in one .ico file with the transparent background kept.

  • 16 to 256 px in one file
  • Transparency kept
  • Works from PNG, JPG or SVG
  • Nothing is uploaded
Convert to
Icon sizes in the file
16, 32 and 48 px are used in browser tabs and Windows; 256 px is used for large icons. Start from a square image of 256 px or more.
Original photo
New photo

How to make an ICO file

Add your image

A square PNG or SVG with a transparent background gives the best icon. Other shapes are centered with clear space around them.

Choose the sizes

16, 32, 48 and 256 pixels are selected. Add 24, 64 or 128 if you need them.

Download the .ico

Rename it favicon.ico for a website, or use it for a desktop shortcut.

Which icon sizes to include

An ICO file holds several copies of the same icon at different sizes, and the program that shows it picks the best one. These are the sizes worth including.

SizeWhere it is used
16 × 16Browser tabs, bookmarks and the address bar
32 × 32Tabs on high-resolution screens, the Windows taskbar
48 × 48Windows desktop and folders at normal settings
256 × 256Large icons in Windows and on high-resolution screens

Each size is saved as a PNG inside the ICO, which every current browser and Windows since Vista reads. Our 500 × 500 px logo became an 86 KB ICO with these four sizes. The 256 px copy takes up most of that space, so leave it out if the icon is only for a website and you want a smaller file.

Adding the favicon to your website

The simple way

Name the file favicon.ico and put it in the main folder of your website, so it opens at yoursite.com/favicon.ico. Browsers look for it there.

With a link tag

You can also point to it from the head of your pages with a line like this: <link rel=”icon” href=”/favicon.ico” sizes=”any”>. On WordPress, set the Site Icon in the Customizer instead, and WordPress adds the tags for you.

Design tips for small sizes

At 16 pixels there is room for only a letter or a simple shape. Use your logo mark rather than the full logo with text, give it strong contrast, and leave a little space around the edges.

Starting from a non-square image

If your image is wider than it is tall, the tool fits it inside the square and keeps the sides clear. For the best result, crop it to a square first with our crop tool.

Questions about PNG to ICO

Include at least 16 and 32 pixels for browser tabs. Add 48 and 256 pixels if the icon will also be used on Windows.

Yes. Each size is stored as a PNG with its transparency, so the icon sits cleanly on any tab color.

Yes. Any image works. An SVG gives the sharpest small sizes, and a JPG gives a solid background because JPG has no transparency.

It is centered in a square icon with clear space above and below, or at the sides. Crop it to a square first if you want it to fill the icon.

It holds several images in one file. Leave out 256 px if you only need a website favicon.

No. The icon is made in your browser, on your own device.