站点介绍
![]()
Outfitting one site with icons took me three tools last time: an ICO converter, something to cut a 180x180 PNG, and a tab open to the HTML snippet docs. Forty minutes of tab-hopping for a 30KB file. This page puts those chores in one place: drop, check, download, done in a minute.
ICO is a container: a 6-byte header, a 16-byte directory entry per size, then data blocks. Since Windows Vista in 2007 (spec update 2005), those blocks may be PNG-encoded — which is why 256px icons dropped from hundreds of KB to tens. Every current browser and OS accepts it.PNG pass-through means exactly what it says: whatever bytes the Canvas encoder produces go into the entry verbatim, zero transcoding in between.
My habit: the web standard preset of 16+32+48+256 (one tap on this page), landing around 30KB; 64 and 128 only earn their keep when packaging desktop application icons. Don't check everything out of reflex — two extra entries is extra kilobytes, and a browser tab only ever uses one of them.
Yes. The ICO format specification allows each entry to be PNG-encoded, natively supported since Windows Vista, and every current browser and OS accepts it. This tool's packer writes each size's PNG data block straight into its ICO entry — no BMP conversion, no recompression, a real size win at 256px.
Take the easy route and select all — one file lands around 30KB. Watching bytes? Check 16/32/48 (legacy Windows and browser tabs) plus 256 (high-DPI and taskbar). 64 and 128 are nice-to-haves for the web; desktop application packaging is where they earn their keep.
When someone adds your page to the home screen on iPhone or iPad, iOS grabs this image as the icon. Apple asks for a 180x180 PNG (squared-off — the system rounds the corners itself) and does not accept ICO, so this tool exports it as a standalone PNG named apple-touch-icon.png by default.
Non-square images are center-cropped to a square first (icons are meant to be square). Images smaller than a target size get upscaled — anything beyond 2x triggers a warning, because stretching a small image only makes it blurry. Bring a source image of 256x256 or larger.
No. Rescaling, ICO packing and PNG generation all happen inside this device's browser — zero uploads, zero requests. Your size selections live only in this browser's localStorage and won't follow you to another device; the footer button clears them in one click.
Drop the downloaded favicon.ico into your site's root directory — most browsers look for /favicon.ico automatically. To be explicit, paste the generated snippet into every page's head: the two lines point at favicon.ico and apple-touch-icon.png respectively. Copy, paste, done.
中文版:https://www.9314.cn/tools/icon-converter/
评论列表 (0条)