How to add a favicon to your website
- Choose your logo, or switch to From text or emoji and type a letter.
- Pick a shape, background and padding, and check the tab and home-screen previews.
- Download the ZIP and upload its files to your website's root folder (or the folder you entered).
- Paste the HTML into the
<head>of your pages. Browsers cache favicons, so a hard refresh may be needed to see the change.
What's in the package
| File | Used by |
|---|---|
| favicon.ico (16, 32, 48 px) | All browsers, bookmarks, Windows |
| favicon-16x16.png, favicon-32x32.png | Browser tabs on high-resolution screens |
| apple-touch-icon.png (180 px) | iPhone and iPad home screens |
| android-chrome-192x192.png, android-chrome-512x512.png | Android home screens and installed web apps |
| maskable-icon-512x512.png | Android adaptive icons (extra safe-zone padding) |
| site.webmanifest | Web app name, colours and icons |
| favicon.svg (text icons only) | Sharp icon at any size in modern browsers |
Tips
- Simplify: at 16 pixels, a single letter or symbol reads much better than a full logo with words.
- Check the dark tab preview. A dark logo on a transparent background can disappear in dark browser themes, so add a background or padding.
- Emoji look different on each device because they come from the device's emoji font. The icons are drawn with the emoji on your device.
Frequently asked questions
What files do I get?
A ZIP with favicon.ico (16, 32 and 48 px), PNG icons at 16, 32, 180, 192 and 512 px, a site.webmanifest file and the HTML tags to paste into your page's head.
What image works best?
A square logo or symbol with a transparent background and little detail. Fine text becomes unreadable at 16 pixels, so try a single letter or icon instead.
Why does the Apple icon have a background?
iPhones and iPads fill transparent areas of the home-screen icon with black, so the tool adds a solid background to the Apple touch icon. You can choose its colour.