Favicon generator
This favicon generator turns one image into every icon a website needs: favicon.ico, PNG icons, an apple-touch-icon, a web manifest and the HTML to link them. Your image is processed in your browser and never leaves your device.
- ⚡ Super fast
- 🔒 No upload
- 🎁 Free, no sign-up
How to create a favicon
Choose one image: PNG, JPG, WebP, AVIF or HEIC, up to 100 MB.
Leave Transparent background on, or switch it off and pick a Background colour. Raise Padding (%) if your logo touches the edges.
Select Create favicon pack. Nine files appear, each with its own download button.
Select Download all as ZIP, upload the files to the root folder of your site and paste the HTML snippet into the head of your pages.
What is a favicon?
A favicon is the small square icon that represents a website. Browsers show it in the tab next to the page title, in bookmarks and in the history list. Phones use larger versions of it when someone saves your site to the home screen, and Google shows it next to your pages in search results.
The name comes from favorites icon, from the time when bookmarks were called favorites. The first favicons were a single 16 by 16 pixel file named favicon.ico in the root folder of a site. Today one icon is not enough. A browser tab, a high-resolution laptop screen, an iPhone home screen and an Android app shortcut all ask for different sizes, and some of them look for a different file name.
That is the job of a favicon maker: you give it one good image and it produces all the sizes and files in one go, so you do not have to resize and export the same logo six times.
When many tabs are open, the titles get cut short and the icon is often the only part of a tab you can see. A clear icon makes your site easy to find again there and in a long list of bookmarks.
What the favicon generator creates
One click gives you nine files. Six are PNG icons at fixed sizes, one is a multi-size favicon.ico, and two are text files that tell browsers where to find the icons. The table shows what each file is for.
All icons come from the same image with the same settings, so they match. The 256 px size is stored inside favicon.ico, where Windows can use it.
| File | Size | Used by |
|---|---|---|
| favicon.ico | 16, 32, 48 and 256 px in one file | Browsers that request /favicon.ico, Windows |
| icon-16.png | 16 x 16 px | Not linked in the snippet, for your own link tags |
| icon-32.png | 32 x 32 px | Browser tabs on high-resolution screens, linked in the snippet |
| icon-48.png | 48 x 48 px | Not linked in the snippet, for your own link tags |
| apple-touch-icon.png | 180 x 180 px | iPhone and iPad home screen |
| icon-192.png | 192 x 192 px | Android and Chrome, listed in the manifest |
| icon-512.png | 512 x 512 px | Android and Chrome, listed in the manifest |
| site.webmanifest | Text (JSON) | Tells Chrome and Android which icons to use |
| favicon-snippet.html.txt | Text | The four HTML lines that link the files |
What size should a favicon be?
There is no single favicon size. A favicon.ico with 16, 32 and 48 px frames covers browser tabs, a 180 px apple-touch-icon covers iPhones, and 192 and 512 px PNG icons cover Android and Chrome. Screens with high resolution use the larger frames even for a 16 px tab, so the icon stays sharp.
The table lists what each platform asks for in its own documentation, and which file in the pack covers it. When a page links several icons, the browser looks at their sizes and types and picks the one that fits best. Your source image should be at least 512 px on its longer side, so that the largest icon is drawn from real pixels and not enlarged.
| Platform | What it asks for | File in the pack |
|---|---|---|
| Google Search | Square, at least 8 x 8 px, larger than 48 x 48 px recommended | favicon.ico, apple-touch-icon.png |
| iPhone (Apple) | apple-touch-icon.png in the root folder, 180 x 180 px for Retina iPhones | apple-touch-icon.png |
| Chrome and Android | At least a 192 x 192 px and a 512 x 512 px icon in the manifest | icon-192.png, icon-512.png |
| Windows app icons | At least 16, 24, 32, 48 and 256 px | favicon.ico (16, 32, 48 and 256, no 24) |
| WordPress site icon | Square, at least 512 x 512 px, PNG recommended | icon-512.png |
Is favicon.ico still needed?
Yes, it is still worth having. favicon.ico in the root folder is the traditional place for a site icon, Google's own example links a favicon.ico, and ICO is on Google's list of accepted formats. It is one small file, and it gives browsers a fallback at the address where a site icon has always been.
The ICO from this generator holds four images, at 16, 32, 48 and 256 px. Each one is stored as a PNG inside the ICO file, which keeps transparency and keeps the file small. Modern browsers and Windows read this kind of ICO.
The HTML snippet links favicon.ico with sizes="any" and adds the 32 px PNG next to it. Browsers that understand both can pick the one that fits the tab best.
Before you create favicon files
A few decisions before you start save a second round. Most of them are about the image, and one is about where the files will go.
If you are not sure about the image, run it once and look at the results. You can make a new pack as often as you like, so it is fine to try two versions of a logo and keep the one that reads better in the 16 and 32 px previews.
- Pick the most compact version of your logo, ideally square and at least 512 px on its longer side.
- Decide whether the icon should be see-through or sit on a solid color.
- Have the name of your site ready for the manifest.
- Check whether you can upload files to the root folder, or whether your site builder has a favicon field instead.
- If the logo is only available as SVG, convert it to PNG first.
How to add a favicon to your website
Once you have the ZIP, adding the icons to a site you control takes a few minutes. The snippet expects every file in the root folder, next to your home page, so the links start with a slash.
- Unzip favicon-pack.zip on your computer.
- Open site.webmanifest in a text editor and replace both My site entries with the name of your site.
- Upload favicon.ico, the PNG icons and site.webmanifest to the root folder of your site.
- Copy the four link lines from favicon-snippet.html.txt into the head section of every page, or into the shared template.
- Open your site in a new private window to check the icon without the old cached one.
How do I put a favicon in HTML?
You add link tags to the head section of the page. The snippet in the pack contains four: one with rel="icon" for favicon.ico, one with rel="icon" for the 32 px PNG, one with rel="apple-touch-icon" for iPhones and one with rel="manifest" for the web manifest. Paste them once into your template.
The first line of the file is a comment that reminds you to upload the files to the site root and to change the name in the manifest. It does no harm if you keep it.
Older tutorials often write rel="shortcut icon". That value is non-conforming in current HTML and browsers ignore the word shortcut, so use plain rel="icon" as the snippet does. iPhones do not read rel="icon" at all, which is why the apple-touch-icon line is there.
What the favicon maker puts in the web manifest
site.webmanifest is a small JSON file that tells Chrome and Android about your site. Chrome asks for at least a 192 px and a 512 px icon in it, and scales those two for other places. The manifest from this generator lists icon-192.png and icon-512.png and sets the display mode to standalone.
The name and short name are both set to My site, because the generator does not ask for your site name. Change them by hand before you upload the file. The name is shown when someone installs or adds your site to a home screen, so a placeholder there looks unfinished.
The manifest has no theme color, background color or start URL, and it marks no icon as maskable. If you want those, add them to the file yourself.
Which favicon size to use in WordPress, Shopify, Wix or Squarespace
These platforms have a field for one image instead of access to the root folder. Upload the PNG from the pack that comes closest to what the platform asks for. On a site where you control the files, such as a static site or your own server, use the full pack and the snippet instead.
On these platforms you skip the HTML snippet. The settings are where each platform's help pages put them today, and menu names can change.
| Platform | Where | Which file to upload |
|---|---|---|
| WordPress | Settings, General, Site Icon (WordPress 6.5 and later) | icon-512.png, the size WordPress asks for |
| Shopify | Online Store, Edit theme, Theme settings, Logo or Favicon (Basic plan or higher) | icon-32.png. Shopify reduces larger images to 32 x 32 px |
| Wix | Settings, Website settings, Favicon (needs a Premium plan and a connected domain) | icon-48.png. Wix asks for a multiple of 48 px |
| Squarespace | The Favicon panel | icon-192.png. Squarespace suggests 100 to 300 px and at most 100 KB |
How Google shows your favicon in search results
Google shows a site's favicon next to its pages in search results, and it picks the icon from the link tags on your home page. The rules come from Google's own documentation. The icons in the pack meet the shape, size and format rules. Linking them and letting Googlebot crawl them is up to your site.
After a change, Google can take from several days to several weeks to show the new icon, because it has to crawl the home page and the icon again.
- Link the icon from the home page with rel="icon" or rel="apple-touch-icon".
- Use a square icon. Google needs at least 8 x 8 px and recommends larger than 48 x 48 px.
- Keep the icon URL stable.
- Use one favicon per host name. Google does not support separate favicons for subfolders.
- Let both Googlebot and Googlebot-Image crawl the icon file.
Favicon generator settings for background and fit
The generator has three settings. Transparent background is on, so the corners of every icon are see-through. That works well for a logo on its own, and the tab color shows around it.
Switch Transparent background off to fill the whole square with the Background colour, which starts as white. The color fills the padding as well.
Padding (%) adds space on every side. It goes from 0 to 40, and the default 8 leaves the image 84 percent of the width. Your image is always fitted inside the square and centered, never cropped or stretched.
What makes a good favicon?
A good favicon is simple enough to read at 16 px, where the whole icon has only 256 pixels. That usually means one symbol or letter, clear edges, few colors and enough contrast to stand out in a tab. Detail that looks good at full size is lost in the smallest icons, so choose what to show before you create favicon files.
Preview the icons in the result list before you download. If the 16 px version is a blur, simplify the source image and run it again.
- Use the symbol or first letter of your logo, not the full logo with the name.
- Pick shapes with clear edges and two or three colors at most.
- Make the image square before you start, or the generator leaves empty space around it.
- Lower Padding (%) to 0 to 4 if the icon looks small next to other tabs.
Create favicon files by hand or with a favicon generator
You can make every favicon file yourself in an image editor. You would export the logo at 16, 32, 48, 180, 192 and 512 px, then combine the small sizes into one ICO file. GIMP, for example, can save an ICO with several sizes in it and lets you choose the color depth of each size. Then you write the HTML links and the manifest by hand.
That works, but it is easy to get a detail wrong: a missing size, a file name that does not match the link, or an ICO saved with only one size. In GIMP you also choose the color depth and compression of each size, and the documentation notes that not all programs read ICO files with PNG compression.
A favicon generator does the same steps in a fixed order with fixed names, so the file names match the snippet. Doing it by hand makes sense when you need a different design for each size, for example a simpler symbol at 16 px and the full logo at 512 px, because this tool uses one image for every size.
Favicons on dark and light browser themes
Browser tabs can be light or dark, depending on the theme and the system settings of each visitor. A favicon with a transparent background sits directly on that tab color, so a black logo can disappear on a dark tab and a white one on a light tab.
There are two simple ways around it. Give the logo a color that has contrast on both, such as a mid-tone blue or red. Or switch Transparent background off and choose a Background colour, so the icon becomes a solid square that looks the same on any theme. Some sites add a thin light outline around a dark logo for the same reason.
Check the result on both themes before you publish. Switching your own browser or system between light and dark mode is the quickest test.
Can a favicon be SVG?
SVG favicons exist, and some site builders accept them, but not every place that shows a favicon reads SVG. Google's list of supported favicon formats does not include SVG, and iPhones need a PNG apple-touch-icon. That is why a PNG and ICO set is still the safe base for every site, even if you also add an SVG.
This generator does not read SVG files and does not create an SVG favicon. If your logo is an SVG, convert it to PNG first.
Why your favicon does not show
Browsers often keep favicons in their cache for a long time, so an old icon can stay in the tab long after you uploaded a new one. Most problems are one of these.
- The old icon is cached. Open the site in a private window or clear the browser cache.
- The files are not in the root folder, so the links that start with a slash point to nothing.
- The snippet is pasted into the body instead of the head section.
- The template has another favicon link further down. When several icons fit equally well, browsers use the last one.
- The icon URL itself, for example yoursite.com/favicon.ico, gives an error. Then the browser cannot show it either.
What this favicon maker does not do
This tool makes a favicon from an image you already have. Some features of other favicon tools are not part of it:
- No favicon from text, letters or emoji. You need an image.
- No dark mode icon and no maskable icon for Android.
- No cropping, rounded corners or shapes. The image is fitted as it is.
- One image for all sizes, one image at a time.
- No ICO to PNG conversion.
A free favicon generator that runs in your browser
The generator is free and needs no account. It runs in your browser: your image is read, drawn at each size and packed into the ZIP on your own device. Nothing is uploaded to a server, so you can use it for a logo that is not public yet.
Files of up to 100 MB and images up to 32 megapixels work, in PNG, JPG, WebP, AVIF or HEIC. A larger image needs to be resized first.
Your files stay with you
Most online tools upload your files to their servers. This one does not. It runs inside your browser, so your files never leave your device.
More ways to use this tool
Favicon generator FAQ
How can I convert a picture to a favicon?
Choose the picture in the favicon generator above and select Create favicon pack. You get favicon.ico, PNG icons from 16 to 512 px and the HTML code. A square picture with a simple shape gives the clearest result.
Should a favicon be PNG or SVG?
Use PNG and ICO as the base. Google Search lists both among its formats and iPhones need a PNG apple-touch-icon, while SVG is not on Google's list. You can add an SVG on top, but this tool does not create one.
Should a favicon have a transparent background?
Usually yes, for a logo with a clear shape. A transparent background lets the tab color show around it. For a thin or dark logo a solid Background colour reads better on dark themes.
How do I resize an image for a favicon?
You do not need to. The generator draws every size from your original image, from 16 to 512 px. Start with an image of at least 512 px so the large icons stay sharp.
Is this favicon generator free?
Yes. There is no account, no sign-in and no payment. Choose an image and download the pack.
What is the most common favicon size?
32 x 32 px for browser tabs, with 16 x 16 px as the smallest. Sites also need 180 px for iPhones and 192 and 512 px for Android, which is why a full pack has several sizes.
Does a favicon help SEO?
It affects how your result looks. Google shows the favicon next to your pages in search results if the home page links it and Googlebot can crawl it.
Can a subfolder have its own favicon?
Not in Google Search. Google uses one favicon per host name, so a blog at example.com/blog shows the same icon as example.com. A subdomain like shop.example.com can have its own.
What is the difference between a favicon and an apple-touch-icon?
The favicon is the small icon in the browser tab. The apple-touch-icon is a 180 px PNG that iPhones and iPads use when someone adds your site to the home screen. iPhones do not use the normal favicon link, so you need both.
Why does my old favicon still show?
Most likely the browser has cached it. Open the site in a private window, or clear the cache, to see the new one.