How to make a favicon
- Tap Choose a logo or image and select a square image, ideally at least 512 × 512 pixels.
- The generator creates a favicon.ico and PNG icons in six sizes.
- Download the files you need and upload them to your website's root folder.
- Copy the HTML snippet into your page's
<head>.
If your image isn't square, it's cropped from the center, so keep the important part of your logo in the middle.
What each file is for
| File | Size | Used by |
|---|---|---|
| favicon.ico | 16, 32, 48 px | Browser tabs, bookmarks, Windows |
| favicon-16x16.png | 16 px | Browser tabs |
| favicon-32x32.png | 32 px | Browser tabs on high-resolution screens |
| favicon-48x48.png | 48 px | Google search results, Windows |
| apple-touch-icon.png | 180 px | iPhone and iPad home screens |
| icon-192.png | 192 px | Android home screens, web app manifests |
| icon-512.png | 512 px | Splash screens, web app manifests, install prompts |
The ICO file holds several sizes inside one file, and browsers pick the best one for the screen.
Design tips for small icons
A favicon is shown as small as 16 pixels, where detail disappears:
- Simplify. Use your logo mark or first letter, not the full logo with text.
- Use strong contrast so the icon is visible on both light and dark browser tabs.
- Fill the square. Thin icons with lots of empty space look tiny in tabs.
- Check it small. Look at the 16 px preview before you publish.
Favicons in Google search
Google shows your favicon next to your site in mobile search results. Google asks for a square favicon that's a multiple of 48 px and clearly represents your brand, and it can take some time for a new favicon to appear after Google recrawls your site.
Related tools
To pick your brand color for the background, use the color converter. Everything runs in your browser; your logo isn't uploaded.