How to create a favicon
- Choose your logo. A square image at least 512 × 512 pixels with a transparent background gives the best result; SVG files work too.
- If the image isn't square, choose whether to fit it inside a square (adding space) or crop the center.
- Add padding if the logo touches the edges — icons shown on home screens look better with some breathing room.
- Click Download all, unzip the files into your website's root folder, and paste the HTML snippet into the
<head>of your pages.
Which files you get and why
| File | Size | Used by |
|---|---|---|
favicon.ico | 16, 32 and 48 px in one file | Browser tabs, bookmarks, Windows; browsers also request it automatically from the site root |
favicon-16x16.png, favicon-32x32.png | 16, 32 px | Modern browser tabs |
apple-touch-icon.png | 180 px | iPhone and iPad “Add to Home Screen” |
android-chrome-192x192.png, -512x512.png | 192, 512 px | Android home screen, installable web apps (PWA) |
site.webmanifest | — | Tells Android and Chrome the app name, icons and theme color |
The ICO file stores PNG images inside it, which every current browser and Windows since Vista supports, and keeps the file small.
Design tips for small icons
- Simplify. At 16 × 16 pixels, text and thin lines turn to mush. Use a single letter, a symbol or the simplest form of your logo.
- Check both themes. Browser tabs can be light or dark. A dark logo on a transparent background disappears in dark mode — consider a solid background color.
- Apple touch icons get a solid background. iOS fills transparent areas with black, so the tool always gives the 180 px icon your background color (white if you chose transparent).
- Clear the cache. Browsers cache favicons aggressively. If you don't see the new icon, open the favicon URL directly or try a private window.
Frequently asked questions
Is my logo uploaded?
No. The icons are drawn with your browser’s canvas, and the ICO and ZIP files are assembled in JavaScript on your device.
Where do I put the favicon files?
In the root folder of your website (the same folder as your home page’s index file), so that they are reachable at yoursite.com/favicon.ico. Then add the HTML snippet to every page’s head section — in WordPress, most themes have a “Site Icon” setting that does this for you.
Do I still need favicon.ico in 2026?
It is still worth including. Browsers fall back to /favicon.ico when a page doesn’t declare an icon, and some tools such as feed readers and older software only look there.
Can I make a favicon from an emoji or letter?
Yes — create a square image with the emoji or letter in any editor (or take a screenshot of it on a plain background), then use that image here.