A square image at least 512 × 512 px works best
Previews
HTML for your <head>
The ZIP contains favicon.ico (16, 32 and 48 px), PNG icons at 16, 32, 180, 192 and 512 px, a maskable 512 px icon, site.webmanifest and these tags in a text file.
How to make a favicon
Add your logo
Choose a square PNG or SVG. A simple mark or a single letter reads best at 16 pixels.
Adjust and preview
Pick a background, padding and corners. Check the light and dark tab previews.
Download and install
Upload the files to your site's root folder and paste the HTML tags into every page.
Favicon sizes and where they are used
| File | Size | Used for |
|---|---|---|
| favicon.ico | 16, 32, 48 | Older browsers, bookmarks and tools that look for /favicon.ico automatically |
| favicon-16x16.png | 16 × 16 | Browser tabs on standard screens |
| favicon-32x32.png | 32 × 32 | Tabs on high-resolution screens, taskbar shortcuts |
| apple-touch-icon.png | 180 × 180 | iPhone and iPad home screen bookmarks |
| android-chrome-192x192.png | 192 × 192 | Android home screen and installed web apps |
| android-chrome-512x512.png | 512 × 512 | Install prompts and splash screens |
| maskable-icon-512x512.png | 512 × 512 | Android launchers that crop icons into shapes |
Designing an icon that works at 16 pixels
- Simplify. Full logos with small text turn into a smudge. Use the symbol on its own, or the first letter of your name.
- Use strong contrast. Tabs can be light or dark. The two tab previews above show both, so you can spot an icon that disappears on one of them.
- Fill the space. Leave padding at 0–5% for browser tabs. Extra padding makes the icon look smaller than other sites' icons.
- Avoid thin lines. Lines under about 1/16 of the width vanish at small sizes.
Installing the icons
Upload the PNG files, favicon.ico and site.webmanifest to the top level of your website, so they open at addresses like https://example.com/favicon.ico. Then paste the HTML tags inside the <head> section of every page, or in your site's shared header template. Browsers cache favicons heavily, so after updating an icon you may need to open the page in a private window, or wait a day, to see the change. Search results can take several weeks to show a new favicon.
Need to resize or crop the logo first? Use the crop tool to make it square, or the converter to turn WebP into PNG.
Questions
What size should a favicon be?
Browsers mainly use 16×16 and 32×32 pixels for tabs and bookmarks, and 48×48 in some places. Phones and installed web apps use 180×180 (Apple) and 192×192 and 512×512 (Android and Chrome). This tool makes all of them from one image.
Do I still need a favicon.ico file?
It is still worth including. Some browsers, feed readers and tools request /favicon.ico automatically even when no tag points to it. The file made here contains 16, 32 and 48 pixel versions in one ICO.
What is a maskable icon?
Android can crop app icons into circles, squircles or rounded squares. A maskable icon keeps the logo inside the central safe zone with a solid background to the edges, so nothing important is cut off whatever shape the phone uses.
Why does the Apple touch icon have a background?
iPhones and iPads show transparent parts of a home screen icon as black. The Apple icon is therefore always made with your background colour, and iOS rounds the corners itself.
Where do I put the files?
Upload them to the root folder of your website, the same folder as your homepage, then paste the HTML tags into the <head> of every page. On Cloudflare Pages, Netlify or GitHub Pages that means the top level of the folder you publish.
Is my logo uploaded?
No. Every icon and the ZIP are made in your browser on your own device.