Image Tools

How to Make a Favicon and Add It to Your Website

The tiny icon in the browser tab makes your site look finished and easy to find among open tabs. Here is how to create a full set and install it.

Quick answer: make the icon set with the Favicon Generator, upload favicon.ico to the root of your site and the PNG icons next to it, then add <link rel="icon" href="/favicon.ico"> and an apple-touch-icon link to the page head. On WordPress, use Appearance, Customize, Site Identity, Site Icon instead.

In this article
  1. What a favicon is used for
  2. The sizes you need
  3. Design tips for a tiny canvas
  4. Create your favicon
  5. Adding it to WordPress
  6. Adding it to an HTML site
  7. “My favicon isn’t showing!”
  8. Testing on real devices
  9. Matching colours

What a favicon is used for

A favicon appears in browser tabs, bookmarks, history and, on phones, on the home screen when someone saves your site. Google also shows site icons next to results in mobile search. A missing icon leaves a blank or generic globe, which looks unfinished.

Favicon GeneratorCreate a complete favicon pack from your logo or from letters and an emoji: favicon.ico, 16 to 512 px PNGs, Apple touch icon, web manifest and the HTML to paste.
Open the free tool

The sizes you need

FileSizeUsed by
favicon.ico16, 32, 48 px inside one fileBrowser tabs, older browsers, Windows
apple-touch-icon.png180 × 180iPhone and iPad home screen
icon-192.png and icon-512.png192 and 512Android home screen and app-like installs
site.webmanifest–Tells Android which icons and colours to use

The Favicon Generator creates all of these in one download, plus the HTML to paste into your site.

Design tips for a tiny canvas

  • Simplify. A full logo with words becomes unreadable at 16 pixels. Use the symbol only, or the first letter.
  • High contrast. A bold shape on a solid background reads best on both light and dark browser themes.
  • Square source image. Start from at least 512 × 512 pixels.
  • No logo yet? Use the generator’s text mode: one or two letters on a coloured circle or rounded square.

Create your favicon

  1. Open the Favicon Generator.
  2. Upload a square logo, or switch to text mode and choose letters, colours and shape.
  3. Preview it at small sizes.
  4. Download the ZIP with the ICO, PNG icons, manifest and HTML snippet.

Adding it to WordPress

WordPress has a built-in option: go to Appearance → Customize → Site Identity → Site Icon (or Settings → General in block themes) and upload a square image of at least 512 × 512 pixels. Use the generated icon-512.png. WordPress creates the other sizes automatically.

Adding it to an HTML site

  1. Upload all the files to the root folder of your site (where your homepage file lives).
  2. Paste the generated HTML lines inside the <head> section of every page.
  3. Visit yoursite.com/favicon.ico to check it loads.

“My favicon isn’t showing!”

  • Browser cache: browsers remember favicons for a long time. Open the site in a private window or another browser to check.
  • Wrong path: the file must be where the HTML says. Paths are case-sensitive on most servers.
  • Google search results: Google updates site icons when it recrawls your homepage, which can take days or weeks.

Testing on real devices

After installing, open your site on a phone and use “Add to Home Screen” to see the app-style icon, check the browser tab on both light and dark themes, and bookmark the page to see the bookmark icon. If the icon looks blurry in any of these places, the source image was probably too small or the design too detailed, simplify it and generate the set again.

Matching colours

Use your exact brand colour from the logo with the Image Color Picker, so the icon matches the rest of your site.

Frequently asked questions

What size should a favicon be?

Use a square image of at least 512 by 512 pixels. Browsers and devices create the smaller sizes from it or from an ICO file.

Where do I add a favicon in WordPress?

Go to Appearance, then Customize, then Site Identity, and upload a Site Icon.

Why does my old favicon still show?

Browsers cache favicons. Clear the cache or open the site in a private window to see the new one.

Can a favicon be transparent?

Yes. Use PNG or ICO with a transparent background.

Should I use ICO or PNG?

Modern browsers accept PNG. ICO is still useful for older browsers and Windows shortcuts.

Where should favicon.ico go

In the root folder of the site, so it opens at yoursite.com/favicon.ico. Browsers look there even without a link tag.

Why does Google show an old or blank favicon

Google updates favicons on its own schedule. Make sure the icon is at least 48 x 48 pixels, square and not blocked by robots.txt, then wait for the next crawl.

Favicon GeneratorCreate a complete favicon pack from your logo or from letters and an emoji: favicon.ico, 16 to 512 px PNGs, Apple touch icon, web manifest and the HTML to paste.
Open the free tool
Keep reading

Related articles

All articles
Image

PNG, JPG, WebP, BMP or ICO, Which Image Format Should You Use?

Picking the wrong format can make an image blurry, heavy or simply unopenable. This cheat sheet tells you which one to use, and when to convert.

3 min read
Image

The Right Image Sizes for Social Media, Websites and Online Forms

Upload a photo at the wrong size and it gets cropped, blurred or rejected. Here are the sizes that work, and how to resize images without distorting them.

3 min read
Image

How to Find the Exact Colour Code from Any Image

Need the blue in a client’s logo or the shade of a paint swatch? Pick it straight from the image and get codes you can paste into any design tool.

3 min read