In this article
What a favicon is used for
A favicon appears in browser tabs, bookmarks, history and – on phones – on the home screen when someone saves your site. Google also shows site icons next to results in mobile search. A missing icon leaves a blank or generic globe, which looks unfinished.
The sizes you need
| File | Size | Used by |
|---|---|---|
| favicon.ico | 16, 32, 48 px inside one file | Browser tabs, older browsers, Windows |
| apple-touch-icon.png | 180 × 180 | iPhone and iPad home screen |
| icon-192.png and icon-512.png | 192 and 512 | Android home screen and app-like installs |
| site.webmanifest | – | Tells Android which icons and colours to use |
The Favicon Generator creates all of these in one download, plus the HTML to paste into your site.
Design tips for a tiny canvas
- Simplify. A full logo with words becomes unreadable at 16 pixels. Use the symbol only, or the first letter.
- High contrast. A bold shape on a solid background reads best on both light and dark browser themes.
- Square source image. Start from at least 512 × 512 pixels.
- No logo yet? Use the generator’s text mode: one or two letters on a coloured circle or rounded square.
Create your favicon
- Open the Favicon Generator.
- Upload a square logo, or switch to text mode and choose letters, colours and shape.
- Preview it at small sizes.
- Download the ZIP with the ICO, PNG icons, manifest and HTML snippet.
Adding it to WordPress
WordPress has a built-in option: go to Appearance → Customize → Site Identity → Site Icon (or Settings → General in block themes) and upload a square image of at least 512 × 512 pixels. Use the generated icon-512.png. WordPress creates the other sizes automatically.
Adding it to an HTML site
- Upload all the files to the root folder of your site (where your homepage file lives).
- Paste the generated HTML lines inside the
<head>section of every page. - Visit
yoursite.com/favicon.icoto check it loads.
“My favicon isn’t showing!”
- Browser cache: browsers remember favicons for a long time. Open the site in a private window or another browser to check.
- Wrong path: the file must be where the HTML says. Paths are case-sensitive on most servers.
- Google search results: Google updates site icons when it recrawls your homepage, which can take days or weeks.
Testing on real devices
After installing, open your site on a phone and use “Add to Home Screen” to see the app-style icon, check the browser tab on both light and dark themes, and bookmark the page to see the bookmark icon. If the icon looks blurry in any of these places, the source image was probably too small or the design too detailed – simplify it and generate the set again.
Matching colours
Use your exact brand colour from the logo with the Image Color Picker, so the icon matches the rest of your site.