Favicon Generator

Generate favicon.ico and PNG app icons from any image.

🔒 Files stay on your device

How to use / 使用步骤

  1. Upload a square logo or icon image.上传一张方形的 logo 或图标图片。
  2. The tool generates favicon.ico plus PNG icons in several sizes.工具生成 favicon.ico 及多种尺寸的 PNG 图标。
  3. Download and reference them from your site's root.下载并放进网站根目录引用。

About Favicon Generator / 关于本工具

A favicon is the tiny icon shown in a browser tab, bookmark bar and history list — the little image next to your page title. A site without one looks unfinished and is harder to spot among many open tabs. Browsers and devices ask for the icon in several sizes: 16×16 and 32×32 for tabs, 180×180 for an Apple touch icon when someone saves your site to a phone home screen, and 192×192 / 512×512 for Android and progressive web apps. This tool produces that whole set from a single source image.

favicon 是浏览器标签页、书签栏和历史记录里显示的小图标——标题旁边那张小图。没有它的网站显得没做完,在一堆打开的标签里也更难找。浏览器和设备会要不同尺寸的图标:标签页用 16×16 和 32×32,有人把网站存到手机主屏时用 180×180 的 Apple 触摸图标,安卓和 PWA 则用 192×192 / 512×512。本工具能从一张源图生成这一整套。

Start from the right source / 从合适的源图开始

Use a square image with a simple, bold design — fine detail and small text vanish at 16 px. A solid background usually reads better than transparency at tiny sizes. After downloading, drop the files in your site's root and link them in the page <head>; the .ico file covers older browsers while the PNGs handle modern devices. Generating icons locally means your unreleased logo never gets uploaded anywhere.

用方形、设计简洁醒目的图片——精细的细节和小字在 16px 下会消失。小尺寸下,纯色背景通常比透明更清楚。下载后把文件放进网站根目录,在页面 <head> 里链接它们;.ico 兼顾旧浏览器,PNG 应对现代设备。在本地生成图标,意味着你尚未发布的 logo 不会被传到任何地方。

FAQ / 常见问题

What sizes do I need? 需要哪些尺寸?
16/32 px for tabs, 180 px for Apple, 192/512 px for Android & PWA. 标签 16/32px、苹果 180px、安卓与 PWA 192/512px。
Should the source be square? 源图要方的吗?
Yes — a square, bold, simple design works best at tiny sizes. 是的,方形、醒目、简洁的设计在小尺寸下最好。
Where do I put the files? 文件放哪里?
In your site root, linked from the page . 放网站根目录,并在页面 里链接。

Related tools / 相关工具