Favicon HTML 片段生成
可复制 link 标签。
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />
<meta name="theme-color" content="#3b82f6" />- 文件自动删除
- 在浏览器内运行
- 无需注册
- 安全处理
Platform Dimension Specifications & Compression Benchmark
Standard dimension requirements across search engines, mobile OS, and WebAssembly Oxipng lossless byte reduction.
| Target Platform / OS | Required Dimensions | Format & Delivery | Oxipng Wasm Weight | Byte Savings |
|---|---|---|---|---|
| Google Search SERP | 48×48 px (multiples of 48) | .ico, .png | 4.6 KB | -68.9% |
| Apple iOS / iPadOS Safari | 180×180 px | .png (apple-touch-icon) | 14.8 KB | -67.9% |
| Android Chrome & PWA | 192×192 px & 512×512 px | .png (site.webmanifest) | 59.1 KB | -69.3% |
| Windows Edge & Desktop | 16×16, 32×32, 48×48 px | Multi-resolution .ico | 8.8 KB | -69.5% |
| Legacy Web Browsers | 32×32 px / 16×16 px | .ico (/favicon.ico) | 3.1 KB | -67.0% |
* Benchmark measurements based on lossless RGBA Oxipng WebAssembly compression executing locally in modern web browsers.
关于此工具
配置路径并复制可用于生产的 HTML。 Favicon HTML 片段生成 — 可复制 link 标签。. FetchFavicon 完全在您的浏览器中运行,因此您的文件绝不会上传到我们的服务器。使用 Favicon HTML 片段生成 生成生产级网站图标、应用图标并完成日常图像处理——免费、无水印、无需注册。
相关工具
Favicon Generator
Generate a complete favicon pack (ICO + PNGs) for every device and browser.
Favicon Package Generator
One upload, every icon size your site needs — packaged as a ZIP.
Favicon Checker
Check any website's favicon — validate sizes, formats, and missing icon variants.
SVG Optimizer
Clean SVG markup and reduce file size in your browser.
指南
常见问题
图片会上传到服务器吗?
不会。处理完全在浏览器中进行,文件不会离开您的设备。
支持哪些浏览器?
Chrome、Safari、Firefox、Edge 及现代移动浏览器。