tools / png-to-ico
png-to-ico/
Convert PNG, JPG, WebP or SVG to an ICO icon: one .ico file holds multiple sizes, ready for a website favicon or Windows icon, with transparency kept. Nothing is uploaded; conversion happens in your browser.
Preview
Each size is shown at its actual pixel size; the checkerboard marks transparent areas.
How to convert PNG to ICO
- Choose or drop an image — PNG, JPG, WebP, SVG, GIF and BMP all work.
- Pick sizes: choose “Windows icon” for an app, shortcut or folder icon, or “Website favicon” for a site icon — or tick sizes yourself.
- Check the preview of each size, then click “Download ICO”.
Which sizes should an ICO include?
Windows icons: Microsoft recommends including at least 16, 24, 32, 48 and 256. Windows first looks for an exact size match; if there is none, it scales down the next larger size, so including 256 means your icon is only ever scaled down, never up. For sharper icons on high-DPI screens, also tick 20, 40 and 64.
Website favicons: browser tabs use 16 and 32; Google recommends a favicon larger than 48×48 for search results, so the preset adds 64. Rename the file to favicon.ico and put it in your site’s root folder — browsers usually pick it up automatically — or add this line inside head:
<link rel="icon" href="/favicon.ico">
Ideally start from a square image of at least 256×256. A small image scaled up to 256 looks blurry; the page warns you when this happens.
About the generated ICO file
- Sizes below 256 are stored as 32-bit BMP with an alpha channel and mask for the best compatibility (PNG-compressed icons need Windows Vista or later); 256 is PNG-compressed to keep the file small.
- Transparency is kept as is; JPG has no transparency, so its original background stays.
- Non-square images can be padded with transparency or cropped to a centered square.
- Your image is processed only in your browser and is never uploaded to any server.
FAQ
Can I convert JPG or SVG to ICO too?
Yes. SVG is a vector format, so each size is redrawn at its target resolution and stays sharp even when small.
Why does 16×16 look blurry?
A detailed image is hard to read when shrunk to 16 pixels. For small sizes, use a simplified graphic: thick lines, little or no text, strong contrast.
Need to compress, resize or convert an image first? Use Image Compressor / Converter →