PNG to ICO converter
Convert PNG to ICO in your browser: a real multi-size icon, 16 to 256 px, that works as a website favicon and as a Windows icon. Nothing is uploaded.
Drop files here
or
Accepts .png · Up to 20 files at a time · up to 80 MB each "Upload" and "download" here mean your browser reading a file from this device and writing one back to it. Your file is never sent to a server — open your browser's network panel and watch: no request carries your file.
What is inside the .ico
The file is a standard multi-size icon: one picture per size, packed together, so Windows and browsers each take the one that fits instead of shrinking a single image on the fly.
| Size | Stored as | Where it is used |
|---|---|---|
| 16 px | 32-bit bitmap | Browser tabs, list and details views |
| 24 px | 32-bit bitmap | Small icons at higher display scaling |
| 32 px | 32-bit bitmap | Desktop, taskbar, sharp favicons on high-DPI screens |
| 48 px | 32-bit bitmap | Medium icons in File Explorer |
| 64 px, 128 px | 32-bit bitmap | Large icons, and medium icons at higher scaling |
| 256 px | PNG | Extra large icons |
The small sizes are bitmaps with a full alpha channel, which every version of Windows and every icon reader understands. The 256 px picture is PNG-compressed, as Windows stores its own icons, which keeps it to a few kilobytes instead of 256 KB of raw pixels. Sizes larger than your image are left out rather than blown up, and a picture that is not square is centred on a transparent square instead of being stretched.
Measured on four test images
| Source PNG | Sizes in the ICO | ICO file |
|---|---|---|
| 1024 × 1024 logo, transparent background | 16, 24, 32, 48, 64, 128, 256 | 111 KB |
| 800 × 400 banner | the same seven, centred on a transparent square | 105 KB |
| 40 × 40 icon | 16, 24, 32 | 7.9 KB |
| 12 × 12 icon | 12 (its own size) | 0.7 KB |
How it was checked: each ICO was read back by Pillow, by ffprobe and by Chrome, and all three found the same sizes. Every bitmap size was then loaded through the Windows icon API (System.Drawing on Windows 10), which returned the matching size with transparent pixels still transparent. One limit showed up: that older .NET API skips PNG-compressed pictures, so when asked for 256 px it fell back to the 128 px one. File Explorer has read 256 px PNG pictures since Windows Vista. Converted in Chrome on a laptop with an Intel Core i7-1165G7, 27 October 2026.
Using it as a favicon
Name the file favicon.ico and put it in the root of your site — browsers request /favicon.ico on their own. To say so explicitly, add <link rel="icon" href="/favicon.ico" sizes="any"> to the page head. The browser takes the 16 or 32 px picture, so the tab icon is made from your full-size artwork rather than squeezed out of one large image.
Using it as a Windows icon
For a shortcut: right-click it, choose Properties, then Change Icon, Browse, and pick the .ico. For a folder: Properties, then Customize, then Change Icon. Desktop app projects take the same file as their icon resource. Keep the .ico somewhere it will stay, because a shortcut points at the file rather than keeping a copy.
What it does not do
- Every size is scaled from your one image. Icon designers often draw the 16 px version separately so its lines land on whole pixels. If yours looks muddy at 16 px, simplify the artwork: thicker shapes, fewer details, more contrast.
- You cannot choose the sizes. The set covers what Windows asks for. The bitmaps are uncompressed, so a full set is around 100 KB — a one-off download for a favicon, which browsers cache.
- No macOS .icns and no cursor files (.cur). This makes icons for Windows and the web.
- Nearly transparent pixels can lose a little colour. The browser reads your PNG through a canvas, which stores colour multiplied by transparency; fully transparent and fully opaque pixels are exact.
Other ways to make one
GIMP can export an .ico too: open the PNG, add one layer per size, scale each layer, then Export As with an .ico name — every layer becomes one size in the file. It takes longer but lets you retouch the 16 px layer by hand. Favicon generator sites produce an .ico along with a set of PNGs and a web manifest, which is useful for a full app icon set, though most of them upload your image to do it.
PNG to ICO FAQ
Is this a real ICO file?
Yes. It is a standard multi-size ICO: 16, 24, 32, 48, 64 and 128 px pictures as 32-bit bitmaps with transparency, plus a 256 px picture compressed as PNG — the same layout Windows uses for its own icons. Sizes larger than your PNG are left out rather than blown up.
Will it work as a website favicon?
Yes. Save it as favicon.ico in the root of your site. Browsers take the 16 or 32 px picture from it, and because each size was made from your full image, the tab icon stays sharp.
Can I use it for a Windows shortcut, folder or app?
Yes. Windows picks the picture that fits the view — 16 px in lists, 32 or 48 px on the desktop, 256 px for extra large icons. For a shortcut, open Properties and choose Change Icon; for a folder, Properties, Customize, Change Icon.
What source image should I use?
A square PNG of 256 × 256 or larger gives you every size. A smaller image gets only the sizes up to its own, and one that is not square is centred on a transparent square rather than stretched. Keep the artwork simple and high-contrast so it still reads at 16 pixels.
Why is the .ico larger than my PNG?
Because the sizes up to 128 px are stored as uncompressed bitmaps — the form every Windows program can read — so a full set comes to around 100 KB however simple the picture. Only the 256 px one is compressed.
Should I use a PNG or SVG favicon instead?
Use one alongside it if you like. Many sites link a PNG or SVG icon in the page head and keep favicon.ico for the default path that older browsers, feed readers and other tools still request. An .ico is also what Windows needs for shortcuts and folders.