Stockio
Frontend & Dev Runs in your browser

Favicon HTML Tag Generator

Generate the complete set of favicon, touch icon and manifest tags for your site.

Loading tool…

What is Favicon HTML Tag Generator?

A favicon setup connects a website to browser-tab icons, home-screen artwork, and application metadata. These surfaces do not all use the same format or dimensions. A tag generator makes the configuration consistent while keeping the actual image export process explicit and under your control.

How to use it

  1. Enter App name, Short name, and Icon path prefix.
  2. Choose Theme colour and Background colour.
  3. Enable the SVG, Apple, Android / manifest, Safari pinned tab, and Microsoft tile options you need.
  4. Copy HTML head tags and site.webmanifest, then export and upload every file listed in the checklist.

Understanding the output

The HTML output always includes an ICO fallback and a theme-colour meta tag. Optional links add a scalable SVG favicon, a 180-pixel Apple touch icon, a web manifest, and a Safari mask icon. Microsoft tile settings include both the chosen colour and a tile-image path when enabled.

The manifest records the application name, short name, start URL, display mode, theme colour, background colour, and Android image entries. JSON escaping is handled independently from HTML escaping. The manifest shown is a starting configuration; installation behavior also depends on browser requirements and the surrounding application.

Pro tips

The checklist is a deployment contract, not a set of generated images. ICO commonly packages 16, 32, and 48-pixel variants. Apple uses a 180 by 180 PNG, Android entries request 192 and 512-pixel PNGs, and the Microsoft tile entry requests 150 by 150 pixels.

Create an SVG favicon with a compact silhouette that survives very small display sizes. Pinned-tab artwork should be a dedicated monochrome mask rather than a colourful logo pasted unchanged. Avoid fine text and thin borders that disappear against browser themes or at low pixel densities.

Common mistakes and practical use cases

Use a root-relative path prefix when icons belong to the site root. If your application lives under a subpath, check every generated URL after deployment and review the manifest start URL. A manifest path and its icon references must resolve correctly from the served location, not merely from your development filesystem.

Browsers cache favicons aggressively, so test fresh profiles and direct asset URLs when updating a brand. Check response content types, image dimensions, transparent edges, and light and dark browser chrome. This utility generates configuration only; it does not resize artwork or convert image formats.

Review before deployment

Treat the copied result as a reviewable change rather than an invisible transformation. Save a small representative fixture next to the consuming component, record the assumptions you chose, and compare the outcome in the environment where it will actually run. A convenient browser preview removes repetitive work, but it cannot know your complete application constraints or replace project-specific acceptance checks.

  • Keep the original source available so a teammate can reproduce the conversion.
  • Check a normal example, an empty example, and a deliberately awkward example.
  • Review the generated result in a code diff before replacing a production asset or rule.
Prefer small, reversible changes. If an output looks surprising, isolate one setting at a time instead of changing every option together.

Continue learning

Read the related practical article for a broader workflow, and use the meta tag previewer tool when the next step needs a different calculation. The official reference explains the underlying platform behavior and is worth checking when project requirements differ from defaults.

For team workflows, agree on conventions before collecting outputs from several contributors. Consistent names, units, paths, and assumptions make generated snippets easier to audit later. Include the chosen settings in your pull request so reviewers can distinguish an intentional change from an accidental default. Repeat the check after changing framework configuration or deployment paths, because a previously correct result can become inappropriate when its surrounding context changes.

Make the final review concrete: compare the before and after behavior, check the most constrained viewport, and ask whether the output remains understandable to the next maintainer. These checks are small enough to repeat whenever an input or setting changes.

Frequently asked questions

What does Favicon HTML Tag Generator produce?+

The HTML output always includes an ICO fallback and a theme-colour meta tag. Optional links add a scalable SVG favicon, a 180-pixel Apple touch icon, a web manifest, and a Safari mask icon. Microsoft tile settings include both the chosen colour and a tile-image path when enabled.

How should I choose the settings?+

The checklist is a deployment contract, not a set of generated images. ICO commonly packages 16, 32, and 48-pixel variants. Apple uses a 180 by 180 PNG, Android entries request 192 and 512-pixel PNGs, and the Microsoft tile entry requests 150 by 150 pixels.

What is a common limitation?+

Browsers cache favicons aggressively, so test fresh profiles and direct asset URLs when updating a brand. Check response content types, image dimensions, transparent edges, and light and dark browser chrome. This utility generates configuration only; it does not resize artwork or convert image formats.

Can I use the output in production?+

Yes, after reviewing it against your project requirements. Test representative cases and keep the original input so the change remains reproducible.

Does a preview replace final testing?+

No. A preview helps explain the current settings, but deployment configuration and real content can change the result. Verify the consuming page or asset before publishing.

Articles that use this tool

In-depth articles with the Favicon tags built right in.

Branding & Business

Developer Portfolio Sites That Attract High-Paying Clients

Turn your developer portfolio into a credible sales tool with focused positioning, evidence-rich case studies, polished branding, and a clear inquiry path.

Includes: Favicon tagsPiotr KowalskiPiotr Kowalski
Icons & Illustration

Favicon Sizes and Formats: A Practical Guide

Prepare clear browser favicons with intentional small-size artwork, appropriate SVG and raster fallbacks, reliable link tags, and repeatable browser checks.

Includes: Favicon tagsAiko TanakaAiko Tanaka
Branding & Business

App Icon Sizes and Design for iOS, Android and PWAs

Adapt one recognisable brand symbol for iOS, Android and PWA icons, with practical guidance on platform masks, safe areas, export packages and device reviews.

Includes: Favicon tagsPiotr KowalskiPiotr Kowalski
AI Builders & APIs

Lovable Tutorial: From First Prompt to Published Site

Build a small Lovable app from a focused first prompt, then check data permissions, interface states, branding and deployment before opening it to real users.

Includes: Favicon tagsDaniel KimDaniel Kim
AI Builders & APIs

Build a Landing Page With AI in an Afternoon

Use a focused four-hour plan to brief an AI builder, refine a landing page, connect its conversion path, and test the essentials before deciding whether to publish.

Includes: Favicon tagsDaniel KimDaniel Kim
AI Builders & APIs

Build an MVP With AI: Validate Your Startup Idea Fast

Use an AI-built MVP to test a specific business assumption with real behaviour. Define evidence, recruit relevant users and separate genuine demand from enthusiasm for a polished demo.

Includes: Favicon tagsDaniel KimDaniel Kim