pngtoicotool
Browser-only conversion

Windows icon guide

How to Make a Windows App Icon from a PNG

Start with a crisp square image, preserve transparency where you need it, and create an ICO that includes the pixel sizes your app workflow expects. A larger export cannot restore detail missing from a small or blurry source.

Convert a PNG to ICO

To make a Windows app icon from a PNG, prepare the artwork at a useful source resolution, convert it to ICO with the required image sizes, then inspect the result at both small and large display sizes. The ICO container can hold more than one image, allowing compatible software to select a closer size instead of scaling a single image for every use.

There is no single size list that fits every Windows packaging workflow. Check the current requirements for the framework, installer, or app package you are building, and include the sizes it asks for.

Design for the smallest display size

A Windows app icon may appear in places with very different visual sizes. At a small size, fine outlines, long labels, and subtle color changes can merge together. A bold silhouette and clear separation between foreground and background usually survive reduction better.

Preview the artwork small before conversion. If the shape is hard to identify there, simplify the PNG itself rather than expecting the ICO conversion to sharpen it.

Keep transparency intentional

If the design needs a transparent background, check that the PNG really contains transparent pixels rather than a white or checkerboard-colored backdrop. After conversion, inspect the ICO over both light and dark backgrounds to catch unwanted blocks or halos.

Some artwork is designed to sit on a solid tile. In that case, make the background part of the design deliberately so the icon looks consistent wherever it appears.

Why can an ICO still look blurry?

Changing the file format does not recreate missing pixels. If the source PNG is undersized, soft, or already pixelated, a larger ICO image may look blurred. Start from the cleanest available source and review the actual generated image sizes before shipping the app.

For checking why a Windows icon looks blurry, see the [checking why a Windows icon looks blurry](png-to-ico-blurry-at-16px).

How to Make a Windows App Icon from a PNG: The answer at a glance. Prepare a clean square PNG; Choose the ICO image sizes; Convert and inspect the result
The answer at a glance: Prepare a clean square PNG · Choose the ICO image sizes · Convert and inspect the result
How to Make a Windows App Icon from a PNG: What to compare. Design for the smallest display size; Keep transparency intentional; Why can an ICO still look blurry?
What to compare: Design for the smallest display size · Keep transparency intentional · Why can an ICO still look blurry?
How to Make a Windows App Icon from a PNG: Make and check the ICO. Prepare a clean square PNG; Choose the ICO image sizes; Convert and inspect the result
Make and check the ICO: Prepare a clean square PNG · Choose the ICO image sizes · Convert and inspect the result
SHGetFileInfo returned a 16 × 16 HICON for SHGFI_SMALLICON and a 32 × 32 HICON for SHGFI_LARGEICON on Windows 11 build 28000 at 96 DPI.
SHGetFileInfo · temporary shortcut · Windows 11 build 28000 · 96 DPI.

Make and check the ICO

  1. 01
    Prepare a clean square PNG

    Center the symbol, leave a little breathing room, and simplify tiny details that would disappear when the icon is shown small. Keep transparent pixels if the design should have no solid background.

  2. 02
    Choose the ICO image sizes

    Use the sizes requested by your app framework or packaging process. A multi-image ICO can provide closer matches for different display contexts, but it does not improve the original artwork.

  3. 03
    Convert and inspect the result

    Create the ICO, then open it in your development or icon-viewing software. Check that transparency remains intact and the symbol is still recognizable at the sizes your app uses.

FAQ

Windows app icon questions

Is there a way to convert PNG to ICO files?

Yes. Convert the PNG into a real ICO, then inspect the embedded images at the sizes your app uses; an ICO can contain multiple images.

Can any PNG be converted into a Windows app icon?

A PNG can be converted, but the result depends on its dimensions, clarity, shape, and transparency. A square, crisp source is usually easier to adapt to icon sizes.

Does converting PNG to ICO make the image sharper?

No. Conversion changes the file format and can package image layers at selected dimensions; it cannot restore detail that is absent from the source PNG.

Can an ICO contain multiple image sizes?

Yes. The ICO format supports multiple embedded images. Software can use an appropriate image from the file for a requested size, when that image is present and supported.

Will transparency be preserved?

It can be, when the PNG has transparent pixels and the converter preserves them in the ICO images. Inspect the result before using it in your app.

How do you do this all at once?

An ICO file contains icon artwork; it does not apply an entire Windows icon pack by itself. If the pack includes a supported installer or documented batch method, follow that pack’s instructions; otherwise Windows items such as shortcuts or folders need their icons assigned individually. Keep the original icons or a restore point before changing a group of items.

How can I use on Mac?

For a Finder file or folder, open the artwork in Preview, copy it, select the target in Finder, choose File > Get Info, click the small icon in the Info window, and paste. An ICO is a Windows icon container; macOS app bundles conventionally use ICNS, while Apple documents setting a custom image on an individual Finder item.