EthicalFusion
Images & Video

How to Create a Favicon in 2026: Files, Sizes and HTML Tags

A modern favicon set is favicon.ico (32×32), an SVG icon, a 180×180 Apple icon and 192/512 PNGs in a manifest. How to make each one and add it to any site.

By the EthicalFusion team Published Updated 8 min read

To create a favicon, start from a square logo of at least 512×512 pixels, export a small set of icon files and link them in your page's <head>. The current best-practice set is short: a favicon.ico at 32×32, an SVG icon for modern browsers, a 180×180 PNG for iPhones and iPads, and 192×192 and 512×512 PNGs listed in a web app manifest for Android.

The free favicon generator makes the ICO and all the PNG sizes from one image in your browser. This guide explains what each file is for, the exact HTML tags, the gaps you need to fill yourself, and how to add a favicon on WordPress and Blogger, where you upload one image and the platform does the rest.

The files a website needs in 2026

Favicon advice used to list a dozen sizes. Evil Martians' guide "How to Favicon in 2026" cuts it down to the files below, and web.dev confirms the manifest sizes Chrome needs to install a site as an app.

FileSizeUsed forIn the tool?
favicon.ico32×32Older browsers, feed readersYes (16, 32 and 48 inside)
icon.svgAny, squareCurrent browsers, dark modeNo
Apple touch icon180×180iPhone and iPad home screensYes
Manifest icons192×192, 512×512Android, installed web appsPNGs yes, manifest no
Maskable icon512×512, paddedAndroid icon shapesNo

The ICO is the fallback: some tools, such as feed readers, simply request /favicon.ico without reading your HTML. The SVG has to come from your design tool, and the maskable icon is optional.

SVG favicons work in Chrome and Edge from version 80, Firefox from 41, and Safari from version 26, according to caniuse. Chrome needs the server to send the file as image/svg+xml. Keep the ICO even so: Google Search's favicon guidelines list BMP, GIF, ICO, PNG, JPEG, PPM and TIFF as supported formats, and SVG isn't on that list.

Step 1: Prepare a square source image

Use a square PNG or SVG, 512×512 or larger. A favicon is shown as small as 16×16 pixels, 256 pixels in total, so a full logo with a company name turns into a smudge. Use the symbol on its own, or one bold letter, with thick shapes and strong contrast.

Square matters because the tool fits your image inside each square without cropping or stretching. We gave it a 1000×500 banner-shaped logo: at 16×16 the artwork was drawn 16 pixels wide but only 8 tall, with transparent bands above and below. At 180×180 it was 180×90. Crop to a square first with the image cropper, or redesign the mark, for a bolder icon.

If your logo is an SVG, upload the SVG directly. In our test a 24×24 SVG icon came out with sharp edges at 512×512, because the browser redraws the vector at each size instead of enlarging a small picture.

Step 2: Generate the files

  1. Open the favicon generator and drop your image on it. Generation starts as soon as the image loads.
  2. Click Download favicon.ico. It contains 16×16, 32×32 and 48×48 versions, each stored as a PNG inside the ICO.
  3. Click the PNG tiles you need. Files are named favicon-16x16.png up to favicon-512x512.png, in seven sizes: 16, 32, 48, 64, 180, 192 and 512.

The files are small. A simple rounded-square logo gave us a 1.3 KB favicon.ico and a 12 KB 512-pixel PNG. Everything happens in your browser, so the logo isn't uploaded anywhere.

Two things the tool doesn't do. It keeps transparency and adds no padding, while Evil Martians recommend a solid background and about 20 pixels of padding for the 180×180 Apple icon (they scale the logo to 140×140 on a 180×180 canvas). For that one file, feed the tool a version of your logo already placed on a coloured square. And it doesn't make an SVG icon, a maskable icon or the manifest file; the next step covers those.

Step 3: Upload the files and add the HTML tags

Upload the files to your site's root folder, the one that serves your home page, so favicon.ico is at https://yoursite.com/favicon.ico. Then put these lines in the <head> of every page, using the tool's file names:

<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/favicon-180x180.png">
<link rel="manifest" href="/manifest.webmanifest">

Leave out the SVG line if you don't have an SVG icon, and the manifest line if you don't need Android home-screen icons. The tool's own snippet uses sizes="any" on the ICO line and adds PNG links at 32 and 192; that also works. Evil Martians switched to sizes="32x32" in 2023 because, with sizes="any", Chrome picked the ICO over the SVG.

The manifest is a small text file. Save this as manifest.webmanifest in the root folder:

{
  "name": "Your Site",
  "icons": [
    { "src": "/favicon-192x192.png", "type": "image/png", "sizes": "192x192" },
    { "src": "/favicon-512x512.png", "type": "image/png", "sizes": "512x512" }
  ]
}

web.dev notes that Chromium needs at least a 192×192 and a 512×512 icon. Android shows a transparent icon small, inside a white circle, unless you also add a maskable version: a 512×512 PNG with the logo inside the central circle of 409 pixels and a solid background to the edges, listed with "purpose": "maskable". maskable.app lets you preview it.

For dark mode, an SVG favicon can carry its own colours for each theme: add a <style> block inside the SVG with a @media (prefers-color-scheme: dark) rule that changes the fill. A dark logo on a dark browser tab otherwise disappears.

Adding a favicon on WordPress

WordPress has a built-in Site Icon setting, and its documentation recommends it over editing theme files:

  • WordPress 6.5 or later: go to Settings → General, click Choose a Site Icon, pick or upload the image and save.
  • WordPress 4.3 to 6.4: go to Appearance → Customize → Site Identity and click Select Image under Site Icon.

WordPress asks for a square image of at least 512×512 pixels and recommends PNG, so upload favicon-512x512.png from the tool, or your square logo. WordPress then makes the smaller sizes and adds the tags itself, so you don't upload the ICO or edit header.php.

Adding a favicon on Blogger

In Blogger, open Settings and find Favicon in the Basic section, which says "Upload a custom favicon". Upload a square PNG. Blogger takes a single image, so use a mid-size file: if the 512-pixel PNG is refused, use the 192-pixel one, which is much smaller. The new icon can take a while to appear in your own browser because of caching.

Checking that it works

  • Browser tab: open the site in a private window. Browsers cache favicons for a long time, so a normal window may keep showing the old one. Adding ?v=2 to the link (/favicon.ico?v=2) forces a fresh download for returning visitors.
  • Direct URL: open yoursite.com/favicon.ico and each file in the tags. A 404 means a wrong folder or file name.
  • Google Search: Google shows one favicon per hostname, taken from the home page. It must be square, at least 8×8 (Google recommends larger than 48×48), at a stable URL, and crawlable by Googlebot-Image. Google says recrawling can take several days to several weeks; the URL Inspection tool in Search Console lets you request indexing of the home page.

Related: if your logo is a vector file and you need PNGs for other places, see how to convert SVG to PNG; the SVG to PNG converter keeps transparency. To reduce a large logo PNG before uploading it elsewhere, try the image resizer.

Frequently asked questions

What size should a favicon be?

Make the source at least 512×512. The files you publish are 32×32 for favicon.ico, 180×180 for the Apple touch icon, and 192×192 and 512×512 for the manifest. An SVG icon has no fixed size.

Do I still need favicon.ico?

Yes. Some tools request /favicon.ico without reading your HTML, older browsers need it, and Google Search doesn't list SVG among its supported favicon formats.

Can a favicon be a JPG?

It can, and Google accepts JPEG, but JPG has no transparency, so you get a box around the logo. Use PNG for raster files.

Why does my favicon look blurry?

Usually too much detail for 16 or 32 pixels, or a small source image being enlarged. Start from 512×512 or an SVG and simplify the design. Evil Martians suggest drawing a separate 16×16 version if the 32×32 one blurs when shrunk.

Why does Google still show the old favicon or a default icon?

Google has to recrawl your home page and the icon, which can take days to weeks. Check that the file isn't blocked by robots.txt, is square, and is linked from the home page itself.

Sources: Evil Martians, "How to Favicon in 2026" (January 2026); web.dev, "Add a web app manifest"; Google Search Central, "Define a favicon to show in search results" (updated August 2026); caniuse.com, SVG favicons; WordPress.org documentation, "Create a Favicon"; Blogger Help, "Manage your blog's settings".

  • #favicon
  • #favicon size
  • #apple touch icon
  • #web app manifest
  • #wordpress site icon
  • #blogger favicon

Tools used in this guide

Free, no sign-up, and they run in your browser.

About EthicalFusion

EthicalFusion offers 321 free online tools for money, documents, images, writing and code. This guide was written by the team that builds them. Calculators give estimates, so confirm important figures with your bank, CA or doctor.

About us Suggest a correction

Keep reading

All articles