Skip to content

Menu

How to make a favicon

A favicon is the small icon browsers show on tabs and bookmarks and Google shows next to your site in search results, and you make one from a square logo of at least 512 × 512 px or from an SVG. The quickest free way is Contour’s favicon generator: drop the logo, check it on a light and a dark tab, and download favicon.ico, the Apple touch icon, the Android icons and a web manifest with the HTML to paste, all made in your browser without uploading anything. Put the files in your site’s root folder and add the lines to the <head> of every page, or on WordPress upload a 512 px PNG under Settings › General with Choose a Site icon. Google needs a square icon that Googlebot can crawl, recommends one larger than 48 × 48 px, and can take days to weeks to show a new one.

Checked against official documentation on 2026-11-16

Step by step

How to make a favicon

Hand-written HTML, static site generators and WordPress; Chrome, Edge, Firefox, Safari, iPhone and Android.

Make the files with Contour (free)

  1. 1Open the favicon generator and drop your logo: a square PNG of 512 px or more, or an SVG.
  2. 2Check the light and dark tab previews. Add Padding if the logo touches the edges, and pick the Background color for the Apple touch icon.
  3. 3Type the Site name that phones show under the icon on the home screen.
  4. 4Click Download favicon package (.zip).

Add it to your site

  1. 1Unzip the files into the root folder of your site, next to the home page, so that yoursite.com/favicon.ico opens in the browser.
  2. 2Paste the lines from favicon-snippet.html into the <head> of every page, or once into your template’s head.
  3. 3Open the site in a private window to see the new icon.

On WordPress

  1. 1Prepare a square PNG of at least 512 × 512 px, such as icon-512.png from the package, and upload it to the Media Library.
  2. 2In WordPress 6.5 or later, go to Settings › General and click Choose a Site icon. In 4.3 to 6.4, go to Appearance › Customize › Site Identity and click Select Image under Site Icon.
  3. 3WordPress makes the smaller sizes and the tags from that one image, so the theme does not need editing.

Get it shown in Google

  1. 1Declare the icon on your home page with a <link rel="icon"> tag; Google reads only the home page of each hostname.
  2. 2Let Googlebot crawl the home page and Googlebot-Image the icon file: robots.txt must block neither.
  3. 3Keep the icon at the same URL, and request indexing of the home page with the URL Inspection tool in Search Console to speed up the update.

When it goes wrong

Common problems and fixes

The old icon still shows
Browsers keep favicons in a cache of their own. Open /favicon.ico directly and reload it, or check in a private window.
Google shows a default icon instead of yours
Google only uses a square icon declared on the home page that its crawlers can reach. Check those, request indexing, and allow several days to several weeks; even then Google does not guarantee to show it.
The icon looks blurry
A small or heavily compressed logo was scaled up. Start from an SVG or a PNG of at least 512 px; turn a low-resolution logo into an SVG first with PNG to SVG.
A dark logo disappears on dark tabs
Turn on Fill the favicon too in Contour so the icon gets the background color, or use a version of the logo with a light outline.

Make your favicon with Contour

Every file a site needs from one image or SVG, with the HTML to paste. Free, and nothing is uploaded.

Sources

Checked against these pages on 2026-11-16. Software updates rename menus; if a step no longer matches, write to contour@niamori.ai.

FAQ

Frequently asked questions

Something else? Write to contour@niamori.ai.

What size should a favicon be?

Start from a square image of at least 512 × 512 px, or an SVG. From it a site serves favicon.ico with 16, 32 and 48 px inside, a 180 px Apple touch icon, and 192 and 512 px icons listed in the web manifest for Android.

Does a favicon have to be an .ico file?

No. Browsers accept PNG and SVG favicons, and Google Search accepts ICO, PNG, GIF and JPEG among others. A favicon.ico is still worth having, because older software and feed readers ask for that name.

Can I make a favicon from a JPG?

Yes. Drop the JPG into the favicon generator; it is fitted into a square with the padding you choose. A transparent PNG or an SVG gives cleaner edges on dark tabs.