Back to all guides
Resolution·3 min read·

How to Make a Favicon for a Website

Design a favicon that remains recognizable at tiny sizes, prepare common icon assets, and verify deployment and browser caching.

How to Make a Favicon for a Website

A favicon is the small brand mark shown in browser tabs, bookmarks, and other browser surfaces. A design that looks excellent at 512 pixels can become an unreadable blob at 16 pixels. The key is to simplify the mark and test it at the actual sizes browsers use.

Visual explanation of How to Make a Favicon for a Website
Topic-specific visual summary of the concepts and checks in this guide.

Design for tiny sizes first

Use a simple silhouette, strong contrast, and minimal internal detail. Avoid long words, thin strokes, subtle gradients, and tiny gaps. If the full logo is complex, create a dedicated symbol or monogram for the favicon rather than shrinking the entire logo.

  • Test at 16 × 16 and 32 × 32 pixels.
  • Use a transparent background when the mark needs to sit on different browser themes.
  • Check both light and dark browser surfaces.

Prepare the files

A common setup includes an ICO fallback and a PNG or SVG favicon. Apple touch icons and pinned app surfaces may use larger dedicated assets. The exact set depends on the browsers and devices you support; do not assume one 512-pixel file replaces every platform-specific requirement.

  • Create a crisp 32 × 32 PNG and an ICO containing appropriate small sizes when needed.
  • Use SVG where the target browser and publishing pipeline support it.
  • Create an Apple touch icon at the size required by your current deployment guidance.

Add and verify the HTML references

Publish the icon files at stable paths and reference them with link elements in the document head. Then clear or bypass browser cache and test the deployed site. Favicons are cached aggressively, so an old icon may remain visible after the file has changed.

  • Check that every referenced URL returns the correct content type.
  • Test in more than one browser and on a mobile device.
  • Use a versioned filename when you need to invalidate a cached icon.

A reliable deployment checklist

A favicon may continue to appear unchanged because browsers cache it separately from normal page assets. After deployment, request the exact icon URL directly, confirm that the response is an image, and test a fresh browser profile or a cache-busted path. Check the page source to confirm the intended icon links are present in the document head. If the website is behind a CDN, confirm that the CDN is serving the new asset rather than an old cached copy.

  • Verify all icon paths return HTTP 200.
  • Check the browser tab, bookmark, and mobile home-screen behavior separately.
  • Keep filenames versioned when changing the artwork.

A favicon is a tiny identity mark, not a miniature full logo. Simplify the artwork before exporting.

Further reading: MDN: rel=icon

Related tools

How to Make a Favicon for a Website — ImageKitTools | ImageKitTools