Blog Upload Shorten Tools Gallery FAQ Contact Sign in
📢 永久無廣告,自動清除EXIF,保護隱私內容
Tools

⭐ Favicon Generator

Every size plus a real .ico file

Browser tabs go dark in dark mode, where a transparent icon can disappear. If unsure, turn this off and pick a background.
At 16px an icon is tiny. A little breathing room usually reads better than filling the frame, but too much makes the shape unrecognisable.

ℹ️ Produces one .ico containing 16, 32, and 48px, plus the PNGs each platform expects. A square source with a simple shape works best.

🔒 Everything runs inside your browser — your files are never uploaded to our servers and we never see them. Close the tab and nothing is left behind.

Favicon Generator: before and after example
Original on the left, the actual output of this tool on the right — not a mock-up. Any file sizes or dimensions shown are real measured values.

Step-by-step

  1. Pick an image Square, and the simpler the shape the better. A favicon is as small as 16 × 16 pixels — about the size of one letter or one simple symbol. A detailed logo at that size becomes an indistinct smudge.
  2. Decide on the background It is opaque with a fill colour by default, because tab bars go dark in dark mode and a dark transparent icon all but disappears there. Only tick "keep transparency" if you genuinely need it.
  3. Set padding and corner radius Around 8% padding is usually right, keeping the shape off the edges. Rounded corners look better in Safari tabs on macOS and on phone home screens; push to 20–25% for an app-style icon.
  4. Press start You get seven files: one favicon.ico containing 16, 32, and 48px, plus six PNGs covering what each platform expects.
  5. Put them at the site root and paste the HTML Drop every file in your web root and paste the generated HTML into <head>. Having favicon.ico at the root matters on its own — browsers look there even without any HTML telling them to.

When you would use this

A launch-checklist item for any new site

A site with no favicon shows a blank default icon in the tab bar. With twenty tabs open, that means your site is visually absent. It is the cheapest item on a launch checklist with the most immediate effect.

The icon when someone adds you to a home screen

apple-touch-icon determines what appears when a visitor adds your site to their iPhone home screen. Without one, iOS grabs a screenshot of your page instead, which is almost always ugly.

Making a set from a logo, quickly

The designer supplied a logo but no favicon files — an extremely common situation. Drop it in, adjust the padding, and you have the whole set without going back to ask.

Generating from an SVG icon

Convert your vector icon to a 512px PNG with SVG to PNG first, then bring it here. Favicons that start from vector art come out cleanest at every size.

What you get

  • favicon.ico — one file containing 16, 32, and 48px, for your web root.
  • favicon-16x16.png / 32x32 / 48x48 — what modern browsers prefer for tabs.
  • apple-touch-icon.png (180px) — the icon when iPhone or iPad users add you to their home screen.
  • android-chrome-192x192.png / 512x512 — Android home screens and PWA install prompts.

The one design constraint that matters

It has to be recognisable at 16 pixels. That is the only real constraint on a favicon, and it is far stricter than people expect. 16 × 16 is roughly the size of one character — full logos, company names, fine strokes, and gradients all dissolve into mush at that scale.

What works in practice is taking the single most recognisable element of your logo: a first letter, a symbol, one distinctive shape. Look at sites you know well and you will find almost nobody puts a complete logo in a favicon.

After generating, open favicon-16x16.png and look at it. If you cannot tell what it is, your visitors certainly will not.


Frequently asked questions

Why is .ico still needed? Are PNGs not enough?
PNGs are enough most of the time, but .ico still earns its place for two reasons. First, it can hold several sizes in one file and let the browser pick. Second, browsers with no other instruction will simply try /favicon.ico. Putting one at the root costs essentially nothing and covers every odd case.
Why do you recommend against transparency?
Because the tab background changes. It is white in light mode and dark grey or black in dark mode. A transparent icon drawn in dark strokes nearly vanishes on a dark tab. Filling a background — even white — guarantees it is visible in both. If you do need transparency, choose an icon colour with enough contrast against both.
Is 16px really that small?
Extremely. 16 × 16 is about the size of one character in this sentence. The practical advice is to use a single letter, one simple symbol, or the most recognisable element of your logo — never the full logo plus a company name. Check the generated favicon-16x16.png and see whether you can still tell what it is.
Do I have to write site.webmanifest myself?
The generated HTML references it, but this tool does not create that file. It is a small JSON listing your site name and the paths to the 192 and 512 icons. If you are not building a PWA, deleting the <link rel="manifest"> line is perfectly fine.

What you might need next

Image work rarely ends in one step. These pair up with Favicon Generator most often:

Want to share the result? Upload turns images, photos, or videos into a short link with optional password, expiry, and view limits. Or head back to all 12 tools.


More tools