PNG to ICO Converter

Turn a PNG into one ICO file holding several icon sizes, for favicons and Windows.

PNG. Drag or paste files here.

Processed on your device. Never uploaded.

Icon sizes

Smaller sizes are resized from the largest.

Add images first

Converted images don't keep camera or location data.

To convert PNG to ICO, add your PNG, tick the icon sizes you need (16, 32 and 48 px are chosen) and select Convert. The largest size is resized from your image, each smaller size from that one, and all are stored in one ICO file with transparency kept. A non-square image is centered on a transparent square. Download the ICO, or several as a ZIP.

A PNG to ICO converter turns a PNG image into an ICO file, the icon format Windows and browsers use for favicons and app icons. One ICO holds several sizes: in the worked example, a 160 × 120 px logo becomes logo.ico with 16, 32 and 48 px icons.

How to convert PNG to ICO

  1. Select Choose images, or drag a PNG onto the drop area. You can also click the drop area and paste it with Ctrl+V (⌘V on Mac).
  2. Under Icon sizes, tick the sizes you need: 16, 24, 32, 48, 64, 128 or 256 px.
  3. Select Convert. The result lists the sizes in the ICO and its file size.
  4. Select Download, or Download all (ZIP) for several PNGs at once.

A file that isn’t a PNG gets a message with a link to the page that converts it.

Icon sizes

Size Typical use
16 × 16 Browser tabs and bookmarks
24 × 24 Windows taskbar at 100% scale
32 × 32 Browser tabs on high-density screens, small Windows icons
48 × 48 Medium Windows icons
64 × 64 Windows title bar and system tray at 400% scale
256 × 256 Large Windows icons

The largest size you choose is resized from your image, and each smaller size from that one, so no size is made from a smaller one.

Square icons from any image

Icons are square. A PNG that isn’t is centered on a transparent square as wide as its longer side, so nothing is cropped or stretched. If the largest size you choose is larger than your image, it is enlarged, which adds no detail, and the page notes it.

How it works

Your browser decodes the PNG. A background worker centers it on a transparent square and resizes it to the largest size with pica, an open-source resizing library, then each smaller size from that one. Your browser’s encoder then saves each size as a 32-bit PNG. The tool packs them into one ICO file. The ICO holds no text, author, date or other metadata from the PNG.

Limits

Sources

Worked example

Inputs

PNG
logo.png, 160 × 120 px, 696 bytes
Sizes
16, 32 and 48 px, the default

Results

Saved as
logo.ico, 2.3 kB
Not square
Centered on a transparent square as wide as its longer side, then resized to 16, 32 and 48 px

Frequently asked questions

Which sizes should a favicon ICO include?

16 px covers browser tabs and bookmarks, 32 px the same on high-density screens and 48 px medium icons in Windows, which is why they are chosen. Add 256 px for an icon Windows shows in large views. More sizes make a larger file. For a Windows app icon, Microsoft recommends at least 16, 24, 32, 48 and 256 px.

What happens if my PNG isn't square?

Icons are square, so the image is centered on a transparent square as wide as its longer side, then resized to the largest size you chose, and each smaller size from that one. Nothing is cropped or stretched. For the best result, start from a square image.

Why are the icons stored as PNG inside the ICO?

An ICO file can hold each size as a small PNG or as an older bitmap. PNG entries keep transparency and make smaller files than bitmaps at large sizes. Windows Vista and later and current browsers read them. Windows XP and older need bitmaps.

Do websites still need a favicon.ico?

When a page links no icon, browsers may look for /favicon.ico at the site's root, as the HTML standard allows. Putting this ICO there, next to any PNG icons your pages link, covers both cases.

Will the 16 px icon look sharp?

Each size is resized with a high-quality filter, the largest from your image and the smaller ones from the largest, but at 16 px fine detail and thin text disappear. Simple shapes with strong contrast read best at small sizes.

Search tools