·5 min read·Blog

How to Create a Favicon for Your Website for Free (16×16 to 512×512)

A favicon is the small icon in the browser tab and bookmarks bar. Most developers upload one 32×32 PNG and call it done — but modern browsers expect multiple sizes for different contexts. Here's how to do it right.

What sizes you actually need

A properly implemented favicon package covers multiple sizes:

SizeUsed by
16×16Browser tabs (small)
32×32Browser tabs (standard), Windows taskbar
180×180Apple Touch Icon (iPhone bookmark)
192×192Android Chrome home screen shortcut
512×512Android Chrome splash screen, PWA

At minimum, a 32×32 .ico or .png file handles most browsers. Add the Apple Touch Icon (180×180) and Android icons (192×512) if mobile bookmarking matters for your site.

How to generate a favicon free

  1. Open the free favicon generator
  2. Upload your logo, icon, or any image — PNG works best; SVG is ideal
  3. The tool generates all required sizes automatically
  4. Download the favicon package
  5. Place the files in your website's root directory
  6. Add the HTML tags to your <head>

The HTML you need in your head tag

<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" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">

The site.webmanifest file declares your 192×192 and 512×512 icons for Android. A basic one looks like:

{
  "icons": [
    { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
    { "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
  ]
}

What makes a good favicon design

A favicon is displayed at very small sizes — 16×16 pixels in most browser tabs. Design principles for small sizes:

  • Simple shapes only: complex logos with text do not read at 16px. Extract one letter, a symbol, or a simplified mark from your full logo.
  • High contrast: the favicon appears on both light (most browsers) and dark mode tabs. Test it on both.
  • No thin lines: lines under 2px disappear or become blurry at small sizes. Use bold, thick shapes.
  • Transparent background: export with a transparent background so it looks natural on any tab color.

ICO vs PNG vs SVG for favicons

  • .ico format: the original favicon format, contains multiple sizes in one file. Still recommended for the root /favicon.ico for maximum compatibility — old browsers and some tools specifically look for this file.
  • PNG: the modern standard for sized favicon links. Clear, widely supported, and easy to generate.
  • SVG favicon: supported by most modern browsers (rel="icon" type="image/svg+xml"). Scales perfectly to any size. Use it as an additional <link>alongside PNG fallbacks.

Testing your favicon

After adding the favicon, test it:

  • Open your site in an incognito window (cache won't serve the old favicon)
  • Check the browser tab — the 32×32 icon should appear
  • Bookmark the page — check the bookmark icon
  • On an iPhone: add to Home Screen — the 180×180 Apple Touch Icon appears

Summary

Generate a complete favicon package with the free favicon generator — no account. Use a simple, high-contrast mark at small sizes. Provide at minimum 16×16, 32×32, and 180×180 sizes. Add a /favicon.ico in the root for maximum backward compatibility.

Browse by category

Not sure which tool you need? Start with a category.

Everything you can do — for free

No software to buy. No account to create. Just open a tool and get it done.

Work with images

Compress photos before sending them by email, resize pictures for social media, remove backgrounds, or pick the perfect color for a design project — all without installing any app.

Edit and format text

Count words and characters in an essay, compare two documents side by side, convert text to different formats, or generate placeholder text for a presentation.

Stay safe online

Create a strong unique password in one click, check how secure a password is, encode or decode data, and generate secure tokens — your data never leaves your device.

Calculate anything

BMI, loan repayments, unit conversions, date differences, and dozens of other everyday calculations — no spreadsheet or formula knowledge required.

The Free AI Tools is a free collection of 221+ online tools that work directly in your web browser — no download, no installation, no account required. Whether you need to compress an image for email, count words in an essay, generate a strong password, create a QR code for your business, or format JSON for development — you will find a simple, free tool here.

Every tool is privacy-first: your files, text, and data never leave your device. Tools cover image editing, text processing, developer utilities, security & encoding, SEO & web, design & CSS, and more.

☕ Support Us