Favicon PNG Generator
Create common favicon and app icon PNG sizes from one image
Favicon PNG Generator — what it does
Upload one square image and download the set of PNG sizes browsers and devices actually request: favicon sizes for tabs, touch icons for iOS home screens, and the larger sizes Android and PWA manifests expect. One source image in, the whole icon family out, each size properly downscaled.
Worked example
A 400 × 400 logo.png produced the full set the moment it was selected; a second run with a 1200 × 300 banner shows what happens to a source that is not square.
| Source | Card clicked | Downloaded file |
|---|---|---|
| logo.png, 400 × 400 | 16 × 16 | favicon-16x16.png, 16 × 16 (182 bytes) |
| logo.png, 400 × 400 | 180 × 180 | favicon-180x180.png, 180 × 180 |
| logo.png, 400 × 400 | 512 × 512 | favicon-512x512.png, 512 × 512 — enlarged from 400 |
| header-banner.jpg, 1200 × 300 | 512 × 512 | favicon-512x512.png, 512 × 512 — the banner sits as a 512 × 128 strip in the middle, the rest transparent |
There is no Run button: six cards (16, 32, 48, 180, 192 and 512) appear when the file is chosen, the status line reads 6 PNG sizes ready, and each PNG button saves that one size.
When this tool helps
- Generating the icon set for a new website from the logo mark.
- Producing the touch and manifest icons a PWA needs to install cleanly.
- Refreshing icons after a rebrand without reopening the original design files.
How to use it
- Choose a square source image, ideally 512 pixels or larger.
- Let the tool render each standard size.
- Download the PNG files.
- Reference them from your HTML head and manifest.
Accuracy, limits, and good practice
- Design for 16 pixels: a mark that survives the smallest favicon works everywhere; fine detail and thin strokes vanish at tab size.
- Start from a flat, high-contrast version of your logo rather than a photograph — icons read as shapes, not pictures.
- Browsers cache favicons aggressively; append a version query to the icon URL when you replace one, or you will keep seeing the old icon.
Frequently asked questions
Do I still need an ICO file?
Modern browsers accept PNG favicons. The ICO format matters mainly for very old browsers and some Windows contexts.
What HTML do I add?
Link tags for the favicon sizes and an apple-touch-icon link, plus icon entries in the web manifest for the large sizes.
Why does my icon look blurry in tabs?
Usually a non-square or small source. Start square at 512 pixels or more so each downscale stays crisp.
Can I download all six sizes at once?
No. Each card has its own PNG button and saves a single file named favicon-<size>x<size>.png; there is no ZIP, so the full set takes six clicks. The cards are rebuilt from scratch whenever you choose another file.
What happens to a logo that is not square?
It is scaled to fit inside the square and centred, and the leftover area is left transparent rather than filled — a 1200 × 300 banner becomes a 512 × 128 strip across the middle of a 512 × 512 PNG. Crop to a square first if the icon should fill the tile.
Related tools on this site
- Batch Image Format Converter — Convert multiple images to JPG, PNG, or WebP in a ZIP file
- Image Color Inverter — Invert image colors or create a photographic negative
- Image Histogram — Inspect brightness and RGB distribution in an image
Further reading: Getting images ready for the web, email and social media
Everything above runs inside this page. Favicon PNG Generator needs no account, no upload, and no server round trip — close the tab and nothing is left behind.
Favicon PNG 產生器能做什麼
上傳一張方形圖片,下載瀏覽器與裝置實際會請求的整套 PNG 尺寸:分頁用的 favicon、iOS 主畫面的觸控圖示,以及 Android 與 PWA manifest 需要的大尺寸。一張來源圖進去,整個圖示家族出來,每個尺寸都經過正確縮放。
實際範例
400 × 400 的 logo.png 一選取就產生整套尺寸;第二次改用 1200 × 300 的橫幅,可以看到非正方形來源的處理方式。
| 來源 | 點選的卡片 | 下載的檔案 |
|---|---|---|
| logo.png,400 × 400 | 16 × 16 | favicon-16x16.png,16 × 16(182 bytes) |
| logo.png,400 × 400 | 180 × 180 | favicon-180x180.png,180 × 180 |
| logo.png,400 × 400 | 512 × 512 | favicon-512x512.png,512 × 512——由 400 放大 |
| header-banner.jpg,1200 × 300 | 512 × 512 | favicon-512x512.png,512 × 512——橫幅成為中間 512 × 128 的一條,其餘透明 |
沒有執行按鈕:選好檔案後會出現六張卡片(16、32、48、180、192、512),狀態列顯示 6 PNG sizes ready,每張卡片的 PNG 按鈕只儲存該尺寸。
什麼時候用得上
- 用商標圖為新網站產生整組圖示。
- 產出 PWA 乾淨安裝所需的觸控與 manifest 圖示。
- 改版品牌後更新圖示,不必重開原始設計檔。
使用步驟
- 選擇方形來源圖,建議 512 像素以上。
- 由工具算繪各標準尺寸。
- 下載 PNG 檔案。
- 在 HTML head 與 manifest 中引用它們。
精確度、限制與實務建議
- 以 16 像素為設計基準:能在最小 favicon 存活的圖形到哪都行;細節與細線在分頁尺寸下會消失。
- 請從平面、高對比的商標版本出發,而不是照片——圖示靠形狀辨識,不靠畫面。
- 瀏覽器對 favicon 快取極兇;換圖時在圖示網址加上版本參數,否則會一直看到舊圖。
常見問題
還需要 ICO 檔嗎?
現代瀏覽器都接受 PNG favicon。ICO 主要影響非常舊的瀏覽器與部分 Windows 情境。
HTML 要加什麼?
各尺寸的 favicon link 標籤、一個 apple-touch-icon link,以及 manifest 中大尺寸的 icon 條目。
為什麼分頁上的圖示糊糊的?
多半是來源不方正或太小。請從 512 像素以上的方形圖開始,每次縮小才能保持銳利。
可以一次下載全部六個尺寸嗎?
不行。每張卡片有自己的 PNG 按鈕,各存一個名為 favicon-<尺寸>x<尺寸>.png 的檔案;沒有 ZIP,整套要按六次。換選另一個檔案時,卡片會全部重新產生。
非正方形的標誌會怎麼處理?
會縮放到塞進正方形並置中,多出來的區域保留透明而不填色——1200 × 300 的橫幅會變成 512 × 512 PNG 正中央一條 512 × 128 的圖。若希望圖示填滿整格,請先裁成正方形。
本站相關工具
延伸閱讀: 為網頁、電子郵件與社群媒體準備圖片
以上步驟全部在這個頁面內完成,Favicon PNG 產生器 不需要註冊、不上傳檔案、也不經過伺服器,關閉分頁後不會留下任何資料。