What happens when you convert PNG to ICO
| Compression | Lossless → Lossless |
|---|---|
| Transparency | Kept |
| Sizes | 16, 32, 48 and 256 px by default; any of 16, 24, 32, 48, 64, 128 and 256 px, all in one .ico file |
| Metadata | EXIF, GPS location and camera data are not copied to the new file |
| Opens in | Windows and every browser (as a favicon) |
Sizes are typical values; your files will vary with content and settings.
About the PNG and ICO formats
PNG Portable Network Graphics
PNG stores pixels with lossless DEFLATE compression and a full 8-bit alpha channel. It is the safe default for screenshots, logos, UI assets and anything with sharp edges or text, because every pixel survives exactly as drawn.
ICO Windows Icon
ICO is a container that holds one or more square icon images at different sizes. Browsers use it for favicon.ico and Windows uses it for application and shortcut icons.
How to use the PNG to ICO Converter
- 1
Click Choose files or drop your PNG images onto the page.
- 2
Pick the icon sizes to include. 16, 32, 48 and 256 pixels are selected by default, which covers browsers and Windows.
- 3
Click Convert, then download each ICO or all of them as a ZIP.
Making a favicon from a PNG
For a favicon, start with a square PNG of at least 256×256 pixels. Choose the 16, 32 and 48 pixel sizes to build a single favicon.ico that browsers pick the right size from. For a complete set including Apple touch icons and a web manifest, use the Favicon Generator.
Why convert PNG to ICO?
PNG files usually come from screenshots, design tools and image downloads, where lossless storage keeps edges crisp. Photographs saved as PNG are often 3 to 10 times larger than the same photo as JPG or WebP. Choose ICO for a website favicon or a Windows shortcut icon.
PNG to ICO settings
Choose which icon sizes to embed. Non-square images are centred on a transparent square canvas. You can also cap the width and height, which resizes large photos in the same step.
Which icon sizes should you choose?
For a website favicon, 16, 32 and 48 px are enough: browser tabs use 16 and 32, and Google Search recommends a favicon larger than 48 × 48. For a Windows shortcut, folder or program icon, include 16, 24, 32, 48 and 256 px, the minimum set Microsoft recommends, so Windows only ever shrinks the icon and never blows it up. If you want one file for both, tick every size. Each size is drawn from your PNG separately, so the small ones stay crisp instead of being squashed copies of the large one.
How to use your ICO file
As a website favicon: upload it to the root of your site as favicon.ico and add <link rel="icon" href="/favicon.ico" sizes="48x48"> to the page's <head>. Google can take days to weeks to show a new favicon in search results, and it doesn't use SVG favicons, so keep the ICO even if you also have an SVG. As a Windows shortcut icon: right-click the shortcut, choose Properties, then Change Icon on the Shortcut tab, and browse to the .ico. For a folder: Properties, Customize, Change Icon. Keep the .ico somewhere you won't delete it, or the icon turns blank later. In your own program, Visual Studio and packagers such as PyInstaller (--icon app.ico) take the .ico directly.
PNG vs ICO
A PNG holds one picture of any size. An ICO is a container that holds several square pictures, up to 256 × 256 px each, so Windows and browsers can pick the size that fits. Both keep transparency. Renaming a .png to .ico doesn't convert it: Windows won't accept the file as an icon, even though some browsers will still display it as a favicon.
Frequently asked questions
Will the ICO lose quality?
No. Both formats are lossless, so every pixel or sample in your PNG is kept exactly.
Is transparency kept when converting PNG to ICO?
Yes. ICO supports transparency, so transparent areas in your PNG stay transparent.
Which sizes should an ICO file have?
16, 32 and 48 px for a favicon; 16, 24, 32, 48 and 256 px for a Windows icon. The converter starts with 16, 32, 48 and 256 px ticked, which covers both in most cases.
Can I just rename a .png to .ico?
No. An ICO has its own file structure with a list of the sizes inside. A renamed PNG may still show as a favicon in some browsers, but Windows won't use it as an icon.
Will the ICO work in Windows 10 and 11?
Yes. The sizes inside are stored as PNG images, which Windows has read in icon files since Windows Vista, so the icon works for shortcuts, folders and the taskbar.
What if my PNG isn't square?
Icons are square, so the image is centred on a transparent square without stretching. To choose the framing yourself, crop it to a square first with the Image Cropper.
How do I turn an ICO back into a PNG?
Use the ICO to PNG converter, which saves the icon as a PNG image in your browser, the same way this page works.
Questions about privacy, file-size limits or conversion speed are answered in the general FAQ.
Something not working, or missing a setting you need? Report a problem or request a tool.