To add a favicon to your website, create a small square icon, upload it to your site, and add a <link rel="icon"> tag to the <head> of every page. The fastest way is a favicon generator: upload one square logo, download the icon pack, and paste the ready-made HTML it gives you. The whole job takes about five minutes, and this guide walks through every step, including the sizes, the code, and what to do when the new icon refuses to show up.
Do it in minutes, free: use our Favicon Generator — upload one square logo (512 × 512 px or larger works best) and it builds the complete pack for you: a multi-size favicon.ico, PNG icons, the 180 × 180 Apple touch icon, and the 192 × 512 Android icons, plus the ready-to-paste HTML. Everything is generated in your browser, with no account and no upload to a server.
What Is a Favicon, and Where Does It Show Up?
A favicon — short for "favourite icon" — is the small square image that stands for your website. The name dates back to Internet Explorer 5, which saved a site's icon with its bookmarks (then called "favourites"). It is small — 16 pixels wide on a standard tab — but it is the one piece of branding a visitor sees on every single page, and a missing one leaves a blank space where your brand should be.
Today the same icon appears in at least six places. In the browser tab, it sits to the left of your page title and is how visitors pick your tab out of twenty open ones. In bookmarks and the bookmarks bar, it replaces the generic globe or document icon. In browser history and address-bar suggestions, it marks your pages. On a phone, it becomes the home-screen shortcut icon when someone saves your site. In Google Search results on mobile, it appears next to your site name. That reach is why a favicon matters out of proportion to its size: in a crowded tab bar, a site with no favicon is the one tab with no identity at all.
Favicon Sizes and Formats in 2026
Different surfaces ask for different sizes, but the practical set in 2026 is small — six files cover every browser, phone, and search result in active use:
| File | Size | Format | Where it is used |
|---|---|---|---|
| favicon.ico | 16, 32 and 48 px in one file | ICO | Browser tabs, bookmarks, direct /favicon.ico requests |
| favicon-16x16.png | 16 × 16 | PNG | Browser tabs on standard displays |
| favicon-32x32.png | 32 × 32 | PNG | Browser tabs on high-DPI displays, taskbar shortcuts |
| apple-touch-icon.png | 180 × 180 | PNG | iPhone and iPad home-screen shortcuts |
| icon-192x192.png | 192 × 192 | PNG | Android home screen, via the web app manifest |
| icon-512x512.png | 512 × 512 | PNG | Android splash screen, install prompts |
The ICO file deserves a note, because it is the odd one out. ICO is a container: one favicon.ico file holds several images at different sizes — 16, 32, and 48 pixels are the standard three — and the browser picks the size that fits. That is why the ICO stays in the set even in 2026: it is the universal fallback, and old browsers, embedded tools, feed readers, and crawlers that ignore your HTML still ask for /favicon.ico by name.
PNG is the format for everything else. It supports transparency, it is lossless, and every modern browser reads it. The Apple touch icon and the manifest icons are PNGs, and the small tab PNGs are the ones Chrome, Edge, and Firefox display on high-DPI screens.
SVG is the newest option. One SVG file scales to any size without losing sharpness, and it can even change colours for dark mode. SVG favicons work in Chrome 80 and later, Edge 80 and later, Firefox 41 and later, and Safari 26 and later (Safari added support in 2025; Safari 18 and earlier ignore the SVG entirely). Two limits keep it from replacing the rest of the set: Google Search does not list SVG among the formats it shows in search results, and Safari 26 displays the SVG but does not apply the dark-mode colour switch inside it.
How big is each icon? Pixel width of the six files in the standard set
The 512-pixel icon is 32 times wider than the 16-pixel tab icon — 262,144 pixels against 256 — which is why every set starts from one large square source image and scales down, never the other way around. The 180-pixel Apple touch icon holds 32,400 pixels, and the 192-pixel Android icon holds 36,864.
How to Add a Favicon with Our Favicon Generator
Step 1 — Prepare one square logo. Export your logo or mark as a square image, at least 512 × 512 pixels. A simple mark works best: one letter, one symbol, or a simplified version of your logo. Fine text and thin lines vanish at 16 pixels, so if your logo is a wordmark, use its first letter or its symbol instead.
Step 2 — Upload it to the generator. Open the Favicon Generator and choose your image. PNG, JPG, SVG, and WebP all work; an SVG source gives the crispest result because the generator rasterises it at each size from the vector. Small or rectangular images are centre-cropped to a square automatically.
Step 3 — Check the preview grid. The generator shows every file in the pack with its real dimensions and file size. Look at the 16-pixel preview closely: that is what most visitors will actually see.
Step 4 — Download the pack and upload the files. Click "Download all (.zip)", unzip it, and put the icons in your site's root folder or your assets folder — the same place the HTML snippet expects them.
Step 5 — Paste the HTML into your pages. Copy the snippet under the preview grid and paste it into the <head> of your pages — or into your theme's header template, so every page gets it at once. Save, publish, and open your site in a fresh browser tab. If the icon does not appear, see the troubleshooting section below: it is almost always caching.
A worked example from the tool's own guide: a designer exports a 1,024 × 1,024 app logo as a PNG, drops it into the generator, and thirty seconds later the site has the full set, from one upload.
Add a Favicon Manually with HTML
If you would rather build the files yourself, the manual route has three parts: the icon files, the <link> tags, and the web app manifest. Create a favicon.ico containing 16, 32, and 48-pixel images, a 180 × 180 PNG for Apple devices, and 192 × 192 and 512 × 512 PNGs for Android, converting from an SVG source if you have one. Then add these lines to the <head> of every page — or to your shared header template:
<!-- Standard favicon (multi-size ICO, 16/32/48) --> <link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48"> <!-- PNG favicons for modern browsers --> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <!-- SVG favicon for modern browsers (optional upgrade) --> <link rel="icon" type="image/svg+xml" href="/favicon.svg"> <!-- Apple touch icon for iPhone and iPad home screens --> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <!-- Web app manifest for Android --> <link rel="manifest" href="/site.webmanifest"> <!-- Browser chrome colour on mobile --> <meta name="theme-color" content="#0f766e">
Each attribute does a job. rel="icon" is the relationship the HTML standard defines for a site icon — MDN's reference for the <link> element gives exactly this example, and the WHATWG HTML standard defines the same link type. The sizes attribute tells the browser which sizes the file contains, so it can pick the best match; for a vector file such as SVG, sizes="any" says it scales to any size. The type attribute states the file's MIME type, and the SVG must be served as image/svg+xml or Chrome and Firefox will not use it. Two mistakes in old tutorials are worth naming: rel="shortcut icon" still appears in many guides, but shortcut was never a valid link relation — rel="icon" is the correct form. And the apple-touch-icon-precomposed variant is obsolete: iOS stopped adding gloss and rounded-corner effects to touch icons in iOS 7, so the plain apple-touch-icon is all you need.
The manifest is a small JSON file that tells Android (and installable web apps generally) what your site is called and which icons to use. A minimal one looks like this:
{
"name": "Your Website Name",
"short_name": "Your Site",
"start_url": "/",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#0f766e",
"icons": [
{ "src": "/icon-192x192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" },
{ "src": "/icon-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
{ "src": "/icon-maskable-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
]
}
The 192 and 512-pixel entries are the ones the install criteria require — Chrome asks for both before it offers to install a site. The purpose field matters: "any" means the icon is used as-is, while "maskable" marks an icon designed to be cropped into Android's launcher shapes. A maskable icon needs its logo kept inside the central safe zone — a circle with a radius of 40% of the icon's width — with the background filled to the edges. Never declare your only icon as maskable: a manifest with only maskable entries leaves Chrome without an installable icon.
The theme-color meta tag sets the colour of the browser's address bar and tab strip on mobile. Match it to your brand or to your icon's background colour. If you skip the <link> tags entirely and just place a file called favicon.ico in your site's root folder, most browsers will still find it — they request /favicon.ico by convention — but that gives you no Apple touch icon, no manifest icons, and no SVG.
Adding a Favicon in WordPress
WordPress calls the favicon a "Site Icon", and it has a built-in setting for it — no code, no file uploads, no theme editing. The image must be square and at least 512 × 512 pixels; WordPress generates the smaller sizes from it.
On WordPress 6.5 or later, go to Settings → General, find Site Icon, click Choose a Site Icon, upload a square image of at least 512 × 512 pixels, crop it if WordPress asks, click Set as Site Icon, and save your changes. On a classic theme, the same setting lives under Appearance → Customize → Site Identity → Site Icon. Upload at exactly 512 × 512 pixels if you can: a smaller upload gets stretched up to 512 and looks soft everywhere it appears. An SVG cannot be the Site Icon — SVG is not an allowed upload type for it — so use a PNG. One trap: a favicon.ico file placed in your site root by hand can override the Site Icon setting, because browsers request /favicon.ico directly — remove it if a new Site Icon refuses to show.
Adding a Favicon on Wix, Squarespace, Shopify, and Webflow
Website builders hide the HTML from you, so each one has its own favicon field in its settings. The job is the same on all of them — upload one square image, save, and publish:
| Platform | Where the setting lives | What to upload | Notes |
|---|---|---|---|
| WordPress 6.5+ | Settings → General → Site Icon | Square PNG, at least 512 × 512 | Classic themes: Appearance → Customize → Site Identity |
| Wix | Settings → Website settings → Favicon | Square image, 512 × 512 recommended | Needs a Premium plan and a connected domain |
| Squarespace | Design → Browser Icon, or Settings → Website → Favicon | Square image, 300 × 300 or larger recommended | Optional dark-mode version once a default is set |
| Shopify | Online Store → Themes → Customize → Theme settings → Favicon | Square PNG, 512 × 512 recommended | Displayed at 32 × 32; not on the Starter plan |
| Webflow | Project Settings → General → Favicon and Webclip | Square PNG, 512 × 512 or larger | Two images: a 32 × 32 favicon and a 256 × 256 webclip |
Menu labels change without notice, so if a label differs on your dashboard, search the settings — or the platform's help centre — for "favicon" or "site icon". And note the shared limit of every builder: none of them gives you the full manual set — no multi-size favicon.ico, no manifest, no dark-mode SVG. If you need those, generate the full pack with the Favicon Generator.
Why Your Favicon Is Not Updating (and How to Fix It)
The most common favicon problem is not a broken file — it is caching. Browsers hold on to favicons far more aggressively than any other asset. Work through these steps in order:
1. Check the file itself first. Open the icon's URL directly — for example, https://yoursite.com/favicon.ico. If the new icon loads there, the file is fine and the problem is caching. If it 404s, the file is in the wrong folder or the path in your HTML does not match.
2. Hard-refresh, then reopen in a new tab. Use Ctrl+Shift+R on Windows and Linux, or Cmd+Shift+R on Mac, then close the tab and open the site in a new one — favicons are often cached per tab, and a reload in the same tab can keep showing the old icon.
3. Try a private window. A fresh private or incognito window has no favicon cache for your site. If the new icon shows there, your normal browser is simply holding the old one, and it will clear on its own.
4. Change the URL with a version query string. Add a version number to the file's URL in your HTML:
<link rel="icon" href="/favicon.ico?v=2" sizes="16x16 32x32 48x48"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=2">
Browsers treat /favicon.ico?v=2 as a different file from /favicon.ico, so they fetch it fresh instead of serving the cached copy. Bump the number every time you change the icon.
5. Clear the site data or wait it out. If the icon still refuses to change, clear your browser's cached images and files for the site. Search results are slower still: Google recrawls and processes a new favicon over several days to several weeks, and you can ask for a faster recrawl of your home page with the URL Inspection tool in Search Console.
Favicon Rules for Google Search Results
Google also shows your favicon next to your site name in search results — on mobile, and increasingly on desktop — and it has its own eligibility rules, published in Google Search Central and last updated on October 27, 2026. Your favicon must be a square (1:1 aspect ratio) of at least 8 × 8 pixels, and Google recommends using one larger than 48 × 48 pixels. The supported formats are BMP, GIF, ICO, PNG, JPEG, PPM, and TIFF — SVG and WebP are not among them, which is another reason the ICO and PNG files stay in your set. Google supports only one favicon per site, where a site is defined by the hostname. Two crawl gates must both pass: Googlebot must be able to crawl your home page, and Googlebot-Image must be able to crawl the favicon file — neither URL may be blocked by robots.txt. Declare the icon on your home page with a <link> tag — Google accepts rel="icon", rel="apple-touch-icon", and rel="apple-touch-icon-precomposed" — and keep the favicon URL stable, changing it only when the icon itself changes. A favicon is not a ranking factor — Google's documentation places it under search appearance, and says nothing about it affecting position. Its value is recognition: a familiar icon next to your listing helps a scanning reader spot your result.
Common Favicon Mistakes
Common mistakes: uploading a non-square image and letting the browser squash it; using a detailed logo with small text that turns to mush at 16 pixels; shipping only an SVG and leaving Safari 18 and older with no icon at all; forgetting the Apple touch icon, so iPhone home-screen saves get a screenshot thumbnail instead; using a transparent Apple touch icon, which iOS fills with black; and declaring only a maskable manifest icon and breaking Chrome's install check. Note also that Google's documentation used to require a square whose sides were a multiple of 48 pixels — that wording was removed in an October 2024 update, and the current requirement is only a square of at least 8 × 8 pixels, with larger than 48 × 48 recommended.
Each of those has the same root cause: treating the favicon as one file instead of a small set. Get the set right once, and every surface — tabs, bookmarks, home screens, install prompts, and search results — shows the same mark.
Design mistakes deserve their own note, because they are the ones a generator cannot fix for you. Test your icon at 16 pixels before you publish it and keep the mark to one idea — a letter, a symbol, a shape.
Frequently Asked Questions
What is the best favicon size?
There is no single best size — different surfaces ask for different ones. The standard set is a multi-size favicon.ico holding 16, 32, and 48 pixels, 16 and 32-pixel PNGs for tabs, a 180 × 180 Apple touch icon, and 192 and 512-pixel icons in the web app manifest. Start from a square source of at least 512 × 512 pixels.
Do I still need favicon.ico in 2026?
Yes. Modern browsers prefer the SVG or PNG you declare in your HTML, but favicon.ico remains the universal fallback: old browsers, embedded tools, feed readers, and crawlers request /favicon.ico directly, and many of them ignore your link tags entirely. Keep a multi-size favicon.ico (16, 32, and 48 pixels) in your site root alongside the modern files.
How do I add a favicon to WordPress?
Go to Settings → General, find Site Icon, click Choose a Site Icon, and upload a square image of at least 512 × 512 pixels. On a classic theme, the same setting is under Appearance → Customize → Site Identity → Site Icon. If a new Site Icon does not show, check for a leftover favicon.ico file in your site root — it can override the setting.
Why is my favicon not showing after I uploaded it?
Almost always caching. Open the icon's URL directly to confirm the file is being served, then hard-refresh with Ctrl+Shift+R (or Cmd+Shift+R on Mac), close the tab, and reopen the site in a new tab. If that fails, try a private window. For a permanent fix, add a version query string — /favicon.ico?v=2 — and bump the number each time you change the icon. Search results take longer: Google recrawls a new favicon over several days to several weeks.
Can I use an SVG as a favicon?
Yes, in modern browsers: Chrome 80 and later, Edge 80 and later, Firefox 41 and later, and Safari 26 and later all show SVG favicons, and an SVG can switch colours for dark mode. But always ship the ICO and PNG files alongside it — Safari 18 and earlier ignore SVG favicons, and Google Search does not list SVG among the formats it shows in search results. Serve the SVG with the image/svg+xml MIME type.
What is the difference between a favicon and an Apple touch icon?
A favicon is the small icon browsers show in tabs, bookmarks, and history, declared with rel="icon" and usually a favicon.ico or PNG file. The Apple touch icon is a separate 180 × 180 PNG, declared with rel="apple-touch-icon", that iOS uses when someone saves your site to their iPhone or iPad home screen. Without one, iOS uses a screenshot thumbnail of your page instead, and it fills transparent areas with black, so the Apple touch icon needs a solid background.
Sources: Google Search Central, "Define a favicon to show in search results" (last updated October 27, 2026) (developers.google.com); MDN, "<link>: The External Resource Link element" (developer.mozilla.org); WHATWG HTML Standard, link type "icon" (html.spec.whatwg.org); MDN, "Web app manifest: icons" (developer.mozilla.org); Apple, "Configuring Web Applications" (developer.apple.com); web.dev, "What does it take to be installable?" (web.dev); WordPress Learn, "Customizer: Site Icons and Logo" (learn.wordpress.org); WordPress.com Support, "Add a favicon (site icon)" (wordpress.com); Can I Use, "SVG favicons" (caniuse.com); Asad Webs Favicon Generator tool page, verified live November 26, 2026. Accessed November 26, 2026.
Want help putting this into practice? If you are building a website, a favicon set, or a content plan, talk to Asad Webs — we build web apps, tools, and SEO content.
Related reading: our guide to choosing a domain name for your business; how to create a robots.txt file (make sure it does not block your favicon from Google); and how to generate an XML sitemap online.




Be the first to share a useful question or thought.