全球免费使用

网站图标生成器

生成常用网站尺寸的 ICO 和 PNG 图标。

此工具会将文件或输入上传到我们的隔离处理器。任务完成后会删除工作文件。请勿提交敏感或机密材料。

输入

提示:按 Ctrl + Enter 运行

你的结果

结果将显示在这里。

下方的详细帮助目前仅提供英文版。

关于此工具

Modern websites use several icons: a favicon.ico for browser tabs, small PNGs for high-resolution tabs and bookmarks, a 180 × 180 apple-touch-icon for iPhone home screens, and 192 and 512-pixel icons for Android and installable web apps. This generator creates all of them from a single square logo and packs them into a ZIP with a short README.

For just an .ico file with a choice of sizes, the PNG to ICO converter runs entirely in your browser.

使用方法

  1. Choose a square logo, ideally at least 512 × 512 px with a transparent background.
  2. Run it.
  3. Download the ZIP and upload favicon.ico to your site root and the PNG icons to your site.
  4. Add link tags for the PNG icons with sizes matching the file names.

计算原理

The image is padded to a 512 × 512 transparent square, resized with Lanczos filtering to 16, 32, 48, 180, 192 and 512 pixels and saved as PNG; a multi-size ICO is written with the 16, 32 and 48 sizes.

计算示例

A local yoga studio has a 1000 × 1000 PNG logo. The ZIP contains favicon.ico, icon-16.png through icon-512.png and a README. The developer uses icon-180.png as the apple-touch-icon and icon-192.png and icon-512.png in the web app manifest.

局限性

  • No web manifest or HTML snippet is generated.
  • Non-square logos are padded with transparency.
  • Processed on the server; the image is deleted afterwards.

最后更新:

常见问题

What is the 180 px icon for?

iOS uses it when someone adds your site to the home screen (apple-touch-icon).

Do I need the 512 px icon?

For installable web apps (PWA) and some search features, yes.

Is a manifest file included?

No; the README explains how to reference the icons.

故障排除

The tab still shows the old icon.

Browsers cache favicons; clear the cache.

Small icons are illegible.

Use a simplified mark for 16 and 32 px.

White corners appear.

Use a source image with a transparent background.

隐私 & 免费使用

我的输入会被保存吗?

此工具会将文件或输入上传到我们的隔离处理器。任务完成后会删除工作文件。请勿提交敏感或机密材料。

这个工具免费吗?

是的。无需注册或付费。

服务器处理

推荐下一步