Back to Blog
Web DevelopmentDeveloper ToolsTutorialFree Tools

How to Make a Favicon for Your Website in 2026 (All Sizes, All Platforms)

Published on March 23, 20267 min read

How to Make a Favicon for Your Website in 2026 (All Sizes, All Platforms)

That tiny icon in the browser tab? It is called a favicon, and it is one of the most overlooked elements of web design. A good favicon makes your site look professional. A missing favicon makes it look unfinished.

Here is everything you need to know about favicons in 2026 -- what sizes you need, how to generate them, and the exact HTML code to use.


What Is a Favicon?

Browser tab bar showing multiple website favicons next to page titles, demonstrating how favicons help users identify tabs

Browser tab bar showing multiple website favicons next to page titles, demonstrating how favicons help users identify tabs

A favicon (short for "favorites icon") is the small icon that appears in:

  • Browser tabs
  • Bookmark lists
  • History pages
  • Progressive Web App (PWA) home screens
  • Search engine results (Google shows favicons next to URLs)
  • Social media link previews

It is your website's visual identity at the smallest scale.


What Sizes Do You Need?

This is where most people get confused. Different platforms need different sizes:

SizeFormatWhat It Is For
16x16PNG or ICOBrowser tab (standard)
32x32PNG or ICOBrowser tab (high-DPI)
48x48PNGWindows site icons
64x64PNGWindows site icons
96x96PNGGoogle TV, some Android
128x128PNGChrome Web Store
180x180PNGApple Touch Icon (iOS home screen)
192x192PNGAndroid home screen (PWA)
512x512PNGPWA splash screen, Google

The short version: You need at minimum 16x16, 32x32, 180x180, and 192x192. Ideally, generate all of them.


How to Make a Favicon

Option 1: From an Existing Image

If you already have a logo or icon:

  1. 1Go to our Favicon Generator
  2. 2Upload your image (PNG, JPG, SVG, or WebP)
  3. 3All sizes generate automatically
  4. 4Download each size or download all at once
  5. 5Copy the HTML code and paste into your site

Option 2: Create a Text Favicon

If you do not have a logo yet, a text-based favicon works great:

  1. 1Go to our Favicon Generator
  2. 2Switch to "From Text" mode
  3. 3Enter 1-2 characters (your brand initials)
  4. 4Customize background color, text color, font, and corner radius
  5. 5Download and use

Design Tips for Favicons

  • Keep it simple. At 16x16 pixels, detail is lost. Use bold shapes and colors.
  • Use your brand color. The favicon should be instantly recognizable as "your brand."
  • Test at small sizes. Design at 512x512 but constantly preview at 16x16 and 32x32.
  • Avoid text unless it is 1-2 bold characters. Anything more is unreadable at small sizes.
  • Use transparency (PNG format) if your icon does not need a background.
  • Use a solid background for the Apple Touch Icon (180x180) -- iOS does not support transparency for home screen icons.

The HTML Code

Once you have your favicon files, add this to the head of your HTML:

<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="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">

<link rel="icon" type="image/png" sizes="512x512" href="/android-chrome-512x512.png">

Our Favicon Generator gives you this code automatically. Just copy and paste.

For Next.js / React Projects

Place your favicon files in the /public folder and add the link tags to your layout or head component.

For WordPress

Upload via Appearance > Customize > Site Identity > Site Icon. WordPress handles the sizes automatically.


Common Favicon Mistakes

MistakeWhy It Is BadFix
No favicon at allSite looks unprofessionalGenerate one today
Only ICO formatMissing Apple and Android supportGenerate PNG versions for all sizes
Too detailed designUnreadable at 16x16Simplify to basic shapes
Wrong aspect ratioIcon appears distortedUse a perfect square image
Not testing on mobileBroken home screen iconsTest on iOS and Android

Favicon SEO Impact

Google shows favicons in search results next to your URL. A missing or broken favicon means:

  • Your listing looks less trustworthy than competitors with icons
  • Lower click-through rate from search results
  • Missed branding opportunity

A proper favicon takes 2 minutes to set up and lasts forever. There is no excuse not to have one.


Generate Your Favicon Now

Open our free Favicon Generator -- upload an image or create a text favicon. Get all sizes instantly with the HTML code to copy-paste. No sign-up, no watermark, no limits.

Building a website? Also check out our JSON Formatter for clean API responses, and our free developer tools for more.

Explore Our Free Tools & Games

Check out our curated collection of completely free browser games, tools, and extensions.

Browse Free Stuff

Related Articles

Developer ToolsFree Tools

Free Developer Tools Every Programmer Needs in Their Toolkit

A comprehensive guide to the best free developer tools available online. From JSON formatters to regex testers, these browser-based tools will supercharge your productivity.

10 min readRead More→
Developer ToolsJSON

Stop Squinting at Messy JSON - Format It Instantly (Free Tool Inside)

Messy JSON is a productivity killer. Learn why formatting matters, common JSON pitfalls developers hit daily, and try our free browser-based JSON Formatter that works instantly with zero sign-ups.

7 min readRead More→
Developer ToolsJSON

JSON for Beginners - What It Is and Why Developers Love It

New to JSON? This beginner-friendly guide explains what JSON is, how it works, why it is everywhere, and how to work with it using free tools.

7 min readRead More→
Web PerformanceFree Tools

Free Tools to Make Your Website Faster (No Coding Required)

A slow website loses visitors, kills SEO rankings, and costs you money. Here are free browser-based tools that can dramatically speed up your site without touching a single line of code.

8 min readRead More→

Latest from the Blog

GamesMultiplayer

The Best Free Games to Play With Friends and Family Online

No console, no downloads, no setup - just open a browser and play. The best free 2-player and vs-computer games to enjoy with friends and family.

May 18, 2026Read More→
GamesBrain Games

Daily Puzzle Games: How a 5-Minute Habit Sharpens Your Brain

Daily puzzle games like Word Guess and Word Groups turn brain training into a habit. Here is why a 5-minute daily puzzle works - and which free ones to play.

May 17, 2026Read More→
GamesClassic Games

12 Timeless Classic Games You Can Play Free Online

Solitaire, Minesweeper, Snake, Pong and more - the classic games that defined gaming, all playable free in your browser with no download or sign-up.

May 16, 2026Read More→