How to use the favicon generator
- Add a square logo or image. PNG with a transparent background works best.
- Check the preview at 16, 32 and 48 pixels to make sure it is still recognizable.
- Download the ZIP and copy the files to the root folder of your website.
- Paste the HTML snippet into the
<head>of your pages.
What is in the package
| File | Used by |
|---|---|
| favicon.ico (16, 32, 48 px) | Browser tabs, bookmarks, older browsers |
| favicon-16x16.png, favicon-32x32.png | Modern browser tabs |
| apple-touch-icon.png (180 px) | iPhone and iPad home screen |
| android-chrome-192x192.png, 512x512.png | Android home screen and install prompt |
| site.webmanifest | Tells Android which icons to use |
Designing an icon that works at 16 pixels
A favicon is tiny. Detailed logos turn into a smudge, so use a single letter, a simple symbol or the most recognizable part of your logo. Strong contrast matters more than fine detail. Test it against both light and dark browser themes.
Installing
Upload the files to the top level of your site so that yoursite.com/favicon.ico loads, then add the snippet to your page head. Browsers cache favicons aggressively, so a hard refresh may be needed to see a change.