PNG to ICO Converter
Turn a PNG, JPG or SVG into one .ico file with every size a favicon or a Windows icon needs.
Free, no account, and the image never leaves your browser.
Drop an image here or click to upload
Or paste with Ctrl+V · PNG, JPG, SVG, WebP
Need the icon from a website instead? Use the Favicon Downloader.
One file, several sizes
An ICO file is a small container that holds the same picture at several sizes. A browser takes the 16 or 32 pixel version for a tab, and Windows takes a bigger one for the desktop. Each size here is drawn from your original, not stretched from the size below it, so the small ones stay crisp.
Which sizes to pick
| Size | Where it shows up |
|---|---|
| 16×16 | Browser tabs, bookmarks, the address bar |
| 24×24 | Windows taskbar and small menus at 150% scaling |
| 32×32 | Tabs on high-resolution screens, the Windows taskbar |
| 48×48 | Desktop shortcuts and medium icons in Windows Explorer |
| 64×64 and 128×128 | Large icons in Explorer, and scaled-up displays |
| 256×256 | Extra large icons in Explorer and app installers |
For a website favicon, 16, 32 and 48 are enough. For a program or folder icon on Windows, include all of them.
Adding the ICO to a website
Name the file favicon.ico and put it at the root of the site, so it answers at /favicon.ico. Browsers look there even without a tag. To be explicit, add <link rel="icon" href="/favicon.ico" sizes="any"> to the <head>. If you also have an SVG version of the logo, link it after the ICO with type="image/svg+xml", and browsers that support SVG icons will use it.
Getting a sharp result
Start from the largest source you have, at least as big as the biggest size you pick. An SVG is ideal, because it is drawn fresh at every size. At 16 pixels fine detail disappears, so a simple mark or a single letter reads better than a full logo with text. If the logo has empty space around it, Trim Transparent Pixels removes it first, so the icon fills its square.
More Icon Tools
To see what icon another site uses, or to save it, the Favicon Downloader finds every icon a website declares and downloads it as PNG or ICO. Image Cropper & Resizer handles a crop that needs more control than the square options here.
FAQs
How do I convert a PNG to ICO?
Drop the PNG on the box above, or paste it. Pick the sizes you want, check the previews, and click Download. You get one .ico file that holds every size you picked.
Can I convert JPG, SVG or WebP to ICO too?
Yes. Anything your browser can open works, including JPG, SVG, WebP, GIF, BMP and AVIF. A JPG has no transparency, so its icon keeps the original background.
Which sizes should a favicon.ico have?
16×16, 32×32 and 48×48, which is what the Favicon preset picks. Browsers use 16 and 32 for tabs and bookmarks, and Windows uses 48 for shortcuts. Larger sizes only add file size to a favicon.
Which sizes does a Windows icon need?
Windows Explorer shows icons from 16×16 up to 256×256, depending on the view and the display scaling. The Windows icon preset includes all seven common sizes so each view gets a sharp image.
Is the transparency kept?
Yes. Transparent pixels in a PNG, SVG or WebP stay transparent in every size of the ICO file.
My image is not square. What happens?
Icons are square, so you choose: fit the whole image and fill the sides with transparency, or crop the middle into a square.
Are my images uploaded?
No. The conversion runs in your browser, so the image never leaves your device. It also works offline once the page has loaded.
Will the ICO work on old versions of Windows?
Yes. Sizes up to 128×128 are stored as classic 32-bit bitmaps, which every version of Windows reads. Only the 256×256 size is stored as PNG, which is how Windows itself stores it, and it is used only on Windows Vista and later.