How to Create a Favicon for Your Site
A favicon is the small icon that appears in the browser tab next to your page title. Every professional site on quality hosting should have a favicon. While it seems like a tiny detail, the favicon is actually a very important element of your brand on the internet. Without it, your site looks unprofessional and visitors have a harder time recognizing your tab among dozens of open pages.
What is a favicon and why does it matter?
A favicon (short for "favorites icon") is a small icon displayed in multiple places: in the browser tab, in the bookmarks list, in browsing history, on mobile device home screens, and even in Google search results. This icon helps users quickly identify your site and contributes to the professional look of your online presence.
From a user experience standpoint, the favicon is key. With a good favicon and a quality site name, your site will be recognizable. When a user has 15 tabs open, the favicon is the only way to visually identify which tab belongs to your site. Without a favicon, the browser shows a generic globe or empty document icon, which immediately gives an unprofessional impression.
Which favicon sizes are needed?
Modern browsers and devices require favicons in different sizes. Here are the most important:
16x16 pixels - the classic size for the browser tab. This is the minimum size every site should have.
32x32 pixels - used for bookmarks and the taskbar in Windows. A very common size.
48x48 pixels - Windows site icon. Used when a user adds a shortcut to the desktop.
180x180 pixels (apple-touch-icon) - for iOS devices when a user adds the site to the home screen. Apple uses this size for all iPhone and iPad devices.
192x192 and 512x512 pixels - for Android devices and Progressive Web Apps (PWA). These sizes are defined in the web app manifest file.
In addition to the standard .ico format which supports multiple sizes in one file, today .png and .svg formats are also used. SVG format is particularly practical because it scales without quality loss.
How to make a favicon - tools
There are several ways to create a favicon, from completely free to professional tools:
RealFaviconGenerator.net - This is the best free tool for generating favicons. You upload one image (recommended size 512x512 or larger) and the tool automatically generates all needed sizes, including apple-touch-icon, Android icons, and tile icons for Windows. It also generates HTML code you just need to copy into your site's header.
Favicon.io - A simple tool that lets you create a favicon from text, emoji, or an uploaded image. It's especially useful if you want a favicon containing your brand initials - just enter letters, choose a font and color, and the tool generates all needed files.
Canva - If you want more control over design, you can use Canva to create an icon at 512x512 size and then use RealFaviconGenerator to generate all sizes.
Adobe Illustrator or Figma - For professional designers who want full control. Create an SVG icon and export it in the required sizes.
Tips for good favicon design
The favicon is extremely small, so the design must be simple and recognizable. Here are key tips:
Use simple shapes - letters, geometric forms, or stylized symbols. Detailed logos aren't visible at 16x16 pixels. If your logo has text, use only initials or an iconographic element.
Choose contrasting colors that work well on both light and dark backgrounds. Many browsers have dark mode, so test how your favicon looks on both backgrounds.
Avoid too many details. At 16x16 pixels, every pixel shows. Less is more when it comes to favicons.
How to add a favicon to a WordPress site
The WordPress environment has a built-in system for setting favicons called "Site Icon". Here are the steps:
1. Go to Appearance > Customize in the WordPress admin panel.
2. Click Site Identity.
3. In the Site Icon section, click "Select image" and upload your icon. WordPress recommends an image of at least 512x512 pixels.
4. WordPress will automatically generate all needed sizes and add the appropriate meta tags to your site's header.
This is the simplest method and works with all modern WordPress themes. You don't need any add-ons or manual code editing.
How to add a favicon to an HTML site
For static HTML sites, you need to manually add link tags in the <head> section of your HTML. After generating all favicon sizes using RealFaviconGenerator, you'll get code similar to this:
Place the favicon.ico file in the root directory of your site (next to index.html). Then add link tags for different sizes in the head section: link rel="icon" for the standard favicon, link rel="apple-touch-icon" for iOS devices, and link rel="manifest" for PWA support.
It's important that files are available at the paths you specified in HTML. It's recommended that favicon.ico be in the root directory because many browsers automatically look for that file at that location.
Testing the favicon
After installation, test the favicon as follows: open the site in different browsers (Chrome, Firefox, Safari, Edge), bookmark the site and check that the icon displays, test on mobile, and use the RealFaviconGenerator Checker tool which verifies all sizes are properly implemented.
Keep in mind browsers aggressively cache favicons. If you changed the favicon and don't see the change, try a hard refresh (Ctrl+Shift+R) or clear the browser cache. You can also add a query string parameter to the favicon path to force a refresh.
Conclusion
A favicon is a small but important detail that contributes to the professional look of your site. With free tools like RealFaviconGenerator, creating and implementing a favicon is a 10-minute job. Don't neglect this element - it's part of the first impression your site makes on visitors.
BeoHosting Team
10+ years of experience — Web hosting and infrastructure specialists
- Web Hosting
- WordPress Hosting
- VPS
- Dedicated Serveri
- Domeni
- SSL
- cPanel
- LiteSpeed
- Linux administracija
- DNS
Last updated: