How to Make a Favicon for Your Website (Sizes, Files and HTML Code)
Create a favicon from your logo, initials or an emoji, learn which sizes you really need in 2026, and add the right HTML code so it shows everywhere.

Open ten browser tabs and look at the little icons on each one. The sites with a clear favicon are the ones your eyes find first. Sites without one show a grey globe, and that small detail makes a website look unfinished.
The good news: making a proper favicon takes about two minutes, and you do not need a design program.
Favicon GeneratorCreate favicon.ico and all app icon sizes from an image, text or emoji.
Which files you actually need
Favicon advice online is full of outdated lists with twenty different sizes. For a modern website, this set covers browsers, phones and search results:
| File | Size | Used by |
|---|---|---|
| favicon.ico | 16, 32 and 48 px inside one file | Older browsers, Windows, some crawlers |
| favicon-16x16.png | 16 × 16 | Browser tabs |
| favicon-32x32.png | 32 × 32 | Browser tabs on high-resolution screens |
| apple-touch-icon.png | 180 × 180 | iPhone and iPad "Add to Home Screen" |
| android-chrome-192x192.png | 192 × 192 | Android home screen |
| android-chrome-512x512.png | 512 × 512 | Android splash screen, app installs |
| site.webmanifest | — | Tells Android which icons to use |
The generator creates all of these and packs them into one ZIP file, together with the HTML code.
Option 1: Use letters or an emoji
If you do not have a logo yet, a bold letter or two on a coloured background looks clean and professional. Choose Text / Emoji, type one or two letters, pick a background colour and a shape (rounded square, circle or square), and check the preview at small size.
Tips for text favicons:
- One or two characters maximum. Three letters become unreadable at 16 pixels.
- High contrast. White on a strong colour, or dark on a light colour.
- Use your brand colour so the tab matches your website.
Option 2: Use your logo
Choose Image and upload your logo. A few things make a big difference:
- Use a square image. A wide logo shrinks into a thin line. If your logo has an icon part and a text part, use only the icon.
- Use a transparent background. PNG or SVG with transparency looks best on light and dark browser themes. If your logo is on a white box, the background remover can cut it out:
AI Background RemoverRemove image backgrounds automatically with AI, free and private.
- Simplify. Fine details and thin text disappear at small sizes. A bold shape is better than an exact copy of a detailed logo.
If your logo is an SVG file and you need a PNG version first, convert it here:
SVG to PNG ConverterConvert SVG files or code to high-resolution PNG images.
Install it on your website
- Download the favicon ZIP and unzip it.
- Upload all files to the root of your website, the same folder as your homepage (for example
public_html). - Paste the HTML code from the generator inside the
<head>section of your pages. It looks like this:
<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">
WordPress users: go to Appearance → Customize → Site Identity → Site Icon and upload the 512 × 512 PNG. WordPress creates the other sizes itself.
Why your new favicon isn't showing
- Browser cache. Browsers cache favicons for a long time. Open the site in a private window or add
?v=2to the icon links. - Wrong folder. Visit
yourdomain.com/favicon.icodirectly; if it does not load, the file is not in the root. - Google search results update the favicon only when Google recrawls your homepage, which can take days or weeks. Google also asks for an icon that is a multiple of 48 pixels, which the 192 and 512 PNGs satisfy.
Frequently asked questions
Do I still need favicon.ico in 2026? It is not strictly required by modern browsers, but some tools and crawlers still request it, so including it avoids errors in your server logs.
Can I use an SVG favicon? Modern browsers support SVG favicons, but Safari support is limited, so keep the PNG and ICO files as well.
What is the best size to design at? Design at 512 × 512 and check the 16 × 16 preview; if it still reads well, you are done.
Are my images uploaded? No. The favicon files are created in your browser.
A favicon is the smallest piece of your brand, but it is the one people see most often. Two minutes now makes every tab, bookmark and home screen look right.
Enjoying GoToolz?All tools are free. If they saved you time, you can support the project with a coffee.Support on Ko-fi ☕