PNG → ICO

Convert PNG to ICO

Build a favicon .ico holding 16, 32, 48 and 256 pixel versions at once, the way browsers expect. Free, in your browser.

Drop files here or click to browse. PNG / JPG / JPEG / WEBP / BMP accepted, batches welcome

Drop a PNG above, get a favicon .ico back holding every size a browser asks for.

A favicon is not one image. The .ico container carries the same artwork at several sizes so each place that draws it can take the one that fits: 16 pixels in a browser tab, 32 in a bookmarks bar, 48 in a Windows shortcut, 256 in a desktop tile. Ship a single size and everything else scales it, which is where the blurry tab icons come from.

This builds 16, 32, 48 and 256 in one file, drawing each from your original rather than from the size above it.

Nothing is upscaled. If your source is 64 pixels across, the 256 is dropped rather than invented, because an icon claiming detail it never had looks worse than a smaller one that does not. Start from at least 256 pixels square if you want the full set.

Square art works best. A rectangular image is fitted to the longest side and centred, which leaves space above and below rather than stretching the picture. Crop it square first with the crop tool if you want to control what survives.

Transparency comes through, letting an icon sit on a light or dark tab strip without a box around it.

Reading one instead of writing one: ICO to PNG takes an existing favicon apart and hands back the largest image inside it.

Drop the PNG once and the .ico that comes back covers every size in that list.

Frequently asked questions

What sizes go into the file?

16, 32, 48 and 256 pixels square, which covers browser tabs, bookmarks bars, Windows shortcuts and desktop tiles. Sizes larger than your source are left out rather than upscaled.

How big should my PNG be?

At least 256 pixels square for the full set. Anything smaller still works, and the file simply carries fewer sizes.

Does my image have to be square?

No, but a square one gives the best result. A rectangle is fitted to its longest side and centred. The icon gains empty space instead of being stretched. Crop it first with the crop tool to choose what stays.

Where does the file go on my site?

Traditionally at the root as favicon.ico, which browsers request without being told. A <link rel="icon"> tag pointing anywhere else works too, and modern browsers will read a PNG that way - the .ico still matters for older ones and for Windows.

Does transparency survive?

Yes. Each size keeps its alpha channel, and the icon sits cleanly on light and dark backgrounds alike.

Can I use a JPG as the source?

Yes, along with WebP and BMP. A JPG has no transparency to carry, and the icon arrives with whatever background the photo had.