PNG to ICO Converter
Local only — nothing is uploaded unless you save or share it.
Convert PNG to ICO: one icon file holding every size from 16 to 256 pixels, transparency kept.
- Drop in a PNG, JPG or other image, or several at once
- Tick the icon sizes you want and choose pad or crop for non-square images
- Press Convert to ICO and download the .ico file
Sizes in the icon
Only matters for an image that is not square. Nothing is ever stretched.
Save this tool
Keep PNG to ICO Converter handy
Use your browser's Share menu, then “Add to Home Screen”.
Embed
Put PNG to ICO Converter on your website
Paste this into your page. It shows the tool, free, with a link back to it.
About this tool
An .ico file is not one picture but a small stack of them: the same icon at several sizes, so Windows can show a sharp 16 pixel version in a title bar and a 256 pixel one in Explorer without scaling either. This PNG to ICO converter builds that stack from one image. Pick the sizes you want from 16, 24, 32, 48, 64, 128 and 256 pixels; the default of 16, 32, 48 and 256 covers browser tabs, the taskbar and large Explorer views. Transparency is kept, because every size is stored as a PNG inside the icon, which is the form Windows since Vista, macOS and every browser read. It works as an image to ICO converter for more than PNG: you can convert JPG to ICO, and WebP, GIF (its first frame), BMP, TIFF, AVIF and HEIC too. A picture that is not square is padded with transparency so nothing is cut off, or cropped from the centre if you prefer a filled square. Drop several images and you get one .ico each, zipped together. The conversion happens on your device, so the image is never uploaded. If you need a whole favicon set for a website, with Apple and Android sizes and the HTML to paste, the favicon generator does that instead.
Frequently asked questions
How do I convert PNG to ICO?
Drop the PNG on this page, leave the sizes at 16, 32, 48 and 256 unless you need others, and press Convert to ICO. You get one .ico file containing every size you ticked, ready to use as a Windows icon or a website favicon.ico.
Can I convert JPG to ICO as well?
Yes. The ICO converter takes JPG, PNG, WebP, GIF, BMP, TIFF, AVIF and HEIC. A JPG has no transparency, so its icon will be a solid square unless you pad a non-square photo, in which case the padding is transparent. An animated GIF becomes a still icon of its first frame.
Does the icon keep transparency?
Yes. Each size is stored as a 32-bit PNG inside the .ico, alpha channel included, so a logo on a transparent background stays transparent at every size.
What happens to an image that is not square?
Icons are square, so you choose. Pad keeps the whole picture and fills the empty sides with transparency. Crop fills the square from the centre and cuts off the ends of the long side. Nothing is ever stretched.
Which sizes should an .ico file contain?
For a website favicon, 16, 32 and 48 are enough. For a Windows application or shortcut icon, add 256, which Explorer uses for large views; 24, 64 and 128 are optional in-between sizes. Sizes larger than your source image are scaled up and will look soft, and the page tells you when that happens.
Can I convert SVG to ICO?
Not directly. Turn the SVG into a PNG first with the SVG to PNG tool, at 256 pixels or more, then convert that PNG to ICO here.
Will it work on Windows XP?
No. The images inside are stored as PNG, which Windows Vista and later, macOS and every browser read. Windows XP only reads icons in the older bitmap form, and this tool does not write that.
Help improve this tool
Found a bug, want a change, or need a tool we don't have?
You have an unsent draft.
Thanks — that's with us. You'll find the reply in your inbox.Go to my messages