PNG to ICO Converter
: Free PNG to ICO converter: JPG, SVG or WebP to a multi-size .ico (16 to 256 px) with transparency, Windows icon or favicon, batch, no uploadPNG to ICO Converter
Convert a PNG to an ICO file with every icon size in one file: 16, 24, 32, 48, 64, 128 and 256 pixels, or just the 16, 32 and 48 px a favicon.ico needs, or sizes you type. JPG, WebP, GIF, BMP, AVIF and SVG pictures work too, transparency is kept at every size, and a batch of images gives one .ico each. Each icon is made on your own device in seconds, with no sign-up or watermark.
How to convert PNG to ICO
- Add images with
Add filesor drag them onto the page: PNG, JPG, WebP, GIF, BMP, AVIF or SVG.Exampleloads a test logo. Each image becomes an .ico as soon as it arrives. - Pick
Icon sizes:Standardfor a Windows app or shortcut icon,Faviconfor a website's favicon.ico,Every Windows sizefor all ten sizes Windows asks for, orCustom sizesto type your own list such as16, 32, 48, 256. Pick what happens to a picture that is not square underNot square. - Leave
Stored asonCompatibleunless you need the smallest file (PNG only) or an icon for very old software (BMP only). Then pressDownloadfor each icon, orDownload allfor a ZIP.
Example
What goes into the .ico for each size list and storage choice (computed by the same code the page runs; BMP sizes are exact, PNG sizes depend on the picture).
16, 32, 48 | auto
16, 24, 32, 48, 64, 128, 256 | auto
16, 32, 48, 256 | png
32 | bmp16, 32, 48 px, auto: 3 images, BMP inside; the BMP images take 14.7 KB
16, 24, 32, 48, 64, 128, 256 px, auto: 7 images, BMP, PNG at 256 px; the BMP images take 99.6 KB
16, 32, 48, 256 px, png: 4 images, PNG inside
32 px, bmp: 1 image, BMP inside; the BMP images take 4.2 KB
A 400 × 240 logo on the 256 px square with Fit: drawn 256 × 154 at y = 51, transparent above and below.Details
- An ICO file is a small container that holds the same icon at several sizes. Windows, browsers and apps pick the size that fits: 16 px in a browser tab or a file list, 32 and 48 px on the desktop and in Explorer, 256 px for large icons and high-DPI screens. One .ico with all of them looks sharp everywhere, where a single-size icon is scaled and blurred.
- Each size is drawn from your original picture, not from the next size up. Large photos are shrunk in halving steps for the small sizes, which keeps thin lines and text cleaner than one big jump. An SVG is drawn as a vector at every size, so even 256 px stays crisp.
Compatiblestores the sizes below 256 px as 32-bit BMP images with an alpha channel and a transparency mask, and the 256 px size as a PNG, which is how Windows' own icons are made and what every version of Windows and every icon reader opens.PNG onlymakes the file several times smaller and works in all browsers and in Windows Vista and later.BMP onlysuits old tools and editors that cannot read PNG inside an icon.- A picture that is not square is fitted on a transparent square by default, so nothing is cut off.
Crop to a centred squarefills the icon instead and trims the long sides;Stretch to squarekeeps everything but changes the shape. - For a website,
Favicongives the classic favicon.ico (16, 32 and 48 px): put it at the root of your site. For the full set of PNG icons, the web manifest and the HTML lines, use the Favicon Generator.
Limits
- Any number of images; up to 25 MB (MiB) and 40 megapixels each. An ICO holds sizes from 1 to 256 px: larger sizes are refused with a message.
- A picture smaller than the biggest size asked for is enlarged and may look soft; a warning names the sizes. Start from 256 px or more, or from an SVG.
- Animated GIF, WebP and AVIF files give their first frame. HEIC photos are not read here: convert them to JPG first. Icons are written in 8-bit sRGB with full transparency; colour profiles are not kept.
- Reading an .ico back into PNG files is not part of this page. The list is not kept: download before you reload or leave the page.
FAQ
How do I convert a PNG to an ICO file?
Drop the PNG on this page and press Download. With Icon sizes on Standard, the .ico holds 16, 24, 32, 48, 64, 128 and 256 px versions, each with its transparency, made in your browser without an upload.
Can I convert a JPG or SVG to ICO?
Yes. JPG, WebP, GIF, BMP, AVIF and SVG files are converted the same way. A JPG has no transparency, so its icon is fully opaque; an SVG is drawn sharp at every size.
What size should an ICO file be?
For a Windows program or shortcut icon include 16, 24, 32, 48 and 256 px (the Standard set adds 64 and 128). For a website favicon.ico, 16, 32 and 48 px are enough (the Favicon set): upload it to the root of the site. The largest size an ICO can hold is 256 × 256.
Does the ICO keep the PNG's transparent background?
Yes. Every size keeps full 8-bit transparency, stored as an alpha channel (with a mask for older readers) in the BMP sizes and as PNG transparency in the PNG sizes.
Is this ICO converter safe and free?
Yes. It is free, needs no account, and your pictures are decoded and packed into icons on your own device. They are never sent to tomz.dev or anyone else.
Runs entirely in your browser. Nothing is uploaded.