Favicon Generator
Create all favicon sizes from any image. Generate ICO, PNG, Apple Touch Icon, and Android Chrome icons instantly.
Drop your image here
or click to browse files
Supports: JPG, PNG, SVG, GIF, WebP
Recommended: Square image at least 512x512px
Source Image
Generated Favicons
HTML Code
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png">
<link rel="manifest" href="/site.webmanifest">
site.webmanifest
{
"name": "Your App Name",
"short_name": "App",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
All Sizes Included
ICO, PNG 16x16, 32x32, Apple Touch Icon, Android Chrome icons.
Ready-to-Use Code
Get HTML code and manifest.json ready to copy and paste.
100% Private
All processing in your browser. Images never uploaded to servers.
How to Make a Favicon from Your Logo
- Pick a square image. Drag it onto the Drop your image here box or click the box to browse. JPG, PNG, SVG, GIF and WebP all work. A square logo of 512×512 px or larger gives the sharpest results.
- Check the previews. The tool instantly draws six files: five PNGs and one favicon.ico. Look closely at the 16×16 version — that is what people actually see in a browser tab.
- Download. Click Download All (ZIP) to get favicons.zip with all six icons plus a ready-made site.webmanifest, or use the small Download button under any single icon.
- Copy the code. Press Copy on the HTML Code box and paste it inside the <head> of your pages. New Image starts again with a different picture.
Your image is cropped to a square from the centre. The tool takes the largest square that fits in the middle of your picture and scales it down to each size. For example, a 1200×630 banner keeps its central 630×630 area and loses 285 px from the left and from the right edge. So put a wide logo on a square canvas first, or part of it will be cut off. A source smaller than 512 px gets enlarged for the 512×512 icon and looks soft.
Which Favicon Sizes Do You Need in 2026?
Older favicon guides list a long set of icon files. Today a handful covers every browser tab, phone home screen and search result. These are the files this generator gives you, and where each one is used:
| File | Size | Used for |
|---|---|---|
| favicon.ico | 16, 32 and 48 px in one file | Browser tabs, bookmarks, the automatic /favicon.ico request |
| favicon-16x16.png | 16×16 | Browser tabs on standard screens |
| favicon-32x32.png | 32×32 | Tabs and bookmarks on high-resolution screens |
| apple-touch-icon.png | 180×180 | “Add to Home Screen” on iPhone and iPad |
| android-chrome-192x192.png | 192×192 | Android home screen shortcut, web app manifest |
| android-chrome-512x512.png | 512×512 | Installed web apps and splash screens, web app manifest |
| site.webmanifest | — | Tells Android and Chrome which icons to use (included in the ZIP) |
What this tool does not create
Add these yourself only if you need them:
- An SVG favicon. Output is PNG and ICO only (see the SVG section below).
- A maskable Android icon. The manifest has no "purpose": "maskable" entry and the icons have no extra padding, so some Android launchers may show your icon inside a white shape. For a maskable version, keep the logo inside the central 80% of the canvas and add that entry yourself.
- Windows tile files such as browserconfig.xml or mstile images. These were for the old pinned-site tiles in Windows 8 and Internet Explorer; most sites no longer need them.
- A separate 48×48 PNG. The 48 px image exists only inside favicon.ico.
Favicon HTML Code to Paste in Your <head>
This is the same code the Copy button gives you. Every file name matches a file in the ZIP, and each path starts with /, which means “the root folder of this website”.
<!-- Favicon -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png">
<link rel="manifest" href="/site.webmanifest">
- The favicon.ico line and the 16×16 and 32×32 lines cover browser tabs; the browser picks the size that suits the screen.
- The apple-touch-icon line is what iOS uses when someone saves your site to the home screen.
- The 192 and 512 lines give browsers and Google Search a larger icon to pick from. Google asks for a square favicon and recommends one bigger than 48×48 px.
- The manifest line points to site.webmanifest. Open that file and replace "Your App Name" and "App" with your real name, and change theme_color to your brand colour (a color picker will give you the hex code).
If your site lives in a sub-folder (for example example.com/shop/) rather than at the domain root, either put the icon files at the root anyway or change each href to the real path.
How to Add a Favicon to WordPress, Shopify or an HTML Site
WordPress
Go to Appearance → Customize → Site Identity → Site Icon and upload android-chrome-512x512.png (WordPress asks for at least 512×512 px). On block themes, open the Site Editor, select the Site Logo block and switch on “Use as Site Icon”. WordPress then makes its own sizes and prints the tags for you, so do not also paste the code above into your theme — duplicate tags can be the reason an old icon keeps appearing.
Shopify
In your admin open Online Store → Themes → Customize, then Theme settings. In Dawn and similar Shopify themes the Favicon image field sits under Logo. Upload the 192×192 or 512×512 PNG; Shopify resizes it for you.
Plain HTML, PHP or any custom site
- Unzip favicons.zip and edit the name fields in site.webmanifest.
- Upload all seven files to the folder that holds your home page. On most cPanel hosting that is public_html, opened through File Manager or FTP.
- Paste the HTML code into the <head> of every page. If your site uses a shared header file, paste it there once.
- Open yoursite.com/favicon.ico in a browser to confirm the file loads.
Building a new site or moving off a website builder? Our web development team sets up icons, manifest and the rest of the technical groundwork as part of every build.
Favicon Not Showing? Check These First
- Browser cache. Browsers hold on to favicons longer than to normal pages. Try a private/incognito window, or add a version to each link, e.g. href="/favicon.ico?v=2", to force a fresh download.
- Wrong path. Open each icon URL directly. If you see a 404 or your home page instead of a small image, the file is in a different folder from the one the tag points to.
- Wrong file type. Renaming a PNG to .ico does not make it an ICO. The favicon.ico from this tool is a genuine multi-size ICO file. If your server sends the manifest with the wrong content type, on Apache you can add AddType application/manifest+json .webmanifest to .htaccess.
- Old tags still in the page. A theme, plugin or site builder may print its own favicon tags. View the page source, search for “icon” and remove the old ones.
- CDN cache. If you use Cloudflare or another CDN, purge the cached copies of the icon files after replacing them.
- Google still shows the old icon. This is normal for a while. Google recrawls favicons on its own schedule, which it says can take several days to several weeks, and the icon must be linked from your home page.
Design tip: at 16×16 px there are only 256 pixels to work with, so small text and thin lines vanish. A single bold letter or your logo’s symbol on its own reads far better than a full logo with the company name.
SVG Favicons: Should You Add One?
An SVG favicon is a single vector file that stays sharp at every size and can even switch colours for dark mode using a prefers-color-scheme rule inside the SVG. Chrome and Edge (from version 80) and Firefox support it, and Safari added support in version 26, so iPhones and Macs on older Safari versions still ignore it.
This generator does not produce an SVG. If you already have your logo as an SVG, you can still upload it here to create the PNG and ICO sizes (if the preview looks cropped or tiny, give the SVG an explicit width and height, or export a 512×512 PNG first), then add the vector file yourself next to the generated tags:
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
Keep the ICO and PNG files as well — they are the fallback for browsers that do not read SVG icons, and iOS home-screen icons still come from apple-touch-icon.png.
Frequently Asked Questions
What size should a favicon be?
There is no single size. A complete modern set is favicon.ico (with 16, 32 and 48 px images inside one file), 16x16 and 32x32 PNGs for browser tabs, a 180x180 apple-touch-icon for iPhone and iPad, and 192x192 and 512x512 PNGs for Android and installed web apps. This generator creates all of them from one image, so start with a square picture of at least 512x512 px.
Do I still need a favicon.ico file in 2026?
It is still worth keeping. Browsers ask for /favicon.ico at the root of your site even when your page has no favicon link tag, and some older tools only look there. Modern browsers also accept the PNG files, so use both: the ICO made here holds 16, 32 and 48 px versions in one file.
Why is my favicon not showing?
The usual causes are browser cache and a wrong file path. Test in a private window and open the icon address directly, for example yoursite.com/favicon.ico; if you see a 404 page instead of the icon, the file is not where the link tag points. The code on this page uses root paths, so the files must sit in the top-level folder of your site.
How long does it take for a new favicon to appear in Google search results?
Google says crawling can take anywhere from several days to several weeks. The favicon link has to be on your home page, Google must be allowed to crawl both the home page and the icon file, and the icon must be square; Google recommends one larger than 48x48 px.
Does this tool create an SVG favicon?
No. It produces PNG files and a multi-size ICO only. If your logo already exists as an SVG, you can upload it here to get the PNG and ICO sizes, and add the SVG yourself with its own link tag; keep the PNG and ICO files as a fallback because Safari only supports SVG favicons from version 26.
Why does my apple-touch-icon show a black background on iPhone?
iOS does not keep transparency on home-screen icons, so transparent areas usually turn black. This generator keeps whatever transparency your image has, so for a clean iPhone icon upload a version of your logo on a solid background colour.
Is my image uploaded to a server?
No. The image is read by your browser, resized on a canvas and packed into the ZIP on your own device. Nothing is sent to our server; even the ZIP file is built in your browser using the open-source JSZip library.
More free utilities for your website are on our free tools page.