How to make a favicon for your website (every size you need)
Which favicon files a website needs in 2026, what sizes they should be, and how to make favicon.ico, Apple touch and Android icons from one image.
Favicon generatorMake favicon.ico, app icons and the HTML tags from one image. Free, no upload.
What a favicon is
The favicon is the small icon in the browser tab, bookmarks and history. The same artwork is used, at larger sizes, when someone adds your site to their phone home screen. Search engines show it next to your result on mobile, so a blank or blurry one stands out.
The files you actually need
favicon.ico with 16, 32 and 48 pixel versions inside, for browsers and Windows. A 32 pixel PNG. A 180 pixel apple-touch-icon.png for iPhone and iPad home screens, with a solid background because iOS fills transparency with black. 192 and 512 pixel PNGs listed in a site.webmanifest file for Android and installable web apps.
| File | Size | Used by |
|---|---|---|
| favicon.ico | 16, 32 and 48 px | Browser tabs, Windows, older programs |
| favicon-32.png | 32 px | Browser tabs on sharp screens |
| apple-touch-icon.png | 180 px | iPhone and iPad home screen |
| icon-192.png | 192 px | Android home screen |
| icon-512.png | 512 px | Android splash screen, installed web apps |
| site.webmanifest | text file | Tells Android where the icons are |
Make them in one go
Open Favicon generator and drop a square logo, ideally an SVG or a PNG at least 512 pixels wide. Choose square, rounded or circle, add padding if the mark touches the edges, and pick a background. The previews show each size, with the tiny ones enlarged so you can check they still read.
Download the ZIP, put the files in the root folder of your site, and paste the HTML tags it gives you into the head of your pages.
Design tips
Favicons are tiny. A full logo with words turns to mush at 16 pixels, so use just the symbol or a single letter. Use strong contrast and thick shapes. Check it on both a light and a dark browser tab before you publish.
Check that it works
Open your site in a private window, because browsers hold on to old icons. Then open yoursite.com/favicon.ico directly: you should see the icon, not an error page. On an iPhone, use Share and Add to Home Screen to see the touch icon. If it appears with a black corner, the file has transparency; make it again with a solid background.
Getting it into Google results
Google shows a favicon next to each result. It needs to be square, at least 48 pixels, linked from the home page, and not blocked in robots.txt. After you change it, Google picks up the new one the next time it visits, which can take from a few days to several weeks. There is no way to rush it beyond asking for your home page to be crawled again in Search Console.
What about dark mode
An SVG favicon can contain a rule that changes its color when the browser is dark, and current Chrome, Edge and Firefox follow it. It is a nice extra for a black logo, which would vanish on a dark tab. A simpler fix is to put the mark on a colored square, which is readable on both.