Language: English

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.

Sizes
Non-square

What is ICO

ICO is the Windows icon file format; one .ico file can hold several images of different sizes. This page converts PNG, JPG, WebP, SVG and other images to ICO with 10 sizes to choose from, 16 to 256 pixels, keeping transparent backgrounds.

How to convert PNG to ICO

  1. Choose or drop an image — PNG, JPG, WebP, SVG, GIF and BMP all work.
  2. Pick sizes: choose “Windows icon” for an app, shortcut or folder icon, or “Website favicon” for a site icon — or tick sizes yourself.
  3. 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

Need to compress, resize or convert an image first? Use Image Compressor / Converter →

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.

Which sizes are in each preset, and can I pick my own?

"Windows icon" is 16, 24, 32, 48 and 256; "Website favicon" is 16, 32, 48 and 64; "All" is all 10 sizes from 16 to 256. You can tick sizes yourself in the size row, and when your selection matches no preset, none of the preset buttons is highlighted. At least one size must be ticked.

Why is the ICO much bigger than my PNG?

Sizes below 256 are stored as uncompressed 32-bit bitmaps, so larger sizes take far more space: about 17 KB for 64×64 and about 66 KB for 128×128. The "Website favicon" preset adds up to about 31 KB, and the 16–48 sizes of "Windows icon" total about 17 KB, plus the compressed 256 image. To keep the file small, skip the large sizes; 16 and 32 alone come to about 5 KB.

How many images can I convert at once? Is there a size limit?

One at a time. If you drop several, only the first is used and the page tells you which one. The image file can't exceed 50 MB, and a bitmap can't exceed 100 million pixels (SVG has no pixel limit). Every size is generated from that one image, so you can't use different images for different sizes.

My SVG comes out with the wrong proportions or missing parts. What should I check?

Check whether the SVG has width and height or a viewBox. With only a viewBox, its aspect ratio is used; with none of them, the SVG is treated as 300×150, so the proportions will be off. Also, external images and fonts referenced by the SVG aren't loaded; embed the images in the SVG and convert text to paths.

Can HEIC, TIFF or animated GIF be converted to ICO?

HEIC and TIFF can't; you'll see "is not a supported image format", so convert them to PNG or JPG first. GIF can be read but only its first frame is used, and ICO can't hold animation anyway. Readable formats are PNG, JPG, WebP, SVG, GIF and BMP; AVIF works if your browser can decode it.

Can it make macOS .icns files or mobile app icons?

No. It only produces .ico files, for Windows icons and website favicons. macOS .icns files and iOS or Android app icons use different formats and specs, so you need a tool made for them.