PNG to ICO Converter

Drag & drop an image here or click to convert
Pt

PNG to ICO Converter

Convert PNG, JPG, SVG and WebP images into ICO icon files directly in your browser. An ICO file can hold several sizes of the same icon at once, so Windows and web browsers can each pick the one that suits the space they have. Choose the sizes you want, and the tool builds a single .ico file containing all of them with transparency intact.

How to Convert PNG to ICO

  1. Drag and drop your image into the upload area, or click to select it.
  2. Tick the icon sizes you need. 16x16, 32x32, 48x48 and 256x256 are selected by default.
  3. Click the download button to save the .ico file.

What sizes should my ICO file contain?

For a website favicon, 16x16, 32x32 and 48x48 cover the common cases: 16 is used in browser tabs, 32 on high resolution displays and in the Windows taskbar, and 48 for desktop shortcuts. Adding 256x256 is worth it if the same file will be used as an application icon, since Windows shows icons at that size in large-icon folder views.

There is no penalty for including a size you do not end up using beyond a slightly larger file, so the defaults here suit most projects.

Does converting to ICO preserve transparency?

Yes. ICO supports a full alpha channel, so transparent areas in a PNG, SVG or WebP stay transparent in the icon. JPG has no transparency to begin with, so a converted JPG keeps its solid background.

If your source image is not square, transparent padding is added to the shorter side by default so the icon is not stretched. You can switch to cropping instead if you would rather fill the square.

Why can't I create an icon larger than 256x256?

The ICO format stores the width and height of each image in a single byte each, which only reaches 255. When 256x256 icons were introduced, the value 0 was reused to mean 256 rather than changing the file layout. That leaves 256x256 as the largest size the format can describe, and it is a limit of ICO itself rather than of this tool.

If you need a larger image, use a PNG instead. You can convert one with the SVG to PNG converter.

Do I still need a favicon.ico file?

Not for browsers alone. Current versions of Chrome, Firefox, Safari and Edge all display PNG favicons declared with a link tag, and many sites now use an SVG icon as their primary favicon.

An .ico file at the root of your site is still useful as a fallback. Crawlers, feed readers and other software often request /favicon.ico directly without reading your HTML, so having one there avoids a stream of 404s in your logs.

Why is my browser still showing the old favicon?

Browsers cache favicons separately from ordinary page assets, so a normal hard refresh often will not update one. Loading the icon file directly in a tab usually forces it to refresh, and clearing site data for the domain will clear it as well.

If the icon still looks wrong after that, check that the file is being served from the path your link tag points at, and that any CDN in front of it has been purged.

How do I convert an image to an ICO file?

Drop a PNG, JPG, SVG or WebP file into the upload area above, choose the sizes you want, and download the result. A square source image of at least 256x256 gives the best result, since every smaller size is scaled down from it. Sizes larger than the image you upload are turned off, because scaling an icon up only blurs it. SVG files are an exception: being vector, they can be rendered at any size. Note that an SVG which links to external fonts or images will not include them, because images loaded this way cannot fetch outside resources.

The entire process runs locally in your browser and your image is never uploaded to a server, so your files stay private. No account, payment, or software installation is required.

Last reviewed: July 2026