AnyTool
Your files never leave your device. All processing happens locally in your browser.

Image to ICO

Convert images to ICO favicon files with multiple size layers

All Image Tools →

How do I convert PNG to ICO?

Open a PNG, JPG, SVG or WebP image in Image to ICO, tick the icon sizes you need (16, 32 and 48 px are ticked for a favicon) and download one .ico file that holds them all. Transparency is kept, and a non-square image is fitted whole or cropped to a square, never stretched. It runs in your browser, so nothing is uploaded.

  • 16, 32 and 48 px by default; 64, 128 and 256 px optional
  • Transparency kept: each size is stored as a PNG
  • Non-square images fitted or cropped, never stretched
  • Free, no sign-up, 100% in your browser

What is

ICO file

An ICO file is an icon container that holds the same picture at several sizes, so Windows and browsers can pick the sharpest one. Websites use it as favicon.ico.

Image Tools

Related terms

faviconicon sizesPNG

How to convert an image to ICO

Make a multi-size .ico favicon from a PNG, JPG, SVG or WebP image in your browser.

30 secWeb browser
  1. 1

    Open the image

    Drop a PNG, JPG, SVG or WebP image on the page, or choose it.

  2. 2

    Pick the sizes

    Keep 16, 32 and 48 px for a favicon, and add 64, 128 or 256 px if you need them.

  3. 3

    Choose the fit

    For a rectangular image, keep Fit whole image or choose Crop to square.

  4. 4

    Generate and download

    Click Generate ICO, then download the .ico file.

Result: A multi-size .ico file

Frequently Asked Questions

16, 32 and 48 px.

Those three cover browser tabs, bookmarks and Windows shortcuts, and they are ticked by default. Add 256 px if the icon will also be used as a large Windows icon.

Yes.

Each size is stored as a PNG inside the ICO, so transparent areas stay transparent.

It is fitted or cropped, never stretched.

By default the whole image is fitted into the square with transparent margins. Choose Crop to square to fill the icon with the centre of the image instead.

No.

The ICO is built in your browser; your image never leaves your device.

Use both.

Current browsers accept PNG and SVG favicons, but many browsers and tools still request favicon.ico from the site root. For a full set of PNG sizes, an Apple touch icon and the .ico in one ZIP, use Favicon Generator.

Yes.

ICO files that store their sizes as PNG work in Windows Vista and later, and in every current browser.

Detailed Explanation

How It Works

What Image to ICO does

Image to ICO turns a PNG, JPG, SVG or WebP image into one .ico file that holds the icon at every size you tick, ready to use as favicon.ico or as a Windows icon.

  • One .ico, several sizes
  • favicon.ico ready
Technical Details

How it works

The image is drawn on a canvas at each size you choose and saved as a PNG, and the PNGs are packed into the ICO container, smallest first. A non-square image is never stretched: it is fitted whole with transparent margins, or cropped to a centred square if you choose.

  • PNG stored inside the ICO
  • Fit or crop, never stretched
Use Cases

Use cases

A favicon.ico for a website, an icon for a Windows shortcut or app, or a multi-size icon for a desktop program.

  • Website favicons
  • Windows icons
Privacy & Security

Privacy

The icon is built entirely in your browser; your image is not uploaded.

  • 100% local
  • No upload
Which icon sizes to include
SizeWhere it is used
16 × 16Browser tabs and bookmarks
32 × 32Sharper tabs on high-resolution screens, Windows shortcuts
48 × 48Windows site icons and desktop shortcuts
256 × 256Large Windows icons

16, 32 and 48 px are ticked by default; 64, 128 and 256 px are optional.