About the PNG to ICO Converter
Windows shortcuts, program icons and the classic favicon.ico all use the ICO format, which can hold several sizes of the same icon in one file. This PNG to ICO converter builds that file from your image, with sizes from 16 to 256 pixels, so Windows and browsers can each pick the sharpest version for where it is shown. Square source images give the cleanest results.
Choose which sizes to include; 16, 32, 48 and 256 pixels cover almost every use. Each size is resized from your original with high-quality smoothing and stored as a compressed PNG inside the ICO file, which keeps full transparency and keeps the file small. PNG, JPG, WebP, GIF, BMP and SVG pictures can all be converted.
Square pictures give the best icons. For other shapes, choose whether to fit the whole picture inside the square with transparent padding, crop the middle, or stretch it. A preview of every size shows how the icon will look, including the tiny sizes where detail disappears. Everything runs in your browser; nothing is uploaded.
For a complete favicon set with Apple touch icons and a web manifest, use the favicon generator. To prepare a square picture first, try the image cropper or rounded corners.
How to use the PNG to ICO Converter
- Choose an imagePick a PNG, JPG, WebP, GIF, BMP or SVG file. A square image of 256 pixels or more works best.
- Pick the sizesTick the icon sizes to include. 16, 32, 48 and 256 are selected by default.
- Handle the shapeIf the image is not square, choose fit, crop or stretch.
- DownloadCheck the previews and press Download .ico.
PNG to ICO Converter features
- Sizes from 16 to 256 pixels in one file
- PNG-compressed icon entries with transparency
- High-quality downscaling
- Fit, crop or stretch for non-square images
- Live previews of every size
- Accepts PNG, JPG, WebP, GIF, BMP and SVG
- Works for favicons and Windows icons
- Nothing is uploaded
Common uses
- Making favicon.ico for a website
- Creating icons for Windows programs and shortcuts
- Customizing folder and drive icons
- Turning a logo into an app icon
- Packaging icons for desktop software builds
PNG to ICO: making Windows icons and favicons that stay sharp
The ICO format is the classic file type for icons on Windows and for website favicons. Unlike ordinary images, a single ICO file can contain several versions of the same icon at different sizes, so the system can pick the sharpest one for each situation. This guide explains how ICO files work, which sizes to include and how to prepare artwork that remains crisp at 16 pixels.
What is inside an ICO file
An ICO file is a small container with a directory listing each image it holds and the images themselves. Each entry has its own width and height, up to 256 by 256 pixels. Modern ICO files usually store each size as PNG data, which keeps transparency and makes the file compact. Windows, browsers and many programs then choose the size that best matches where the icon is displayed.
Which sizes to include
| Size | Where it is used |
|---|---|
| 16 x 16 | browser tabs, small Windows lists |
| 24 x 24 | some toolbars |
| 32 x 32 | taskbar, high-density tabs, desktop at small scale |
| 48 x 48 | Windows Explorer medium icons |
| 64 x 64 | high-density displays |
| 128 x 128 and 256 x 256 | large icon views, high-density desktops |
For a website favicon, 16, 32 and 48 pixels are the essential trio. For a Windows application or shortcut icon, include 16, 24, 32, 48 and 256 so it looks good at every zoom level.
Designing for tiny sizes
Large artwork often fails at 16 pixels: thin lines vanish, small text becomes mush and fine details blur together. Icons that work at small sizes use:
- One bold shape or a single letter.
- Thick strokes and simple outlines.
- Strong contrast between foreground and background.
- A square composition with a little padding.
If your logo is detailed, consider a simplified version just for small sizes. Many brands use only their initial letter in the favicon.
Starting from a good PNG
Begin with a square PNG of at least 256 x 256 pixels, ideally 512 x 512, with a transparent background. Scaling down from a large, clean source produces crisp small sizes; scaling up from a small one produces blur. If your logo is not square, pad it with transparent space using Add Border to Image or crop it with Image Cropper. For SVG logos, render a large PNG first with SVG to PNG Converter.
Transparency and backgrounds
Transparent icons look natural on any background, but check them on both light and dark surfaces, because Windows and browsers both offer dark themes. A dark icon on a transparent background can disappear in dark mode. A solid rounded background shape behind the symbol guarantees visibility everywhere.
A worked example: a favicon for a small business
A plumbing company has a blue logo with a wrench and the company name in small letters. At 16 pixels the name is unreadable, so create a simplified square version with only the white wrench on a blue rounded square, at 512 x 512 pixels. Convert it to ICO with 16, 32 and 48 pixel sizes, upload it to the website's root folder as favicon.ico, and add the favicon link to the site's head. In browser tabs the white wrench on blue is instantly recognisable, even though the full logo would not be.
Using the ICO file
For websites, place favicon.ico in the root of the site, because browsers request that path automatically. For more complete favicon sets, including Apple touch icons and Android icons, Favicon Generator creates all files plus the HTML in one go. For Windows shortcuts, right-click the shortcut, open its properties, choose Change Icon and browse to your ICO file.
Checking the result
Open the ICO in an image viewer that shows each size, or test it directly: load your site and look at the tab, add a bookmark, and view a Windows shortcut at small and large icon sizes. If the 16-pixel version looks muddy, simplify the artwork and convert again.
Common mistakes
- Including only one large size, which Windows then scales down poorly.
- Using a detailed logo with text at 16 pixels.
- Forgetting to test on dark backgrounds.
- Uploading the favicon but not clearing the browser cache when checking it.
ICO files for desktop applications
Developers packaging Windows programs need an ICO file for the executable, the installer and the shortcuts. Windows picks different sizes for the Start menu, the taskbar, Explorer and high-resolution displays, so include the full range from 16 to 256 pixels. Test the icon at each Explorer view size, from small icons to extra large, because each one may use a different image from the file. A crisp 256-pixel version is what people see in large icon views and on high-density screens, so give it the most care.
Keeping a master icon file
Store the original artwork, preferably as SVG or a large layered file, alongside the generated ICO. Whenever the brand changes, regenerate every size from the master rather than editing the small images. That keeps all sizes consistent and avoids the gradual loss of quality that comes from editing already-reduced images.
Privacy
The ICO file is built in your browser from your PNG. Nothing is uploaded, and the icon is saved directly to your device.
Frequently asked questions
How do I convert PNG to ICO?
Choose your PNG, tick the sizes you need and press Download .ico. The tool creates one ICO file containing the icon at every selected size, ready to use as a favicon or a Windows icon.
Which sizes should an ICO file include?
For a favicon, 16, 32 and 48 pixels are enough. For Windows program and shortcut icons, add 256 pixels so the icon stays sharp in large views; 24 and 64 help in some places but are optional.
Will the icon keep transparency?
Yes. Every size is stored as a PNG inside the ICO file, which keeps the full alpha channel, so rounded and irregular logos have clean, transparent edges.
Do old programs support PNG inside ICO?
Windows Vista and later, and all modern browsers, read PNG-compressed icons. Very old software from before 2007 may only read the older bitmap format, which is rarely a concern today.
My image is not square. What happens?
Choose Fit inside to keep the whole picture with transparent padding at the sides, Crop to use a centered square, or Stretch to squeeze it into a square. Fit is the safest choice for logos.
How do I use the ICO file as a favicon?
Name it favicon.ico and upload it to the root folder of your website. Browsers request it automatically, and you can also add a link tag with rel="icon" pointing to it in your page head.
Is my image uploaded?
No. The icon is created by code running in this page on your own device, and your image is never sent to a server. It is safe for private and personal pictures.
Can I convert a JPG or SVG to ICO?
Yes. Any image the browser can open works, including JPG, WebP, GIF, BMP and SVG. For SVG logos, the icon is drawn at each size from the vector file, which gives crisp edges at every size.