PNG to ICO Converter
Convert PNG to ICO with every Windows size from 16 to 256 px in one file, from PNG, JPG, WebP or SVG. Got an .ico? Drop it to get its PNGs back. Nothing is uploaded.
Drop a PNG, JPG, WebP or SVG here or browse
Several files make a batch · an .ico gives you its PNGs
+ Add images or .ico files or drop them here
ICO to PNG: the images inside
Every size in your icon
Each size of your icon appears here at its real size, with an enlarged view for checking the pixels.
Enlarged so you can check every pixel. Tap a size to inspect it.
Image format inside the ICO
Making icons for a team or a client? .
Why convert PNG to ICO?
Windows wants icons in the ICO format: one file holding the same picture at several sizes, so File Explorer, the taskbar, the Start menu and title bars can each take the size they need. A PNG holds only one size, which is why the folder and shortcut icon dialogs, Visual Studio, electron-builder and most installers ask for an .ico. This converter draws every size from your image, keeps the transparency, stores the 256 px size as a compact PNG and the small sizes as classic bitmaps that every program reads, and does it all on your device.
How to convert PNG to ICO
- Drop a PNG, JPG, WebP or SVG on the box, tap it to choose files, or paste an image with Ctrl+V.
- Pick the sizes: Windows (16, 24, 32, 48 and 256 px) suits most icons, and Full set adds the in-between sizes for high-resolution screens.
- Adjust the fit, padding, background and sharpening while the preview shows every size, at real size and enlarged.
- Press Download ICO. Several images? Download them all as a ZIP, or combine them into one icon.
Which sizes should an ICO file contain?
Windows picks an image from the icon file according to where it's shown and how much your display is scaled. Microsoft's guide to building Windows app icons (Microsoft Learn, as updated in August 2026) says Windows looks for an exact size first and otherwise shrinks the next larger one, and that an app should include at least 16, 24, 32, 48 and 256 px, which is the default set here. The sizes Windows 11 uses from 100% to 400% scaling:
| Where the icon appears | Sizes used (px) |
|---|---|
| Title bars, right-click menus, notification area | 16, 20, 24, 32, 40, 48, 64 |
| Taskbar, search results, Start's All apps list | 24, 30, 36, 48, 60, 72, 96 |
| Start menu pins | 32, 40, 48, 64, 80, 96, 256 |
File Explorer adds its own views. At 100% scaling they show these sizes, scaled up with the display:
| File Explorer view | Icon size |
|---|---|
| Small icons, List, Details | 16 px |
| Medium icons | 48 px |
| Large icons | 96 px |
| Extra large icons | 256 px |
The Full set preset adds 20, 30, 36, 40, 60, 64, 72, 80 and 96 px, so laptops and 4K monitors set to 125% to 300% get a pixel-perfect icon instead of a shrunken one. Bitmap sizes are small, so even that full set usually stays around 200 KB. The 16–48 preset is the light, classic set. Because an ICO can't hold anything larger than 256 × 256, start from an image at least 256 px wide, or an SVG.
PNG and bitmap images inside an ICO
An ICO file is a short directory followed by the images. Each image is either a bitmap (uncompressed BMP pixels plus a 1-bit mask that marks the transparent pixels) or a complete PNG file. Bitmaps are what Windows has read from the start; 32-bit bitmaps with a smooth alpha channel came with Windows XP, and PNG images inside icons with Windows Vista, mainly so the 256 px size wouldn't take a quarter of a megabyte. Under Image format inside the ICO you can choose:
- Standard (the default): 256 px as PNG, every smaller size as a 32-bit bitmap with its mask. This is how Windows icons are normally built, and every program that shows a 256 px icon reads it.
- All PNG: the smallest file, for current Windows and browsers. Some older programs and libraries can't read PNG images at small sizes.
- All bitmaps: the widest compatibility, for very old software. The 256 px image alone then takes 270,376 bytes: a 40-byte header, 256 × 256 × 4 bytes of colour and an 8,192-byte mask.
Sharp icons at 16, 24 and 32 pixels
Shrinking a big logo to 16 px averages its edges into soft greys. The preview shows every size at its real size and enlarged, so you can judge each one before you download. Four settings help:
- Sharpen runs an unsharp mask on the 16 to 48 px sizes. It compares each pixel only with the visible pixels around it, so a logo on a transparent background doesn't get a light or dark halo.
- Trim empty edges crops away transparent margins, so the artwork fills the icon instead of floating in the middle of it.
- Padding does the opposite: 5 to 10% of space stops a logo from touching the edge of a rounded or circular background.
- Hand-made small sizes: draw a simplified 16 × 16 or 32 × 32 version, add it together with your large image and tick Combine into one ICO. An image of exactly the right size is copied pixel for pixel, with no resizing or sharpening.
Convert JPG, WebP, SVG and other images to ICO
Any image your browser can open works: PNG, JPG, WebP, GIF, BMP and AVIF, and HEIC photos in Safari. The real format is read from the file's bytes, so a PNG that was only renamed to .ico is turned into a real icon. Photos are rarely square: Fit inside centres the picture with transparent or coloured space around it, and Fill square crops it from the middle. JPG has no transparency, so a JPG keeps its own background; crop it first with the image cropper if you want only part of the photo.
SVG is the best starting point for an icon. Instead of shrinking one large picture, the converter has your browser draw the SVG at each size, which keeps lines as crisp as they can be. Scripts, event handlers and links to other websites are removed first, and nothing an SVG points to is ever downloaded: if it uses an image or web font from another site, a note under the result says so, and you can embed the image or turn text into outlines in your design app. For PNG copies of an SVG at any resolution, use the SVG to PNG converter.
ICO to PNG: get the images out of an icon
Drop an .ico or .cur file on the same box and every image inside it is listed with its size, colour depth and storage. Download any one as a PNG, or all of them as a ZIP. PNG images come out exactly as they were stored; bitmap images, from 1-bit black and white to 32-bit with alpha, are decoded with their transparency mask and saved as lossless PNG. Make a new ICO from it takes the largest image as the start of a new icon, for example to add the sizes an old icon is missing or to put it on a background.
How to change a folder icon in Windows 11 and 10
- Save the .ico in a folder where it will stay, such as Documents\Icons. Windows reads the file every time it shows the folder.
- Right-click the folder and choose Properties.
- Open the Customize tab and press Change Icon…
- Press Browse…, choose your .ico file and press Open. Pick the icon in the list, press OK, then Apply.
Windows saves the choice in a hidden desktop.ini file inside the folder. To undo it, press Restore Defaults in the same Change Icon window. If you move or delete the .ico, the folder shows the standard icon again.
Change a shortcut, desktop or taskbar icon
- Shortcut: right-click it, choose Properties, and on the Shortcut tab press Change Icon…; browse to the .ico and press OK twice. This works for shortcuts, not for the program file itself.
- This PC, Recycle Bin and other desktop icons: open Settings › Personalization › Themes › Desktop icon settings, select the icon and press Change Icon.
- Taskbar: change a shortcut's icon before you pin it. For an app that's already pinned, right-click its taskbar button, right-click the app's name in the list that opens, choose Properties and change the icon there.
Icon not changing? Refresh the icon cache
Windows keeps a cache of icons, so a new one can take a while to show up, especially when you replace an .ico with a new file of the same name. Restarting File Explorer usually fixes it: open Task Manager with Ctrl+Shift+Esc, select Windows Explorer and choose Restart. Signing out and back in works too.
Use the ICO in an app or installer
Desktop app tools take the same file. In a .NET project (WinForms or WPF), set <ApplicationIcon>app.ico</ApplicationIcon> in the .csproj file; electron-builder reads build/icon.ico and wants it at least 256 × 256; PyInstaller takes --icon app.ico; and Inno Setup's [Setup] section takes SetupIconFile=app.ico. Keep the 256 px size in the icon so Windows never has to enlarge it.
Making icons for a website? The favicon generator makes favicon.ico together with the Apple and Android icons and the HTML tags. For other formats, the image converter turns any image into JPG, PNG, WebP or AVIF, and the image resizer makes exact pixel sizes.
Frequently Asked Questions
How do I convert PNG to ICO?
Drop your PNG on the box above (or tap it to choose the file). The ICO is made straight away with the Windows sizes 16, 24, 32, 48 and 256 px, and Download ICO saves it. Change the sizes, padding, background or sharpening first if you like; the preview shows every size as you go. The conversion runs in your browser, so the image is never uploaded.
What sizes should an ICO file have?
For a Windows program, folder or shortcut icon, Microsoft's guidance asks for at least 16, 24, 32, 48 and 256 px, which is the default here. Windows looks for an exact size first and otherwise shrinks the next larger one, so adding 20, 30, 36, 40, 60, 64, 72, 80 and 96 px (the Full set preset) gives pixel-perfect icons at every display scaling. An ICO can't hold anything bigger than 256 × 256.
Can I convert JPG, WebP or SVG to ICO?
Yes. JPG, WebP, GIF, BMP and AVIF photos and graphics work like PNG. A JPG has no transparency, so its background stays in the icon; pick Fill square to crop a photo to a square instead of padding it. An SVG is drawn fresh at every icon size rather than shrunk from one big picture, so even the 16 px icon is as sharp as the drawing allows.
How do I make an ICO with a transparent background?
Start from a PNG, WebP or SVG with a transparent background and leave Background on None, which is the default. The transparency is kept in every size: the small sizes are 32-bit bitmaps with an alpha channel and a mask, and the 256 px size is a PNG. The preview's checkerboard shows which parts are see-through, and Light and Dark show the icon on both Windows themes.
Why does my icon look blurry at 16 × 16?
A detailed logo shrunk to 16 pixels loses its fine lines. Turn on Sharpen (Light or Strong) to restore edge contrast at 16 to 48 px, raise the size by trimming empty edges or lowering the padding, and inspect each size in the zoomed preview. For the crispest result, draw a simple 16 × 16 version yourself, add it together with your large image and tick Combine into one ICO: an image of exactly 16 × 16 is used pixel for pixel.
How do I convert ICO to PNG?
Drop the .ico file on the same box. Every image inside it is listed with its size and colour depth, and each one downloads as its own PNG, or all of them together as a ZIP. PNG images stored in the icon come out byte for byte; older bitmap images (1-bit to 32-bit) are decoded with their transparency mask and saved as lossless PNG. Cursor (.cur) files work too.
How do I change a folder icon in Windows 11?
Save the ICO somewhere it will stay, such as Documents\Icons. Right-click the folder, choose Properties, open the Customize tab and press Change Icon, then Browse to your .ico file, choose it, and press OK and Apply. Windows reads the file each time, so if you move or delete it, the folder goes back to the standard icon. The same steps work in Windows 10.
Can I combine several PNG files into one ICO?
Yes. Add two or more images and tick Combine into one ICO. For each size, the converter uses an image of exactly that size if you added one (pixel for pixel), otherwise an SVG if there is one, otherwise the smallest image that's big enough. That lets you hand-tune the 16 and 32 px versions of an icon and still get every other size from your large artwork.
What's the difference between PNG and BMP images inside an ICO?
An ICO can store each size either as an uncompressed bitmap (BMP data) or as a compressed PNG. Bitmaps work in every version of Windows and every program that reads icons; PNG images need Windows Vista or later, but they keep a 256 px size small: a 256 px bitmap takes 270,376 bytes, while a PNG of a typical logo is a small fraction of that. The default, PNG for 256 px and bitmaps below, is what Windows icons normally use.
Can I use this ICO on my website?
You can: an ICO with 16, 32 and 48 px (the 16–48 preset) works as a website's favicon.ico. A website usually needs more than that, though, such as an Apple touch icon, Android icons and the HTML tags, so the favicon generator on this site makes the whole set from your logo in one ZIP.
Is it safe? Are my images uploaded?
Nothing is uploaded. Your images are opened, resized and packed into the ICO by your own browser, and the files never leave your device, so it's safe for unreleased logos and client work. SVG files are cleaned of scripts and of links to other websites before they're drawn, and the page makes no request for anything an SVG references.
What is the largest size an ICO file can hold?
256 × 256 pixels per image. The ICO format stores each image's width and height in a single byte, where 0 stands for 256, so larger images can't be listed. Windows scales the 256 px image for its Extra large icons view and high-resolution displays. Bigger icons belong in other formats, such as PNG for app stores or ICNS for macOS apps.
Other image format converters
- PNG to JPG converterSmaller files; transparent areas get a solid colour.
- JPG to PNG converterA lossless copy to edit without further loss.
- WebP to JPG converterWeb images that open in any app or upload form.
- WebP to PNG converterKeeps the transparent background, opens anywhere.
- PNG to WebP converterLighter graphics for websites, transparency kept.
- JPG to WebP converterSmaller photos for faster web pages.
- HEIC to JPG converteriPhone photos for Windows, email and forms.
- SVG to PNG converterLogos and icons drawn sharp at any size.
More image tools: Image converter (any image to JPG, PNG, WebP or AVIF); Image compressor (shrink images to a size such as 100 KB); Image resizer (exact pixels, a percentage or a print size).
Related tools
More free, private, browser-based utilities — no upload, no sign-up.