A finished website with a generic globe in the browser tab looks unfinished, no matter how good the pages are. The favicon is the smallest piece of branding you will ever ship, and it is also the most visible: it sits in every tab, every bookmark, every home screen shortcut and many search results. Adding one properly is a short job, but it has more moving parts than most people expect, because a modern favicon is not one file. It is a set.
This guide walks the whole job in order: prepare one square source image, generate the complete set with the free Favicon Generator on Ovatly, install the files in your website root, paste the provided link tags into your page head, and verify the result the way browsers actually fetch it.
Contents
- Quick answer
- What a complete favicon set contains
- Why the files live in the website root
- How to add a favicon, step by step
- Worked example: from one 512 x 512 logo to a live icon
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
Quick answer
Choose a square image, ideally 512 x 512 or larger, and run it through the Favicon Generator. Download the full ZIP, which contains six PNG sizes, a combined favicon.ico and the link tags file. Unzip the files into your website root, paste the link tags snippet into the head of your pages, then verify by opening /favicon.ico directly in the browser and hard-refreshing your homepage. Everything is generated in your browser, so your logo is never uploaded.
What a complete favicon set contains
One upload to the generator produces six PNG icons: favicon-16x16.png, favicon-32x32.png and favicon-48x48.png for browser tabs, bookmarks and Windows shortcuts; apple-touch-icon.png at 180 px for Apple home screens; and icon-192x192.png and icon-512x512.png for Android and search results. Alongside them comes favicon.ico, a single file that bundles the 16, 32 and 48 px versions in the classic format browsers have used for decades, and a file containing the exact HTML link tags to paste into your page head.
The spread of sizes is not decoration. Different places ask for different sizes, and shipping the full set means every device picks a sharp one instead of stretching a tiny icon or shrinking a huge one. Each generated PNG is shown with its real file size before you download, so you can see exactly what you are about to install.
Why the files live in the website root
The link tags point at root paths: /favicon-32x32.png and so on. Those paths only resolve if the files sit in your website root, the same folder as your homepage. Put the icons in a subfolder and every tag quietly misses, which is the single most common reason a correctly generated favicon never appears.
The root has one more advantage. Browsers look for /favicon.ico automatically, even on pages that carry no link tag at all, so the ICO in the root acts as a safety net for any page you forget to update. Install the full set in the root once, and both the tagged icons and the automatic fallback are covered.
How to add a favicon, step by step
- Prepare a square source. Use a square image, ideally 512 x 512 or larger. Non-square images are center-cropped and the tool warns you, so square the artwork up yourself rather than letting a crop decide what survives.
- Generate the set. Open the Favicon Generator and choose your image. The six PNG sizes are generated automatically, each shown with its real file size. Glance at the smallest previews: a detailed logo may turn to mush at 16 px, and it is better to simplify the artwork now than after installing.
- Download the files. Take the full ZIP with the icons, favicon.ico and the link tags file. You can also download individual PNGs if you only need to replace one size.
- Unzip into your website root. Upload the contents so the icon files sit in the same folder as your homepage, not inside a subfolder.
- Paste the link tags into your page
head. The ZIP includes the exact snippet; it looks like this, built from the file names in the set:
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
- Verify. Open your homepage and look at the tab. Then open /favicon.ico directly in the browser to confirm the file itself is being served, and hard-refresh the page if the tab still shows an older icon.
Worked example: from one 512 x 512 logo to a live icon
Start with a 512 x 512 logo. Upload it and you receive favicon-16x16.png, favicon-32x32.png, favicon-48x48.png, apple-touch-icon.png (180), icon-192x192.png and icon-512x512.png, plus a favicon.ico that bundles the 16, 32 and 48 px versions in one file.
Download the ZIP and unzip it into your website root, so all seven files sit beside your homepage. Paste the link tags from the included file into the head of your pages. Load the homepage: the tab now shows the 16 or 32 px version of your mark. Open /favicon.ico directly and the browser displays the icon file itself, proof that the automatic fallback works too. Save the page to a phone home screen and the 180 px Apple touch icon is what appears. One source image, one install, and every surface a visitor meets is covered.
Limitations and honest tradeoffs
The generator downscales your artwork, and downscaling has limits. Small icons are where detail goes to die: professional sets redraw the 16 px size by hand, while this tool produces an honest downscale and shows you the preview so you can judge it. If the smallest size is unreadable, the fix is simpler artwork, not a different setting.
Keep the source square and high resolution for the same reason. Enlarging a tiny source cannot add the detail small icons need; it only makes a bigger blurry file. The .ico file uses PNG-compressed entries, a format supported by every browser since the Windows Vista era, so compatibility is not a concern. And expect the browser cache to lag behind your work: visitors may see your old icon for a while after you install the new one, however correctly you did everything.
Common mistakes
- Unzipping into a subfolder. The link tags point at root paths. Files in a subfolder are files the tags cannot find.
- Pasting the tags but skipping the files, or the reverse. The tags and the icons are one install; either half alone does nothing.
- Starting from a tiny or non-square image. A small source has no detail to give, and a non-square one is center-cropped with a warning you should not ignore.
- Testing once and assuming failure. Browsers cache favicons aggressively. Open the icon URL directly and hard-refresh before you conclude anything is broken.
- Shipping only favicon.ico. The ICO covers tabs and the automatic fallback, but home screens and search results ask for the larger PNG sizes. Install the full set.
FAQs
Where do the files go on my site? In the website root, the same folder as your homepage, so the paths in the link tags (/favicon-32x32.png and so on) resolve. The ICO is also found automatically at /favicon.ico even without a tag.
Why so many sizes? Different places ask for different sizes: browser tabs use 16 or 32, Windows shortcuts 48, Apple home screens 180, and Android and search results 192 and 512. Shipping the full set means every device picks a sharp one.
My favicon did not update after I uploaded it. Why? Browsers cache favicons aggressively. Hard-refresh, open the icon URL directly, or wait; the file itself is fine if it downloads and previews correctly in the generator.
What if my image is not square? Non-square images are center-cropped and the tool warns you. Start from a square source, ideally 512 x 512 or larger, so the crop never removes part of your mark by surprise.
Is my logo uploaded anywhere? No. Every size is rendered and zipped in your browser, and the file never leaves your device.
Conclusion
Adding a favicon is a fifteen minute job done once and done properly: one square source, the full set from the Favicon Generator, files in the website root, the provided link tags in your head, and a direct check of /favicon.ico to prove it worked. Installing is only half the story, though. The icon still has to survive at 16 px in a crowded tab bar and at 180 px on a home screen, which is why our companion guide on checking your favicon on phones and tabs is worth the five minutes it takes to run through. For more guides in this series, see our Image Tools guides, which pair each technique with the free tool that performs it.