Command Palette

Search for a command to run...

PN

PNG to ICO Converter

Convert PNG images to ICO favicons in your browser, in batches

PNGtoICOConverts as soon as you add files
Icon sizes

ICO is the favicon container. The file holds one square icon for each size you picked.

Files (0)

No files yet

Add files and they convert right away. Change a setting and they convert again.

Built with open source libraries. Licenses

What is a PNG to ICO converter?

A PNG to ICO converter packs square copies of a PNG image, one per size you ask for, into a single .ico file. That is the part most people get wrong on the first try: an .ico is not one image with an unusual extension, it is a small container with a directory at the front listing every image inside it and where each one starts. Whatever reads the file - a browser drawing a tab, a desktop drawing a shortcut - looks at that directory and takes the entry closest to the size it needs.

This page writes four sizes and they are all ticked when you arrive: 16, 32, 48 and 256 pixels. Each ticked box becomes one square image inside the .ico, stored PNG-compressed with its alpha channel intact, and the sizes are written smallest first. Untick the ones you do not want and the file gets smaller. Untick all four and the converter falls back to writing all four, because an icon with nothing in it is not a useful file. The 256 ceiling is the format talking rather than the tool: an ICO directory entry records its width in a single byte, which is why 256 is the largest image an .ico can carry and why it is stored as the special value zero.

Start from a square PNG that is at least as large as the biggest size you tick. The converter scales your image down to each square, and scaling down is the direction that looks good. Feed it a 64 px source with 256 ticked and the 256 entry is a 64 px image stretched up four times, which is soft and blotchy at exactly the size a high-DPI screen shows off. A 512x512 export from your design tool covers every case with room to spare.

A non-square logo is the other common problem. The converter stretches the image to fill each square rather than letting it overflow or guessing at a crop, and it tells you it did: drop a 1024x256 wordmark and the row reads "The image was 1024x256, so it was stretched to squares of 16, 32, 48, 256 px." A stretched wordmark is unreadable at 16 px anyway. The fix is to decide what the small sizes should show before converting, not after. Usually that means cropping to the symbol on its own, or padding the wordmark onto a square canvas with transparent margins so it keeps its proportions and simply sits smaller inside the icon.

Here is a full run. Take a 512x512 file called logo.png, leave all four boxes ticked and drop it in. It converts straight away: the row shows the input size, an arrow, the output size and the size change, with the note "Contains 16, 32, 48, 256 px icons." under it, and the download icon on the row saves logo.ico. Untick 256 and the file converts again on its own: the same source now produces a much lighter file carrying three images, since the 256 px entry was most of the weight. Drop eight brand PNGs together and Download All (8 images) writes converted-ico.zip with every .ico inside, numbering duplicate names rather than overwriting them.

Everything runs client-side. Your browser decodes the PNG, draws it at each requested size on a canvas, encodes each square as PNG and assembles the .ico in memory, so the artwork never leaves the device and the page keeps working with the network disconnected once it has loaded. Transparency is preserved at every size, and nothing is filled in behind it. Metadata and colour profiles attached to the source are dropped by the canvas step. Images above 100 megapixels are refused with a message, empty files are refused, there is no cap on file size in bytes, and the tool is free, no signup, with a daily limit on conversions.

How to convert PNG to ICO

  1. Add your PNG files

    Drop PNG images onto the box marked "Drop PNG images here or click to upload", or click it to pick them. Each file starts converting as soon as it is added. A square source of 256 px or larger gives the best result at every icon size.

  2. Choose the icon sizes

    Under Icon sizes, tick the squares you want inside the .ico: 16px, 32px, 48px and 256px are all ticked by default. Each ticked box adds one image to the file, and ticking or unticking a box converts every added file again.

  3. Check each result

    Each row shows a thumbnail, its status, a size line with the change in size and a note listing the sizes it wrote, with a warning and the real dimensions if a non-square image had to be stretched into squares. Click the thumbnail to see the icon large and compare Before and After.

  4. Download the icon

    Press the download icon on a row to save a single file, or Download All (n images) in the list header, which saves converted-ico.zip with the batch inside.

Why convert PNG to ICO?

Plenty of places now take a plain PNG as an icon, so it is fair to ask why the older container is still worth making. Three jobs still call for a real .ico file.

A favicon.ico at the root of the site

Browsers and many other tools that show site icons look for /favicon.ico when a page does not declare an icon. A single .ico at that address answers all of them, and because it holds several sizes it looks right in a tab, a bookmark bar and a pinned shortcut alike.

Windows shortcuts, folders and installers

Windows reads .ico files for shortcut icons, custom folder icons and the icon embedded in an application. It picks the entry that matches the view, so the same file serves the small list view and the extra large icon view. A lone PNG cannot do that.

Keeping the transparency from your design export

Logos exported from a design tool are usually PNGs with a transparent background, and that is the right starting point. Each size written here is stored as a PNG inside the container, so the clear background comes through at 16 px and 256 px alike. Starting from a photo instead? The JPG to ICO converter covers that case, though a JPG brings no transparency with it.

PNG vs ICO: which to use

PNG and ICO compared as icon formats
FeaturePNGICO
What the file holdsOne image.Several square images, one per size, with a directory listing them.
CompressionLossless.Depends on each entry. This page stores every entry as lossless PNG.
TransparencyFull alpha channel.Full alpha in 32-bit and PNG entries, which is what this page writes.
AnimationNot in standard PNG.No.
Largest imageFar beyond anything an icon needs.256 x 256 pixels per entry.
Typical file sizeSmall for a single icon-sized image.Larger, since it carries every size. The 256 px entry is most of the weight.
Browser and software supportEvery browser and editor. Accepted as a favicon by current browsers.Every browser as a favicon, and Windows for shortcut and application icons.
Best forArtwork, web images and icons declared with a link tag.favicon.ico, Windows icons, and anywhere one file must cover several sizes.

Favicon sizes explained

Each size inside the .ico exists because something draws an icon at roughly that size. Which program uses which entry varies with the browser, the operating system and the display scaling, so treat the list below as the common case rather than a rule.

Where each ICO size is commonly used
SizeCommonly used for
16 pxBrowser tabs, the address bar and bookmark lists on standard displays.
32 pxBrowser tabs on high-density displays, and taskbar and shortcut icons in Windows.
48 pxDesktop shortcuts and medium icon views in Windows.
256 pxLarge and extra large icon views, and very high-density screens.

The small entries matter most, because they are the ones people see all day and the ones where detail runs out first. A logo with a wordmark, a thin outline or a tagline usually needs a simpler version for 16 and 32 px: the symbol alone, with strokes thick enough to survive being a few pixels wide.

Touch icons for phones are a separate file. An iPhone home screen shortcut, for example, uses a larger PNG declared with its own link tag, and an .ico does not replace it.

Privacy and security

  • Resizing and packing happen client-side with the browser's Canvas API. The PNG and the finished .ico never leave this tab.
  • An unreleased logo or brand mark can be converted without handing it to a third-party service.
  • The daily usage check sends a file count, the combined size in bytes and the target format. File names and image pixels are not included.
  • Metadata and colour profiles in the PNG are not copied into the icon entries.
  • Finished icons are held in memory until you remove them, press Clear All or close the tab, and no copy is stored on a server.

Key Features

  • Four icon sizes in one file

    16, 32, 48 and 256 px, each a separate image inside the .ico. Tick only the sizes you want and the rest are left out

  • PNG-compressed entries with alpha

    Each square is stored as a 32-bit PNG inside the container, so a transparent logo stays transparent at every size and no background is painted in behind it

  • Warns about non-square sources

    A wordmark or a banner is stretched to fill the squares, and the row tells you the original dimensions so you can go back and crop or pad rather than shipping a squashed icon

  • Batch conversion with a ZIP

    Add a whole set of brand PNGs at once and take them away as converted-ico.zip, with duplicate filenames numbered instead of overwritten

Frequently Asked Questions

Drop the PNG onto the box on this page and download the .ico from its row when it shows Complete. With the Icon sizes boxes left ticked, your browser draws the image at each size and assembles the .ico locally as soon as the file is added, with no button to press. Nothing is installed and nothing is uploaded.

Comments

0 comments

0/2000 characters

No comments yet. Be the first to share your thoughts!

png to icopng to ico filepng to ico converterconvert png to icopng to ico generatorchange png to icopng to ico formatconvert png to favicon icohow to convert png to icohow to save png as icofree online png to ico converter