A favicon is the small icon that appears next to your page title in the browser tab, in bookmarks, and sometimes in search results. Without a favicon, the browser shows a default blank icon, which makes your website look less professional. You set up a favicon by creating an image in the correct format, uploading it to your website, and linking it via a line in the HTML code or through your CMS.
What exactly is a favicon?
The name favicon comes from “favorite icon”. Browsers use this icon to make tabs, bookmarks, and history visually recognizable. It’s separate from your logo on the website itself, but is often based on it. A clear favicon helps visitors find your site more quickly among multiple open tabs.
From image to favicon in the browser tab
Creating a favicon: which format should you use?
For a favicon that works well everywhere, keep the following in mind:
- File format: .ico is the most universal, but modern browsers also support .png and .svg.
- Dimensions: create a square image, for example 32×32 or 180×180 pixels. Many sites use multiple sizes for different devices.
- Simplicity: choose a simple logo mark or letter, since detail gets lost at such a small size.
- Background: use a transparent background (PNG) so the icon fits with any browser style, unless you deliberately want a colored block.
There are free online tools that automatically convert a regular image into an .ico file in multiple sizes.
Setting up a favicon via HTML
Do you have your own website without a CMS, or do you want to link the favicon manually? Then upload the file to the root folder of your website via FTP or the file manager in Plesk, and add a line in the <head> of your HTML.
Create the favicon
Create your icon in the correct dimensions and save it as favicon.ico or favicon.png.
Upload the file
Place the file in the root folder of your website, for example via FTP or the file manager in Plesk.
Link it in the HTML
Add a line to the <head> of each page, for example: <link rel="icon" href="/favicon.ico">. If you’re using a PNG, also add the type: <link rel="icon" type="image/png" href="/favicon.png">.
Check the result
Reload the page and check the tab. If it doesn’t work right away, clear your browser cache.
Setting up a favicon in WordPress
If you use WordPress, you don’t need to edit any code. This works through the “Site Icon” option in the settings.
Go to Appearance β Customize
Open the WordPress dashboard and choose Appearance, then Customize (or Site Identity, depending on your theme).
Upload the site icon
Find the “Site Icon” option and upload a square image, at least 512×512 pixels. WordPress automatically scales this to the correct sizes.
Publish the change
Save the setting and publish. WordPress automatically adds the correct code to your pages.
If you’re using a page builder or theme with its own favicon option, use that setting instead of the default WordPress option, so two favicons don’t clash with each other.
If you manage multiple websites and want to upload favicons and other files in an organized way, it’s helpful to know where to find file management within your web hosting package. For questions about uploading files, the knowledge base can help you further.
Frequently asked questions
My favicon isn’t changing, what should I do?
This is usually caused by browser cache. Clear your browser’s cache or open the site in an incognito window. Also check whether the file was actually uploaded to the correct folder.
Which format is best for a favicon?
A PNG with a transparent background of at least 32×32 pixels works well in most browsers. For mobile devices and bookmarks, a larger version, such as 180×180 pixels, is recommended.
Do I need a favicon for multiple devices?
Yes, ideally you provide multiple sizes for desktop, mobile, and bookmarks. Most modern CMS systems and online favicon generators handle this automatically for you.
Can I use a favicon without building my own website in HTML?
Yes, in CMS systems like WordPress you set this up through the settings without needing to edit any code.
Conclusion
Setting up a favicon is a small change with a big impact on your website’s appearance. Create a square image in the correct size, upload it to your website, and link it via HTML or your CMS settings. If it doesn’t work right away, check your browser cache first.