Convert PNG to ICO online

Drop in a PNG logo below and get a real, multi-size favicon.ico — plus the standard PNG sizes browsers and phones actually use — built entirely in this tab. Nothing is uploaded.

Choose a PNG (or any image)

Drop a PNG here, or click to choose a file

PNG works best, but JPG, SVG, WebP and GIF are accepted too. Square and 512×512 or larger is ideal.

Why PNG needs converting to ICO at all

A PNG is a single image at a single resolution. .ico is a small container format that can hold several images of different sizes in one file, and it is specifically what browsers and Windows request automatically at /favicon.ico — a plain .png saved under that filename is not a valid .ico file, even though the extension is the only thing that would need to change for it to look right in a file browser.

This tool takes your PNG, generates 16×16, 32×32 and 48×48 versions of it on canvas, and writes the real .ico binary structure around those three images: a 6-byte header, a 16-byte directory entry per image, then the PNG bytes themselves. Nothing about that structure is a PNG rename — it is a genuinely different file format being assembled from your source.

Converting a PNG to ICO in three steps

  1. Drop your PNG file into the box above, or click it to open a file picker.
  2. Wait a moment while the 16, 32 and 48px previews render — this happens client-side and is near-instant for any normal logo file.
  3. Select Download favicon.ico. The file that downloads is a complete multi-size icon, ready to place at your site's root.

The same source also produces the 180, 192 and 512px PNGs the rest of a modern icon set needs, and a ready-to-paste <link> snippet for your page's <head> — both shown on this page alongside the ICO download.

Frequently asked questions

How do I convert a PNG to ICO without installing anything?

Drop your PNG into the tool above. It is decoded and drawn to canvas immediately, and once the 16, 32 and 48px versions are ready the Download favicon.ico button produces a single .ico file containing all three sizes — no install, no account, and no file leaves your device.

Will converting to ICO reduce my PNG's quality?

The PNG data inside the .ico is not recompressed or re-encoded from your source beyond the normal resize to each target dimension — it is the same PNG bytes the browser's own canvas.toBlob would produce for a direct PNG export at that size. Quality loss comes only from scaling a large PNG down to 16, 32 or 48px, which is unavoidable at those pixel counts regardless of which tool performs it.

Can I convert a transparent PNG?

Yes. The canvas preserves alpha transparency through every step, and the PNG-in-ICO entries this tool writes keep their alpha channel — the directory entry records a 32-bit colour depth specifically so the transparency survives.

Does the ICO only work if my PNG is exactly square?

No, but a square source gives the most predictable result. A non-square PNG is centre-cropped to fill each square canvas before conversion, so a wide or tall source will lose its outer edges rather than being squashed into a distorted square.

Why does the ICO only contain three sizes instead of six?

favicon.ico is only ever requested for browser-tab and Windows icon roles, which top out at 48px. The 180, 192 and 512px sizes exist for the apple-touch-icon and Web App Manifest roles, which are always referenced as standalone PNGs, never pulled from an .ico file — so including them would only make the file larger with no effect anywhere.