ONE IMAGE, EVERY ICON SIZE

PNG to ICO

Convert a PNG to a multi-size ICO file for favicons and Windows icons. Pick sizes from 16 to 256 px, check every frame and download one .ico.

Icon frames

.PNG → .ICO

Drop a PNG image here

One image becomes one .ico file with every size you choose.

PNG · JPG · WebP · AVIF · GIF · BMP · ≤ 40 MiB · ≤ 8192 px per edge

Which sizes should an ICO file include?

Windows looks for an exact size first and otherwise scales down a larger one. With a 256 px frame, nothing has to be enlarged.

Microsoft icon size guidance
Website favicon16 · 32 · 48
Tabs show a 16 px icon, or the 32 px frame on high-density screens. 48 px gives larger shortcut views a sharper source than an enlarged 32 px icon.
Windows icon16 · 24 · 32 · 48 · 256
Microsoft’s minimum set for app icons: 16 px for menus and title bars, 24 px for the taskbar at 100% scaling, 32 and 48 px for Explorer, and 256 px for large icon views.
Windows, high DPI+ 20 · 40 · 64 · 96
Display scaling above 100% asks for in-between sizes, such as 20 px menu icons at 125% and 96 px taskbar icons at 400%. Including them reduces blur from scaling.

Using the downloaded .ico file

The same file works as a website icon and as a Windows icon. Only where you put it changes.

As a website favicon

Rename the file to favicon.ico, upload it to the site root and add the line below inside <head>. Browsers request /favicon.ico from the root even without it; the link makes the location explicit. Favicons are cached, so clear the cache before checking a replacement.

<link rel="icon" href="/favicon.ico">

As a Windows shortcut or folder icon

Right-click a shortcut, choose Properties → Change Icon and browse to the .ico file. For a folder, use Properties → Customize → Change Icon. Keep the .ico in a permanent place, because Windows keeps reading it from there.

In an app build

Resource files (.rc) and packagers such as Electron read the same .ico format. Include the 256 px frame for an app icon. If an older build tool or icon editor rejects the file, export again with BMP frames.

PNG to ICO questions

Does the ICO keep transparency?

Yes. PNG frames store the alpha channel as it is. BMP frames store 32-bit color with alpha and add the 1-bit mask older programs expect, so fully transparent pixels stay transparent there too. A JPG source has no transparency, so its background is kept.

Should I choose PNG or BMP frames?

PNG frames make a smaller file and are read by current browsers and by Windows Vista and later. Some older programs, icon editors and build tools only read BMP frames; choose BMP for those. The 256 px frame is always PNG, because a single 256 px BMP frame alone would take more than 260 KB.

Can I convert JPG, WebP or SVG to ICO?

JPG, WebP, AVIF, GIF and BMP work the same way as PNG; an animated GIF contributes only its first frame. SVG is not read here. Convert it to a PNG of 512 px or larger first, then make the ICO.

Why does the 16 px icon look different from my logo?

At 16 × 16 pixels, thin lines and small text cannot survive downscaling. Turn on Pixel zoom to inspect the small frames. A simplified mark, such as a single letter or the main shape with thicker strokes, usually reads better than the full logo.

Can an ICO frame be larger than 256 × 256?

No. The ICO directory stores each width and height in one byte, where 0 means 256, so 256 px is the largest frame. macOS app icons use the separate ICNS format, which this tool does not create.

Icon ready. What is next?

All image tools →