Skip to the content

Contact usFree tools · No signup · Files stay on your device

Image Tools

PNG to ICO: the complete guide to making .ico icon files

PNG to ICO: the complete guide to making .ico icon files

An .ico file is not a single picture. It is a small container that holds the same icon at several sizes, so Windows or a browser can pick the one that fits: a tiny version for a tab, a large one for the desktop. Our free PNG to ICO tool builds that file from your PNG in your browser. It is for web developers who need a favicon.ico, for people making a Windows shortcut icon, and for anyone who was told "send me an ICO".

This guide covers every setting, how pictures are fitted into the squares, and the problems that show up most. If you also need the phone and home-screen icons for a website, read the notes on the Favicon Generator further down.

What PNG to ICO does

For each picture you add, the tool creates one .ico file holding every size you tick. It scales your picture to each size, places it on a transparent square, and packs all the squares into the file. Every size is stored as a PNG inside the container, which is what modern browsers and recent versions of Windows expect, and it keeps edges smooth and transparency intact.

It does not make a favicon package with HTML tags, and it does not remove backgrounds or redraw your artwork for tiny sizes. A detailed logo scaled to 16 pixels is still your detailed logo, just very small.

How to use PNG to ICO, step by step

  1. Open PNG to ICO.
  2. Press Choose PNG images, or drop one or more files on the box. You can add up to 50.
  3. Keep Output format on ICO. Under Icon sizes (pixels), tick the sizes you want.
  4. Press Convert image to ICO. With several files the button counts them.
  5. Each file gets a card with a note such as "Sizes: 16, 32, 48, 256 px." Press Download on a card, or Download all as ZIP.

A file named logo.final.png becomes logo.final.ico. The ZIP is called converted-ico.zip. Changing a tick after converting clears the old results, so press Convert again.

Every option explained

Icon sizes

The six choices are 16×16, 32×32, 48×48, 64×64, 128×128 and 256×256. Sizes 16, 32, 48 and 256 are ticked to start with. The hint under the boxes says they cover Windows and browser tabs.

What each size is used for:

Size Typical use
16 Browser tab, small lists
32 Taskbar, sharper tabs on high-density screens
48 Desktop and list views
64 Optional extra for some programs
128 Optional, larger views
256 Large icons in Windows Explorer and the Start menu

Each extra size makes the file larger, so for a website favicon you can untick 64 and 128 and even 256. For a Windows program or shortcut, keep 256.

If you untick every box, the page shows "Tick at least one size." and the Convert button cannot be pressed.

How the picture is fitted

The tool never stretches. It scales the picture so its longer side equals the icon size, keeps its shape, and centres it on a transparent square. A 300 × 100 banner becomes a 256 × 85 strip in the middle of a 256 × 256 icon, with empty space above and below.

The result: square pictures work best. If your logo is wide, crop it to a square first, or add the empty space yourself so you control how it looks. Crop Image can do the cropping.

Small pictures

If the picture's longer side is smaller than the biggest size you ticked, the larger sizes are scaled up and look soft. The card says so: "Smaller than 256 px, so the larger sizes are scaled up." Either start from a bigger picture or untick the big sizes.

Output format

The same page can also write JPG, PNG or WebP, since it is a general image converter that starts on ICO. If you switch away from ICO, the Icon sizes boxes disappear. For a plain PNG from an SVG, the SVG to PNG page is set up for that job.

What it accepts and its limits

  • Input: PNG is the usual choice, and JPG, WebP, GIF, BMP, AVIF and SVG work too. A GIF or TIFF contributes only its first frame or page, and the card says so.
  • Count and size: up to 50 pictures and 200 MB in total per run.
  • Transparency: kept exactly as your picture has it. A JPG, or a PNG with a white background, gives an icon with a solid background.
  • Output: one .ico per input picture. The tool does not merge several pictures into one file.
  • Errors: a damaged or non-image file shows "isn't a supported image (or it's damaged)".

Privacy

PNG to ICO works in your browser. The .ico is built on your device from your picture, so nothing is uploaded. This matters for unreleased brand artwork.

Preparing a good source PNG

The icon can only be as good as the picture you give it.

  • Start with a square PNG of at least 256 × 256 pixels, with a transparent background.
  • Keep the design simple. A thin line or small text that looks fine at 256 pixels may vanish at 16.
  • Leave a small margin, so the shape does not touch the edge of the square.
  • If your logo is an SVG, convert it to a square PNG at 512 pixels first with SVG to PNG, or give the SVG straight to this tool.

What to do with the .ico file

For a website. Name the file favicon.ico and put it in the root of your site. Browsers also look there by default. If you want the full setup with phone icons and the tags to paste into your page head, the Favicon Generator produces the set for you.

For a Windows shortcut. Right-click the shortcut, choose Properties, then Change Icon, and browse to the .ico file. A file with the 256 size looks sharp in large views.

For a program or installer. Many build tools ask for an .ico with several sizes. A file with 16, 32, 48 and 256 usually fits.

Common problems and how to fix them

The icon looks blurry

Check the card. If it says the larger sizes were scaled up, your source picture is too small. Use a larger PNG. If only the 16 pixel version looks muddy, simplify the design: fewer details, thicker lines.

The icon has a white square behind it

Your picture has a white background. The tool keeps what is there. Remove the background in an editor, or start from a transparent version of the logo.

The logo is small inside the icon

A wide or tall picture is fitted by its longer side, so empty bands appear. Crop the picture to a square before converting.

My browser still shows the old favicon

Browsers cache favicons for a long time. Try a hard refresh, open the site in a private window, or rename the file and update the link.

The Convert button is disabled

You have unticked every size. Tick at least one.

  • Favicon Generator: a full favicon set with phone icons and the HTML to paste.
  • SVG to PNG: make a clean square PNG from a vector logo first.
  • Resize Image: set an exact size for a PNG before converting.
  • PNG to SVG: trace a logo picture into a vector if you only have the small version.

Quick checklist

  • Use a square, transparent PNG of 256 pixels or more.
  • Keep 16, 32, 48 and 256 for a general-purpose icon.
  • Check the result card for the "scaled up" warning.
  • Name a website icon favicon.ico.
  • Test the icon at 16 pixels before you publish.

Frequently asked questions

Which icon sizes should I tick?
The page starts with 16, 32, 48 and 256 ticked, which covers browser tabs, the Windows taskbar and desktop shortcuts. You can also add 64 and 128. At least one size must be ticked or the Convert button stays disabled.
Will my picture be stretched into a square?
No. It is scaled to fit inside each square, keeping its shape, and centred on a transparent background. A square picture fills the icon completely, a wide one gets empty space above and below.
Does the ICO keep transparency?
Yes. Every size is stored inside the .ico as a PNG, so see-through areas stay see-through. If your PNG has a white background, the icon will have a white square, because the tool does not remove backgrounds.
Can I make an ICO from a JPG or an SVG?
Yes. Other image types work too. An SVG is drawn at 256 pixels first and then cut down to the sizes you tick, and for a JPG the icon has no transparency because the JPG has none.
Is a favicon.ico enough for a modern website?
It covers browser tabs, but phones and home screens use larger PNG icons too. The Favicon Generator makes the whole set and the HTML to paste into your page.
Found this useful? Share it

Tools in this guide

Main tool

PNG to ICO

Make .ico icon files from your PNG images, with 16, 32, 48, 64, 128 and 256 pixel sizes packed into one file.

Open tool

Favicon Generator

Create a complete favicon set from letters, an emoji or an image: favicon.ico, the PNG sizes for iPhone and Android, a web app manifest.

Open tool

SVG to PNG

Turn SVG logos and icons into sharp PNG images at exactly the size you need.

Open tool

Resize Image

Change the width and height of one photo or a whole batch, with presets for social media and passport photos.

Open tool

Back to all guides & blog