How to create a favicon
- Choose your logo or image. PNG or SVG works best; JPG and WebP are supported too.
- Choose how it fits the square:
- Fit whole image keeps the entire logo visible and adds padding.
- Fill square crops the edges so the image fills the whole icon.
- Pick a background — transparent, white or black — and enter your site name.
- Click Generate favicons and download everything as a ZIP.
- Copy the HTML snippet into the
<head>of your website.
What you get
| File | Size | Used by |
|---|---|---|
favicon.ico |
16, 32, 48 px | Browser tabs, bookmarks, Windows, older browsers |
favicon-16x16.png |
16×16 | Browser tabs |
favicon-32x32.png |
32×32 | Browser tabs on high-resolution screens, taskbars |
apple-touch-icon.png |
180×180 | iPhone and iPad home screen |
android-chrome-192x192.png |
192×192 | Android home screen |
android-chrome-512x512.png |
512×512 | Android splash screens, app installs |
site.webmanifest |
— | Tells Android and installable web apps where the icons are |
The .ico file contains three sizes in one file, so browsers pick the sharpest one for the context.
Designing a good favicon
A favicon is usually shown at 16 or 32 pixels — smaller than a single letter on the page. What looks great as a full logo can become an unreadable smudge. Some tips:
- Simplify. Use your logo mark or the first letter of your brand rather than the full logo with text.
- Use strong contrast. Thin lines and pale colors disappear at small sizes.
- Check both light and dark tabs. Browsers increasingly use dark themes; a transparent icon with dark artwork may vanish. A solid background avoids that.
- Fill the space. Small icons benefit from using most of the square; choose Fill square or crop your logo tightly first with Crop Image.
About the Apple touch icon
iOS doesn’t support transparency on home screen icons — transparent areas are filled with black. To avoid that, the Apple touch icon is always generated with a solid background (white, unless you chose black). iOS also rounds the corners automatically, so don’t add your own rounded corners.
Adding the favicon to your site
Upload all files to the root of your website so they’re available at addresses like https://example.com/favicon.ico. Then paste the HTML snippet into the <head> of every page — in most site builders and CMSs there’s a “custom head code” or theme setting for this. Many platforms, such as WordPress, also have a dedicated Site Icon setting where you can upload the 512×512 PNG directly.
Testing your favicon
After uploading the files and adding the snippet, check your work:
- Open your site in a new private window to avoid cached icons.
- Visit
https://your-site.com/favicon.icodirectly — you should see the icon. - On a phone, use Add to Home Screen and check the icon on your home screen.
- Look at the tab in both light and dark browser themes.
If an old icon keeps showing, add a version parameter to the links, for example href="/favicon.ico?v=2", so browsers fetch the new file instead of reusing the cached one.
Favicons and search results
Google shows favicons next to search results on mobile and desktop. Google’s guidelines ask for a favicon that is square, crawlable and visually represents your brand, and recommend providing a version that is larger than the tiny tab sizes. The generated set covers that: the favicon.ico includes a 48-pixel version, and the 192- and 512-pixel PNGs give search engines and devices a sharp, high-resolution image to use. Check Google’s current favicon documentation for the latest requirements. It can take a while for a new favicon to appear in search results after Google recrawls your home page.
Private and instant
All icons are created in your browser from your original image. Nothing is uploaded, so you can safely use logos for products that haven’t launched yet.