使用方法
- Upload an image — 点击拖拽区、拖入文件,或用 Ctrl/⌘+V 粘贴。 PNG with transparency works best.
- 选择图标尺寸 — 16、32 和 48 默认勾选,覆盖大多数浏览器标签和快捷方式需求;添加 64、128 和 256 用于高 DPI 和桌面快捷方式。右侧面板实时预览每个尺寸。
- 设置背景(可选)— 保持透明保留原始 Alpha,或填充白色/自定义颜色使不透明 Logo 在图标上可读。
- 调整内边距 — 百分之几的内边距让图形远离边缘,在 16 px 时更平衡。
- 下载生成的 favicon.ico 并在你的网站
<link rel="icon" href="/favicon.ico"> 中引用。
应包含哪些尺寸?
The browser picks the best entry from the file, so including more sizes only helps. 16 px is the classic browser tab size; 32 px is the high-DPI tab size; 48 px is used by Windows for taskbar shortcuts; 256 px is shown by Windows for large icon views and by some launchers. A 32 px-only file is fine for a minimal tab favicon; include 16, 32 and 48 for broad compatibility.
功能特性
- Builds a single multi-resolution .ico with 16–256 px entries.
- PNG-compressed entries — small files, supported by all modern browsers.
- Live preview of every selected icon size, rendered exactly as it ships in the file.
- Optional transparent padding so the glyph sits centered inside the square.
- White or custom background fill for opaque logos on transparent favicons.
- Accepts PNG, JPG, WebP and GIF source images.
- 全部运算在浏览器本地完成,你的数据不会上传到任何服务器。
相关工具