Your pixels stay on your device.

PNG to ICO Converter

Icons from 16 x 16 up to 256 x 256.

Loading workspace…

Turn a PNG into a real Windows icon file. This PNG to ICO converter packs several sizes, 16, 32, 48 and 256 pixels by default, into one .ico file, keeps the transparent background and sharpens the tiny sizes so they stay readable on the taskbar and in browser tabs. JPG, SVG and WebP work too, and the ICO converter also runs in reverse, from ICO to PNG.

Add PNG, JPG, SVG, WebP or ICO files up to 10 MB each, up to 50 per batch. Runs in your browser. Nothing is uploaded.

Formats
PNG · JPG · SVG · WebP · ICO
Max file
10 MB
A transparent PNG logo is scaled into 16, 32, 48 and 256 pixel icons and packed into one ICO file
A transparent PNG logo is scaled into 16, 32, 48 and 256 pixel icons and packed into one ICO file

How to Convert PNG to ICO

  1. Add your image. A square PNG with a transparent background, 256 × 256 pixels or larger, gives the best result.

  2. Choose the sizes. 16, 32, 48 and 256 are selected by default, which covers Windows desktop, Explorer, the taskbar and browser tabs. Add 24, 64 or 128 if you need them.

  3. Choose how to fit non-square images. Under Fit inside square, Contain keeps the whole image with transparent padding; Cover & crop fills the square and trims edges.

  4. Check the pixel preview. The 16 and 32 pixel versions are shown enlarged, so you can see whether details still read at that size.

  5. Download the .ico file.

To go the other way, switch Direction to ICO → PNG and every size inside the icon is saved as a PNG.

PNG to ICO Converter Features

Several Sizes in One ICO File

Windows picks a different icon size depending on where it is shown: 16 pixels in lists and tabs, 32 and 48 in Explorer, 256 for large tiles. A proper ICO file contains all of them. Simply renaming a PNG to .ico does not create these sizes and often makes the icon blurry or unreadable in some places.

Transparency Kept

Transparent and soft edges of the PNG stay transparent in every size, so the icon sits cleanly on light and dark backgrounds instead of in a white square.

Sharp Small Sizes

Shrinking a detailed logo to 16 pixels usually turns it into a gray blur. The converter scales each size separately with a high-quality filter and applies light sharpening to the small sizes, which you can switch off if you prefer a softer look.

Compatible with Old and New Windows

Sizes of 64 pixels and up are stored as compressed PNG inside the icon to keep the file small, while small sizes use the classic bitmap format that older programs expect. All sizes use 32-bit color with full transparency.

PNG to ICO Use Cases

Website Favicon

A blogger wants a favicon for her site and her theme asks for a favicon.ico file. She converts her square PNG logo with 16, 32 and 48 pixel sizes, checks that the 16 pixel preview is still readable, and uploads the icon to her site root. For the full set of modern icons, including the Apple touch icon and manifest images, she uses the favicon generator as well.

Desktop Shortcut and Folder Icons

A Windows user wants a custom icon for a folder of family photos and for a shortcut to a game. Windows only accepts .ico files for this. He makes a small PNG from a photo, crops it with square crop so it is not squashed, converts it to ICO with the default sizes, and selects it under Properties, Customize, Change Icon.

Icons for Software and Installers

A developer packages a small desktop app and the build tool needs an .ico file with sizes up to 256 pixels. He exports his app logo as a 512 pixel PNG, converts it with all seven sizes selected and adds the icon to his project. The pixel preview shows that the 16 pixel version needs a simpler shape, so he removes the small text from the logo and converts again.

Getting a PNG Back from an ICO File

A designer only has an old company icon as an .ico file and needs the image for a presentation. Switching the direction to ICO to PNG saves every size inside the file, and she uses the 256 pixel version. When she needs it larger for a slide, she enlarges it with upscale image rather than stretching it in the slide.

PNG vs ICO: Can You Just Rename the File?

A PNG is a single image at one size. An ICO is a container that holds several images at different sizes, so Windows and browsers can pick the sharpest one for each spot. Renaming a PNG to .ico sometimes appears to work in a modern browser, but Windows shortcuts, folders and many programs will reject it or show it blurry. Converting creates a real icon with every size inside. For favicons only, most modern browsers also accept PNG icons, so many sites use both.

Is This PNG to ICO Converter Private?

Yes. Your images are converted by your own browser and the icon is saved straight to your device. Nothing is uploaded. There is no account and no watermark.

PNG to ICO Converter FAQ

How to convert a PNG to an ico file?

Drop your PNG on this PNG to ICO converter, keep the default sizes and download the .ico file. The default 16, 32, 48 and 256 pixel sizes are packed into one icon, transparency is kept, and the small sizes are sharpened so they stay readable.

Is an ICO file just a PNG?

No. Some people rename a PNG to ICO, and it may work in a few browsers, but it is not a real icon file. Windows and many programs need an ICO with proper sizes inside, which this PNG to ICO converter creates.

What size should my PNG be?

Square and at least 256 × 256 pixels. Larger is fine; smaller images will look soft at the 256 pixel size. A transparent background works best. For a non-square image, choose "Contain" to keep the whole picture or "Cover" to fill the square and trim the edges.

Is transparency kept in the icon?

Yes. Transparent areas stay transparent in every size of the icon, including soft edges, so the icon sits cleanly on light and dark backgrounds instead of in a white square. Start from a PNG with a transparent background to get this result.

How do I convert PNG to ICO without losing quality?

Start from a large, sharp, square PNG and keep sharpening on for small sizes. Sizes of 64 pixels and up are stored as PNG inside the icon, so they are lossless. Check the enlarged 16 and 32 pixel previews to see whether the details still read.

Which sizes should an ICO file include?

16, 32, 48 and 256 pixels cover nearly every use in Windows and browsers. A favicon only needs 16, 32 and 48. These four sizes are selected by default, and you can add 24, 64 or 128 pixels if a program asks for them.

How can I convert a PNG image to an ICO favicon?

Convert your logo using the 16, 32 and 48 sizes, name the file favicon.ico and place it in your site root. The favicon generator creates the other favicon formats too, including app icons. Check the enlarged 16 and 32 pixel previews before you download.

How do I change a folder icon in Windows?

On Windows 11 or Windows 10, right-click the folder, choose Properties, then Customize, then Change Icon, and select the .ico file you made here. The default 16, 32, 48 and 256 pixel sizes cover lists, Explorer views and large tiles.

Can I convert ICO to PNG?

Yes. Switch the direction to ICO to PNG and each size inside the icon is saved as a separate PNG. That is handy when you need one size of an existing icon for a website, a document or an app, and transparency is kept in every file.

Is my image uploaded to a server?

No. Everything happens in your browser, and your images stay on your device. That holds for single files and batches of up to 50 images of up to 10 MB each, and the icons are saved only where you download them. No account is needed.

What to Do Next After PNG to ICO

The tools people usually need next, followed by related converters.

01Prepare a Better Icon Image

02Use the Icon on the Web

All tools