ImageTools

Guide

How to Add a Favicon to Your Website (Formats, Tags and Sizes)

A favicon is the 16-pixel icon in the browser tab — and also the icon in bookmarks, app shortcuts, search results and home screens. Modern browsers make it simpler than the old 15-file nightmare: one multi-size .ico plus two link tags covers essentially everything.

Step 1: make the image

Start from a simple, high-contrast version of your logo on a square canvas. Favicons are usually displayed at 16–32 px, where thin lines and small text vanish. Simplify first; generate second. Our favicon generator takes any image, center-crops it square and emits a single favicon.ico containing 16, 32, 48, 64, 128 and 256 pixel versions — each context picks the size it needs.

Working from an existing .ico or a vector? The ICO to PNG converter extracts the largest embedded image, and the SVG to PNG converter rasterizes a vector logo at up to 4× for crisp source material.

Step 2: upload and tag

  1. Upload favicon.ico to your site root (example.com/favicon.ico).
  2. Add to your <head>:
    <link rel="icon" href="/favicon.ico" sizes="any">
    <link rel="icon" href="/favicon.svg" type="image/svg+xml">   <!-- optional, modern browsers -->
    <link rel="apple-touch-icon" href="/apple-touch-icon.png">  <!-- 180x180, iOS home screen -->
  3. Hard-refresh (Ctrl+F5). Favicons are cached aggressively.

Modern browsers prefer an SVG favicon when offered (infinitely scalable, supports dark-mode variants), but Safari and many tools still expect the .ico — that is why the pair covers all bases. The SVG converter is also how you rasterize an SVG logo for the PNG and ICO routes.

Do the sizes matter for SEO?

Google shows favicons in mobile search results, and having a valid one is part of the technical basics (it must be crawlable, multiple times the 16px size, and a square multiple of 48px for Google's rendering). It is a small trust signal — but a missing or broken favicon in search results is a real one.

Troubleshooting checklist

  • Not showing up: hard-refresh; check the file is at the URL you referenced; confirm the link tag is in the head, not the body.
  • Blurry: the source was upscaled — regenerate from a sharper original (256 px source minimum).
  • Only works in some browsers: you referenced only an SVG or only a PNG — add the .ico fallback.
Ready to try it?
Generate your favicon.ico now — free, in your browser.
Favicon Generator

People also ask

What size should a favicon be?

One multi-size .ico covering 16 to 256 pixels handles every context. Generate it from a square source of at least 256×256.

Do I still need favicon.ico if I have an SVG favicon?

Yes — Safari and many non-browser tools expect the .ico. Ship both: an SVG for modern browsers and the .ico as the universal fallback.

How do I update a favicon without visitors seeing the old one?

Favicons are cached hard. Rename the file (favicon2.ico), update the link tag, or ask users to hard-refresh. Cache-busting via a query string also works.