HomeTools › Favicon Generator

Favicon Generator

Made by the twittyn team · Updated August 2026

Turn any image — or just one or two letters — into a complete favicon set. You get every PNG size browsers ask for, a real multi-size .ico file and the HTML tags to paste into your <head>. Everything is rendered on your own device; nothing is uploaded.

One image rendered at every favicon size with a browser tab preview
One image rendered at every favicon size, with a live browser tab preview — made with this tool.
Drop an image here
or click to choose a file

The .ico contains 16, 32 and 48 px in one file.

Add an image or type a letter — your favicon set appears here.

How to make a favicon

  1. Add your artwork. Drag a logo, mark or photo onto the box, or click to pick a file. A square PNG or SVG-exported PNG at 512 px or larger gives the cleanest result, but any image works — it is fitted inside the icon without distortion.
  2. No logo? Use letters. Switch to the Letters tab and type one or two characters. Pick a background and text colour with enough contrast and you have a perfectly respectable monogram favicon in about ten seconds.
  3. Shape it. Set a background colour or make it transparent, choose a corner radius (or a full circle) and add a little padding so the artwork is not jammed against the edges. Around 10 % padding is a good default.
  4. Check the tab preview. The two mock tabs show the icon at the size people actually see it, on both a dark and a light tab bar. If you cannot tell what it is there, simplify it before going further.
  5. Download. Grab the individual PNGs you need, and the .ico if you still support old browsers. Then copy the HTML snippet at the bottom into your page.

Which favicon sizes do you actually need?

Favicon guides love to list twenty files. In practice a modern site needs four or five, and each of them has one concrete job:

Designing an icon that works at 16 pixels

A favicon is not a small logo. It is a separate piece of design that happens to share your logo's identity. At 16 px you have 256 pixels in total — roughly the information budget of a single emoji — so every decision has to earn its place.

How to add it to your site

The tags go inside <head>, anywhere before the closing tag — conventionally near the top with your other metadata. Upload the PNGs to a folder such as /icons/, put favicon.ico in the site root, and reference them with absolute paths starting with / so they resolve identically on every page and subdirectory.

The root /favicon.ico path is a convention, not a requirement. Browsers and many crawlers will request it automatically even if you never link to it, so having a file there stops a stream of 404s in your logs. Everything else needs an explicit <link> tag. If you ship a web app manifest, list the 192 and 512 px icons there rather than in the HTML.

Then there is caching. Browsers cache favicons unusually aggressively — often far beyond the lifetime of your normal cache headers, and sometimes in a separate icon database that a plain reload does not touch. If your new icon does not show up, hard-refresh (Ctrl/Cmd + Shift + R), open the icon URL directly in a tab to confirm the new file is really being served, or simply change the filename (favicon-v2.png) and update the tag. Renaming is the only method that works reliably every time, and it is what we do ourselves.

Is my image uploaded?

No. Every size is drawn on your own device with the HTML5 Canvas API, and the .ico is assembled byte by byte in JavaScript in your browser. Your image is never sent to a server, never stored and never seen by us — there is no upload step at all, which also means the tool keeps working offline once the page has loaded. More detail in our Privacy Policy.

FAQ

Why is my favicon not updating?

Almost always browser caching. Favicons are cached far more aggressively than page assets, sometimes in a dedicated icon store that ignores a normal refresh. Try a hard refresh, then open the icon file's URL directly to check which version the server is actually returning. If it is still stale, rename the file and update the <link> tag — a new URL sidesteps the cache entirely. Also check for a proxy or CDN in front of your site holding an old copy.

Do I still need a .ico file in 2026?

Only for compatibility. Every current browser prefers PNG icons declared with <link rel="icon">. The reason to keep a root favicon.ico is that old Internet Explorer builds, legacy Edge, some feed readers and various crawlers request that exact path regardless of your tags. It costs a few kilobytes and eliminates a class of 404s.

Can I use a PNG with transparency?

Yes, and for tab icons it often looks good. The exception is apple-touch-icon: iOS composites home-screen icons onto black, so a transparent 180×180 turns into a dark blob. Give that size — and ideally the 192 and 512 manifest icons too — a solid background colour.

What about SVG favicons?

Modern browsers support <link rel="icon" type="image/svg+xml" href="/icon.svg">, and an SVG can even adapt to dark mode via a media query inside the file. It is a nice progressive enhancement, but you still want PNGs and an .ico as fallbacks, since older browsers and most non-browser clients ignore SVG icons.

Does my source image have to be square?

No. Non-square images are fitted inside the icon area without stretching, so nothing gets distorted — you just get empty space on two sides. If that bothers you, crop to a square first with our image resizer, or add a background colour here to fill the gap.

Next: resize the rest of your site's images with the image resizer, pick matching brand colours with the colour palette generator, or browse everything in twittyn tools.