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)
- 1Open the favicon generator and drop your logo: a square PNG of 512 px or more, or an SVG.
- 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.
- 3Type the Site name that phones show under the icon on the home screen.
- 4Click Download favicon package (.zip).
Add it to your site
- 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.
- 2Paste the lines from favicon-snippet.html into the <head> of every page, or once into your template’s head.
- 3Open the site in a private window to see the new icon.
On WordPress
- 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.
- 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.
- 3WordPress makes the smaller sizes and the tags from that one image, so the theme does not need editing.
Get it shown in Google
- 1Declare the icon on your home page with a <link rel="icon"> tag; Google reads only the home page of each hostname.
- 2Let Googlebot crawl the home page and Googlebot-Image the icon file: robots.txt must block neither.
- 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.
What size should a favicon be?
Does a favicon have to be an .ico file?
Can I make a favicon from a JPG?
How-to guides
More guides
- How to vectorize an imageTurn a PNG or JPG into an SVG vector three ways: free in your browser with Contour, with Inkscape’s Trace Bitmap, or with Illustrator’s Image Trace.
- What is an SVG file?What an SVG file is and how to open one: in any web browser, with Contour’s free SVG viewer, as File Explorer previews on Windows, and in vector editors.
- What is a DXF file?What a DXF file is, which programs open it, and how to make a DXF from an SVG or a PNG logo for laser cutting, CNC and CAD, in the browser or in Inkscape.
- What is an STL file?What an STL file is, why every slicer uses it, and how to open one on Windows now that 3D Viewer is gone, on a Mac or a phone, or convert it for free.
- What is a 3MF file?What a 3MF file is, how it differs from STL, and how to open one or turn it into an STL: in Bambu Studio, in PrusaSlicer, or free in your browser.
- How to use Trace Bitmap in InkscapeUse Inkscape’s Trace Bitmap to turn a PNG or JPG into vector paths: which detection mode to pick, the settings that matter, and fixes for messy traces.
- EPS vs SVGEPS and SVG are both vector formats. What each one is, which programs, printers and cutters take which, and how to turn an image or an SVG into either one.
- What does vectorize mean?To vectorize an image means redrawing its pixels as shapes and curves, so it scales without blurring. What that means, raster vs vector, and how to do it free.