Favicon 生成器
免费在线 Favicon 生成器。上传 Logo 或图片,下载包含 favicon.ico、PNG 尺寸和 apple-touch-icon 的 ZIP — 无需账户。
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
上传 Logo 或图片
将正方形 PNG、JPG、WEBP 或其他支持的图片拖放到上传区域(最大 250 MB)。正方形 Logo 效果最佳。
- 2
生成 Favicon 包
点击生成 Favicon 包。处理在浏览器中运行并自动构建多种图标尺寸。
- 3
下载 ZIP
下载包含 favicon.ico(16/32/48)、favicon-16x16.png、favicon-32x32.png 和 apple-touch-icon.png(180×180)的 ZIP。
- 4
将文件添加到网站
将 favicon.ico 放在网站根目录,在 HTML <head> 中链接 PNG 图标,供浏览器和 iOS 主屏幕使用。
What's in the ZIP
| File | Size | Used by |
|---|---|---|
| favicon.ico | 16, 32 and 48 px in one file | All browsers, Windows shortcuts, tools that request /favicon.ico |
| favicon-32x32.png | 32 × 32 px | Browser tabs on high-resolution screens |
| favicon-16x16.png | 16 × 16 px | Browser tabs and bookmarks on standard screens |
| apple-touch-icon.png | 180 × 180 px | iPhone 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转换为 JPG
JPG转换为 PNG
PNG转换为 WEBP
WEBP转换为 AVIF
AVIF转换为 TIFF
TIFF转换为 GIF
GIFFavicon / ICO
PDF 工具
12常见问题
Blog
博客指南与技巧
简短实用的文章,帮你更好地使用 ImgTask,处理图片和 PDF。