免費 · 無需註冊 · 服務端執行

從任意圖片 一鍵生成完美網站圖示

將圖片轉換為專業 favicon,支援 SVG、PNG、JPG 等所有主流格式。下載包含全部尺寸的完整 favicon 安裝包,在任何裝置和瀏覽器上都能完美顯示。

極速處理· SVG 支援· 多種格式

上傳您的圖片

拖放圖片到此處或點選瀏覽,我們將生成您需要的全部 favicon 尺寸。

將圖片拖到此處

或點選瀏覽檔案

選擇檔案
PNGJPGGIFWEBPBMPSVGICO≤10MB
正在生成 favicon 安裝包…
抱歉,該檔案無法處理。請使用 10 MB 以內的方形 PNG、JPG、GIF、WebP、BMP 或 SVG 圖片。
favicon preview

您的 favicon 安裝包已就緒

ZIP 內含 ICO、PNG、Apple 圖示、Android 圖示和 web manifest。

下載 favicon 安裝包

完美 Favicon 所需的一切

一個專業的 favicon 生成器,提供製作清晰、隨處可用圖示所需的全部工具與格式。

極速處理

使用最佳化的轉換引擎,秒級處理圖片,無需等待,沒有延遲。

SVG 支援

完整支援 SVG 檔案,經過最佳化與縮放,呈現完美效果。

全裝置適配

為桌面、手機、平板和 PWA 生成所需的全部尺寸。

完整安裝包

一鍵下載所需一切:ICO、PNG 檔案、Apple touch 圖示和 web manifest。

多種格式

支援 PNG、JPG、GIF、WebP、BMP、SVG —— 可從任意主流格式轉換。

即用即走

提供 HTML 程式碼片段和安裝說明,立即可用。

跨瀏覽器相容

完美相容 Chrome、Firefox、Safari、Edge 等所有現代瀏覽器。

高品質

先進的影象處理技術,確保每個尺寸都清晰銳利。

專業級

生成全球頂尖網站都在使用的行業標準 favicon 包。

8+
支援格式
6
圖示尺寸
100%
瀏覽器相容
0s
處理時間

簡易安裝指南

按照以下簡單步驟,將新的 favicon 新增到您的網站。

1

下載 Favicon 安裝包

使用上方的生成器建立並下載完整的 favicon 安裝包(ZIP 檔案)。

2

解壓檔案

將 ZIP 中的全部檔案解壓到網站根目錄(與 index.html 同一資料夾)。

3

新增 HTML 程式碼

複製下方 HTML 程式碼,貼上到頁面的 <head> 部分。

4

測試您的 Favicon

部署網站後,確認 favicon 能在瀏覽器標籤頁、書籤和移動裝置上正確顯示。

各框架整合程式碼

選擇您的技術棧並複製即用程式碼。檔案放在站點根目錄(Next.js App Router 則放在 app/ 目錄)。

index.html
<link rel="icon" href="/favicon.ico" sizes="any">
<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">
<link rel="manifest" href="/site.webmanifest">
// app/layout.tsx
// 1. Drop these files into app/ (Next.js auto-detects them):
//    - favicon.ico, icon.png, icon.svg, apple-icon.png
// 2. For extra PNG sizes + a manifest, declare them here:
import type { Metadata } from 'next'
import './globals.css'

export const metadata: Metadata = {
  icons: {
    icon: [
      { url: '/favicon.ico', sizes: 'any' },
      { url: '/favicon-32x32.png', sizes: '32x32', type: 'image/png' },
      { url: '/favicon-16x16.png', sizes: '16x16', type: 'image/png' },
      { url: '/favicon.svg', type: 'image/svg+xml' },
    ],
    apple: ['/apple-touch-icon.png'],
  },
  manifest: '/site.webmanifest',
}

export default function RootLayout({ children }) {
  return (
    <html lang="en"><body>{children}</body></html>
  )
}
// pages/_document.tsx
import { Html, Head, Main, NextScript } from 'next/document'

export default function Document() {
  return (
    <Html>
      <Head>
        <link rel="icon" href="/favicon.ico" sizes="any" />
        <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" />
        <link rel="manifest" href="/site.webmanifest" />
      </Head>
      <body><Main /><NextScript /></body>
    </Html>
  )
}
// Vue (public/index.html) — put files in public/
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">

// Nuxt 3 (nuxt.config.ts)
export default defineNuxtConfig({
  app: {
    head: {
      link: [
        { rel: 'icon', href: '/favicon.ico', sizes: 'any' },
        { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/favicon-32x32.png' },
        { rel: 'apple-touch-icon', sizes: '180x180', href: '/apple-touch-icon.png' },
        { rel: 'manifest', href: '/site.webmanifest' },
      ],
    },
  },
})
// 1. npm i gatsby-plugin-manifest
// 2. gatsby-config.js — point icon at a 512x512 PNG
module.exports = {
  plugins: [
    {
      resolve: 'gatsby-plugin-manifest',
      options: {
        name: 'Your App Name',
        short_name: 'App',
        start_url: '/',
        display: 'standalone',
        icon: 'src/images/android-chrome-512x512.png',
      },
    },
  ],
}

// Also copy favicon.ico to the static/ folder for the browser fallback.
// src/app.html — files live in static/
<!doctype html>
<html lang="en">
  <head>
    <link rel="icon" href="/favicon.ico" sizes="any" />
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
    <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
    <link rel="manifest" href="/site.webmanifest" />
    %sveltekit.head%
  </head>
  <body data-sveltekit-preload-data="hover">
    <div style="display:contents">%sveltekit.body%</div>
  </body>
</html>
檔案放在哪裡?把 favicon.ico、icon.png 和 apple-icon.png 直接放進 app/ 目錄,Next.js 會自動識別,無需手寫 link 標籤。
site.webmanifest
{
  "name": "Your App Name",
  "short_name": "App",
  "icons": [
    {
      "src": "/android-chrome-192x192.png",
      "sizes": "192x192",
      "type": "image/png"
    },
    {
      "src": "/android-chrome-512x512.png",
      "sizes": "512x512",
      "type": "image/png"
    }
  ],
  "theme_color": "#ffffff",
  "background_color": "#ffffff",
  "display": "standalone"
}

包含的檔案

您的 favicon 安裝包將包含以下檔案。

favicon.icofavicon-16x16.pngfavicon-32x32.pngapple-touch-icon.pngandroid-chrome-192x192.pngandroid-chrome-512x512.pngfavicon.svgsite.webmanifest

專業提示

  • 將所有 favicon 檔案放在網站根目錄,以獲得最佳相容性。
  • 更新 favicon 後強制重新整理(或清除快取),即可立即看到變化。
  • 在不同裝置和瀏覽器上測試 favicon,確保顯示正確。

常見問題

關於 favicon 生成與使用的常見問題解答。

支援哪些圖片格式?
可以上傳 PNG、JPG、GIF、WebP、BMP 或 SVG 檔案。為獲得最清晰的效果,建議使用至少 512×512 畫素的方形圖片,檔案大小不超過 10 MB。
原始圖片應該多大?
理想情況是 512×512 或更大的方形圖片。生成器會乾淨地縮小,因此大而清晰的源圖能得到最好看的小圖示。
支援 SVG favicon 嗎?
支援。SVG 會保留為向量 favicon.svg,在現代瀏覽器中清晰呈現;同時也會柵格化為全部 PNG 和 ICO 尺寸,相容舊瀏覽器。
會生成哪些 favicon 尺寸?
安裝包包含 16×16 與 32×32 PNG、多解析度 favicon.ico、180×180 Apple touch 圖示、192×192 與 512×512 Android/PWA 圖示,以及 web manifest。
如何把 favicon 新增到我的網站?
將 ZIP 解壓到網站根目錄,並把提供的 HTML 片段貼上到頁面的 <head> 中。上方有完整說明和各框架程式碼。