Image to ICO: Differences, Edge Cases & Pitfalls
Pack one image into a multi-size ICO container with 16, 32, 48 and 256 pixel entries for browser tabs, desktop shortcuts and app icons.
ICO is the Windows icon container: one file can hold 16×16, 32×32, 48×48 and 256×256 together so the OS picks the best size per context — exactly why a multi-size favicon stays crisp. Packaging happens locally in your browser.
Format Differences
| Aspect | PNG / JPEG (single size) | ICO (multi-size container) |
|---|---|---|
| Container | One file, one size | One file, up to 255 sizes |
| System usage | Browser scales it; may look soft | OS picks the closest size to render |
| Transparency | PNG: 8-bit alpha | Supported; large entries may embed PNG to keep alpha |
| Typical use | Web images, app assets | Favicons, desktop shortcuts, app icons |
| Sizes | Optimised per scenario | 16/32/48 required, 256 optional |
| Size on disk | Compact per size | Adds up, though small entries weigh little |
| Colour limits | None | Legacy BMP entries have palette caveats on old systems |
| Browser support | Universal | Universal (<link rel="icon">) |
Edge Cases
- Every entry must be square with a power-of-two size (16/32/48/64/128/256); non-square entries render incorrectly on some systems.
- The 16x16 entry has to be redrawn: shrinking a 256x256 turns to mush, so simplify strokes and drop hairlines for that size.
- Browsers cache favicons aggressively; after replacing, rename the file, add a version query, or verify in a private window.
- A dark-stroked icon disappears in dark mode — give it a light backing or ship two versions.
Common Pitfalls
- Shipping a single 256x256 blurs the tab icon and looks like poor generation quality.
- After swapping the favicon nothing changes — it is the browser cache, not the file.
- Converting a JPG (no alpha) to ICO puts a white box behind a round icon.
- Scaling the big artwork straight down to 16x16 mushes thin lines into an unrecognisable blob.
Related Tools
- Image to ICOConvert PNG, JPEG or WebP to ICO favicon format, with a full icon set from 16x16 to 256x256 packed into one .ico file so browsers pick the right size.
- Data Format ConverterConvert between JSON, YAML, TOML, XML and CSV in one place with a single paste and instant preview for seamless multi-format config and data conversion.
- PDF to ImageConvert each PDF page into a PNG or JPEG and download all pages as a zip or individually. Turn reports and scans into reusable pictures in the browser.
- Image to GIFTurn multiple images into an animated GIF with an adjustable delay, loop count and playback order, from PNG, JPEG or WebP. Preview before you export in one.