WordGPT
← Favicon generator

Favicon generator for Hugo

In Hugo, files in the static folder are copied to the root of the built site, and the link tags go in the head partial. Make your favicon below, download the zip, and follow the steps for Hugo. Free, no sign-up, and nothing leaves your device.

Start from

Shape
Colours

Preview

128 pixel favicon128px
64 pixel favicon64px
48 pixel favicon48px
32 pixel favicon32px
16 pixel favicon16px
My site

In a browser tab

On a phone home screen, as My site

The zip has favicon.ico, favicon.svg, PNGs at 16, 32, 48, 180, 192, 512 px, the Apple touch icon, a web manifest and the lines to paste in your page.

Paste in your page's <head>

<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<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" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="theme-color" content="#2563EB">

How to add it to Hugo

Use favicon.ico (Files in the static folder, linked in the theme's head).

  1. Make your favicon here and download the zip.
  2. Copy every file from the zip into your site's static/ folder.
  3. Open your theme's head partial (often layouts/partials/head.html; copy it from the theme into your site's layouts folder first if the theme owns it) and add the contents of head-snippet.html.
  4. Rebuild with hugo, or restart hugo server.
  5. Deploy and check the live tab in a private window.

If it does not work

  • Many themes have a favicon option in the site config; if you use it, do not add the link tags twice.
  • Edit a copy of the theme's partial in your own layouts folder so a theme update does not erase the change.
Design a logoMake a whole brandFavicon for JekyllFavicon for plain HTMLFavicon for Astro
    Favicon generator for Hugo: make and add a favicon | WordGPT