What is a Image to Icon?
An image to icon converter wraps a picture in the ICO container that Windows uses for application shortcuts, folder icons and `favicon.ico`. This one takes your image, renders it at each size you tick, and writes those frames into a single file.
ICO is a container, not an image format. A 6-byte header says how many frames follow, each frame gets a 16-byte directory entry with its width, height, colour depth and byte offset, and then the pixel data is appended. Because width and height are stored in a single byte, 256 is written as 0 — the one irregularity in the format, and the reason a 256 px frame is legal in a container that otherwise stops at 255.
The frames here are PNGs, which is what Windows Vista and later expect and what lets a 256 px frame carry a real alpha channel without a separate mask. Older tooling wrote uncompressed 32-bit bitmaps, which is why a 256 px frame in that style makes the file enormous.
How to convert an image to an icon
- Drop a PNG, JPEG, WebP or SVG into the box. Square artwork works best; anything else is stretched to fill the square frame.
- Tick the sizes to include. 16×16 and 32×32 cover the taskbar and list views, 48×48 the desktop, and 256×256 the large-icon view and the Microsoft Store.
- Press Convert to .ico. Every frame is rendered from the original image rather than from a previously scaled frame, so the small sizes stay sharp.
- Check the preview and the frame list. A multi-size icon should show each size you selected.
- Download icon.ico and drop it into your project, or rename it `favicon.ico` and put it at the root of a website.
Image to Icon limits and rules
| Item | Limit |
|---|---|
| Frame sizes | 16, 32, 48, 64, 128 and 256 px — any combination |
| Frame encoding | PNG, the format Windows Vista and later read |
| Maximum file | Bounded by browser canvas memory; a few thousand pixels a side is comfortable |
| Aspect ratio | Always square — non-square sources are stretched, not cropped |
| Transparency | Kept; the alpha channel survives into every frame |
| Colour depth | 32-bit RGBA, reported in the directory entry |
| Output name | `icon.ico`; rename it to `favicon.ico` for a website |
| Not produced | macOS `.icns`, Android adaptive icons, SVG icons |
When to use it
- Shipping a Windows desktop application. An executable wants at least 16, 32, 48 and 256 px frames so Explorer, the taskbar and the Alt-Tab switcher each pick the right one.
- Replacing a website favicon. A 32 px `favicon.ico` at the site root is still the fallback every browser requests first.
- Custom folder icons in Explorer. Right-click a folder, choose Properties, Customise, and point it at the `.ico`.
- Shortcut icons on a desktop or in a Start menu entry, where a single 256 px frame is often enough.
- Game engine assets, since Unity, Godot and most launchers accept `.ico` for the player build.
Is it private?
Everything runs inside your browser. Your text and files are never uploaded, never stored and never seen by anyone else — including me. You can use the tool with the network tab open and watch no request leave the page. Closing the tab erases the input.
Frequently asked questions
At minimum 16, 32, 48 and 256 px. Windows picks per context: 16 px in the title bar and small list views, 32 px on the desktop and taskbar, 48 px in medium-icon view, and 256 px for large icons, Alt-Tab and the Store listing. Leaving out a size makes Windows scale a neighbour, which looks soft.
ICO frames are always square, and this tool scales the source to fill each one rather than cropping. A 16:9 screenshot therefore gets squeezed horizontally. Crop it to a square first, or add padding, if the proportions matter.
Yes. Download the file, rename it to `favicon.ico` and place it at the root of the domain. Add 16 and 32 px frames for browser tabs and bookmarks. For a sharper modern favicon, the Favicon Generator produces the PNG and SVG set that current browsers prefer alongside it.
Yes. Frames are encoded as 32-bit PNGs with an alpha channel, so a logo on a transparent background stays transparent on the desktop and in Explorer. Note that Windows draws the icon over whatever colour the theme uses, so pale artwork can disappear on a light taskbar.
Not immediately. Explorer caches icons by path and size, so a replaced file often keeps showing the old artwork. Rebuild the icon cache with `ie4uinit.exe -show` or restart Explorer, and give a new shortcut a new filename rather than overwriting one in place.
No. Each frame is drawn on a canvas in your browser and the ICO bytes are assembled in memory before the download starts. Nothing is sent over the network, so the tool keeps working with the page loaded and the connection off.
Related tools
Written and maintained by Md. Nur Hossain Repon.