Favicon 生成器

免费在线 Favicon 生成器。上传 Logo 或图片,下载包含 favicon.ico、PNG 尺寸和 apple-touch-icon 的 ZIP — 无需账户。

将 Logo 或图片拖放到此处 松开即可添加

选择文件

PNG、JPG、WEBP、GIF、BMP、TIFF、AVIF、HEIC — 最大 250 MB

A favicon generator that gives you every file you need

A favicon is the tiny icon in a browser tab, in bookmarks and on a phone's home screen when someone saves your site. This favicon generator takes one logo and produces the full set: a multi-size favicon.ico, crisp PNGs for modern browsers, and the Apple touch icon iOS uses for home-screen shortcuts.

Everything is created in your browser and handed back as a single ZIP, so you can drop the files into your site in a minute. It works for a hand-coded HTML site, a WordPress blog or an online store alike.

How to create a favicon

You'll need access to your website's files or its theme settings.

  1. 1

    上传 Logo 或图片

    将正方形 PNG、JPG、WEBP 或其他支持的图片拖放到上传区域(最大 250 MB)。正方形 Logo 效果最佳。

  2. 2

    生成 Favicon 包

    点击生成 Favicon 包。处理在浏览器中运行并自动构建多种图标尺寸。

  3. 3

    下载 ZIP

    下载包含 favicon.ico(16/32/48)、favicon-16x16.png、favicon-32x32.png 和 apple-touch-icon.png(180×180)的 ZIP。

  4. 4

    将文件添加到网站

    将 favicon.ico 放在网站根目录,在 HTML <head> 中链接 PNG 图标,供浏览器和 iOS 主屏幕使用。

What's in the ZIP

FileSizeUsed by
favicon.ico16, 32 and 48 px in one fileAll browsers, Windows shortcuts, tools that request /favicon.ico
favicon-32x32.png32 × 32 pxBrowser tabs on high-resolution screens
favicon-16x16.png16 × 16 pxBrowser tabs and bookmarks on standard screens
apple-touch-icon.png180 × 180 pxiPhone and iPad home-screen shortcuts

Add the favicon to your website

Upload the four files to the root of your site (the same folder as your home page), then add these lines inside the head section of your HTML:

  • <link rel="icon" href="/favicon.ico" sizes="48x48">
  • <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
  • <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
  • <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">

WordPress: go to Appearance → Customize → Site Identity and upload the 512-pixel version of your logo as the Site Icon, or add the files and tags through your theme. Shopify, Wix and Squarespace each have a favicon field in their site settings; upload favicon-32x32.png or your original square logo there.

Designing a favicon that reads at 16 pixels

  • Simplify. A full logo with a wordmark turns into mush at 16 pixels. Use the symbol alone, or the first letter of your brand.
  • Go bold. Thin strokes disappear. Thicken lines and remove small details before you upload.
  • Use strong contrast. Tabs can be light or dark. A solid shape on a transparent background, or a light symbol on a solid colored square, works on both.
  • Start square and large. A 512 × 512 or 1024 × 1024 PNG gives the generator plenty of detail to work with when it scales down.
  • Check it in a real tab. Open your site with several tabs and see whether you can spot your icon at a glance.

Free and private

This free favicon generator has no sign-up and no limits. Your logo is processed on your own device, so it isn't uploaded or stored anywhere. Building a mobile app as well? The app icon pack generator makes Android and iOS icon sets from the same image, and ICO to PNG pulls a PNG back out of an existing favicon.

更多工具

所有工具均免费、私密,几秒钟即可完成。

图片工具

49

常见问题

Favicon 生成器创建浏览器在标签页、书签和主屏幕中显示的图标文件。此工具从一次上传构建多尺寸 ICO 及 PNG 图标。
是的。此免费在线 Favicon 生成器无需注册、无水印、无需安装软件。适用上传限制(250 MB)。
可以。此工具构建多尺寸 favicon.ico(16×16、32×32、48×48),ZIP 中还包含 PNG favicon 和 apple-touch-icon 文件。
包含 16×16、32×32、48×48 的 favicon.ico,以及 favicon-16x16.png、favicon-32x32.png 和 iOS 用 180×180 的 apple-touch-icon.png。
至少 180×180 像素的正方形 Logo 或图标效果最佳。透明 PNG Logo 在微小 favicon 尺寸通常比复杂照片更清晰。
将 favicon.ico 上传到网站根目录,在 HTML head 中添加 <link rel="icon" href="/favicon.ico">。同时为现代浏览器链接 PNG 和 apple-touch-icon 文件。
生成在浏览器中运行。图片在本地处理,不会上传到 ImgTask 的服务器。
不会。ImgTask 不会为生成的 favicon 文件添加水印。

Blog

博客指南与技巧

简短实用的文章,帮你更好地使用 ImgTask,处理图片和 PDF。

View all articles

Processing…