Guide · 5 min read
Favicon size, format and HTML: one drawing, every place it shows.
What size a favicon should be, which files to ship, the HTML to paste, a favicon that follows dark mode, and why yours is not showing, on one icon in every place it shows.
Drop an image here
PNG, JPG, WebP, AVIF, GIF, BMP, TIFF or SVG · Up to 10 MB
The short version83 words
A favicon is the small icon a browser shows beside a page's title, in its tabs, its bookmarks and Google's results. Draw it square from your logo's mark alone and ship three files: an icon.svg for every size and dark mode, a favicon.ico at 32 px for older browsers and Google, and a 180 px apple-touch-icon.png on a solid ground for iPhones. Three lines of HTML link them. Add 192 and 512 px icons only for a site people install as an app.
Updated 10 sources ↓
01The sizes
What size should a favicon be?
A tab draws a favicon at 16 px, so a sharp screen paints it with 32 pixels. A PNG made at 16 px is stretched there; the SVG is drawn again for the screen.
- 16 pxa browser tab
- 32 pxfavicon.ico
- 48 pxGoogle's results: go larger
- 180 pxan iPhone's home screen
- 192 pxan installed app
- 512 pxan app's largestshown at 38 %
02The formats
ICO, PNG or SVG: which format should a favicon be?
SVG
- Holds
- Every size, and a dark mode
- Read by
- Chrome, Edge and Firefox; Safari from version 26
- Use it for
- The tab
ICO
- Holds
- Several sizes in one file
- Read by
- Every browser, and Google Search
- Use it for
- The file at /favicon.ico
PNG
- Holds
- One size in each file
- Read by
- Every browser, Google Search and Apple
- Use it for
- The Apple icon and app icons
| Format | Holds | Read by | Use it for |
|---|---|---|---|
| SVG | Every size, and a dark mode | Chrome, Edge and Firefox; Safari from version 26 | The tab |
| ICO | Several sizes in one file | Every browser, and Google Search | The file at /favicon.ico |
| PNG | One size in each file | Every browser, Google Search and Apple | The Apple icon and app icons |
03The HTML
What is the HTML for a favicon?
For an app, add <link rel="manifest" href="/site.webmanifest"> and the manifest's two icons. Next.js writes these tags itself from the files you put in its app folder.
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">04From your logo
How do I make a favicon from my logo?
Drop your logo. Get its SVG.
- 01Take the mark alone: a name in letters turns to a smudge at 16 px.
- 02Drop it here: VecSnap draws it again as shapes, an SVG that stays sharp at every size.
- 03Square the canvas around the mark, with a little room on each side.
- 04Export the PNGs from that SVG: 32 px for the ICO, 180 px on a solid ground for Apple, 192 and 512 px for an app.
- 05Paste the HTML above into every page's head.
Drop an image here
PNG, JPG, WebP, AVIF, GIF, BMP, TIFF or SVG · Up to 10 MB
05Dark mode
How do I make a favicon that works in dark mode?
A PNG or an ICO cannot change with the theme, so give it colors that read on both. Squarespace takes a second favicon for dark mode instead.
<style>@media (prefers-color-scheme: dark){[fill="#202e49"]{fill:#5b7bb8}[stroke="#202e49"]{stroke:#5b7bb8}}</style>06Not showing
Why is my favicon not showing?
- Your browserIt kept the old one
- A browser saves a favicon by its address and keeps it
- Give the new file a new name, or add ?v=2 to its link
- This site's own icon stayed old in Safari until its address changed
- No linkIt is not where browsers look
- With no link tag, a browser asks for /favicon.ico
- Put that file at your site's root
- GoogleIt has not been back yet
- Google shows a new favicon after it crawls your home page
- That takes from days to weeks
- URL Inspection in Search Console asks it to come
- GoogleIt cannot read the file
- Square, at least 8 px, more than 48 px advised
- In a format Google reads: an ICO or a PNG, never an SVG
- One favicon for each hostname: a subdomain has its own
- GoogleIt cannot reach the file
- Its crawlers must reach your home page and the icon
- Nothing in robots.txt may block them
- Keep the icon at the same address
- SafariIt is older than version 26
- Safari reads an SVG favicon from version 26
- Before it, the ICO or PNG is what shows
07Your platform
How do I add a favicon on WordPress, Shopify, Squarespace or Wix?
WordPress
- Where
- Appearance › Customize › Site Identity › Site Icon
- What it asks for
- A square, at least 512 px
Shopify
- Where
- Online Store › Edit theme › Theme settings › Favicon
- What it asks for
- 32 × 32 px
Squarespace
- Where
- The Favicon panel
- What it asks for
- 100 to 300 px, a PNG; a second one for dark mode
Wix
- Where
- Settings › Website settings › Favicon
- What it asks for
- A multiple of 48 px, or an SVG; a Premium plan and a domain
Next.js
- Where
- app/favicon.ico, app/icon.svg, app/apple-icon.png
- What it asks for
- Any size: the tags are written for you
| Platform | Where | What it asks for |
|---|---|---|
| WordPress | Appearance › Customize › Site Identity › Site Icon | A square, at least 512 px |
| Shopify | Online Store › Edit theme › Theme settings › Favicon | 32 × 32 px |
| Squarespace | The Favicon panel | 100 to 300 px, a PNG; a second one for dark mode |
| Wix | Settings › Website settings › Favicon | A multiple of 48 px, or an SVG; a Premium plan and a domain |
| Next.js | app/favicon.ico, app/icon.svg, app/apple-icon.png | Any size: the tags are written for you |
08Questions
Favicons, answered.
Sources
- Define a favicon to show in search resultsGoogle, read Oct 26, 2026
- HTML Standard: link type "icon"WHATWG, read Oct 26, 2026
- Configuring Web ApplicationsApple, read Oct 26, 2026
- What does it take to be installable?web.dev, read Oct 26, 2026
- SVG faviconscaniuse, read Oct 26, 2026
- favicon, icon, and apple-iconNext.js, read Oct 26, 2026
- CustomizerWordPress, read Oct 26, 2026
- Theme settingsShopify, read Oct 26, 2026
- Add a favicon or browser iconSquarespace, read Oct 26, 2026
- Wix Editor: Changing Your FaviconWix, read Oct 26, 2026
The small icon a browser shows beside a page's title: in its tabs, its bookmarks and its history, and beside your site's name in Google's results.
Yes. A browser asks for /favicon.ico when a page names no icon, and Google Search reads ICO and PNG, never SVG.
Yes. Every browser and Google Search read a PNG favicon: make it square, and more than 48 px for Google.
180 × 180 px, a PNG, linked with rel="apple-touch-icon" or saved as apple-touch-icon.png at your site's root.
In a browser tab, yes. The Apple icon fills a whole tile on a home screen, so give it a solid ground in your colors.
From several days to several weeks, after it crawls your home page again. URL Inspection in Search Console asks it to come sooner.
09More guides
Keep reading

What is an SVG file?
What the format is, and how to open, make and edit one, on a real file read line by line.
Guide · 4 min read

What is a vector file?
What one is, its formats, and how to tell a real one from pixels.
Guide · 3 min read

Image Trace in Illustrator, step by step
The steps, the settings and Expand, and what to do when Image Trace is grayed out.
Guide · 3 min read

How to change a logo's color
Change a logo's colors, make a white or a black version, and why a recolored PNG grows a halo.
Guide · 4 min read

How to fix a pixelated logo
Why a logo pixelates, the pixels each place asks for, and the fixes, shown on one small JPEG.
Guide · 5 min read

SVG viewBox, width and height
The viewBox, width and height, a responsive SVG, and why yours will not scale, shown on one file.
Guide · 4 min read

SVG vs PNG
Which format each job needs, shown on one drawing saved both ways.
Guide · 3 min read

How to change an SVG's color
Recolor an SVG in its text, with CSS or currentColor, and why one in an img tag will not change.
Guide · 4 min read

How to add a sticker border
A white edge and a smooth cut line, in Cricut, Illustrator, Inkscape or one step.
Guide · 5 min read
Inkscape Trace Bitmap, step by step
The steps, the modes and the settings, and what Trace Bitmap leaves on a real PNG.
Guide · 4 min read

How to vectorize an image in Photoshop
Make Work Path, color by color, and where it stops: what Photoshop can vectorize.
Guide · 4 min read

SVG vs EPS
What differs, which to send a printer, and one logo opened both ways.
Guide · 3 min read

How to vectorize an image in Canva
Canva's own apps, why a PNG saved as an SVG stays pixels, and an SVG you can recolor in Canva.
Guide · 4 min read

How to turn a Procreate drawing into a vector
Procreate shares no vector file: export the PNG that converts best, and draw for it.
Guide · 2 min read

How to make an SVG for Cricut
Why Design Space wants an SVG, and how to make one with a layer for each color.
Guide · 4 min read

Image Trace in Affinity, step by step
The steps, the two settings, where it is, and why traced corners come out round.
Guide · 4 min read

How to make an SVG for laser cutting
Why a traced SVG engraves some areas twice, and the file each laser app wants.
Guide · 5 min read

How to vectorize an image in Figma
Figma's own Vectorize, how to import or paste an SVG, and what makes a file easy to edit there.
Guide · 3 min read

How to reduce anchor points
Why a traced SVG has thousands, what they cost, and how to keep only the few a shape needs.
Guide · 2 min read
Drop an image. Check the file.
Converting is free. You see the whole result before you spend anything.
Drop an image here
PNG, JPG, WebP, AVIF, GIF, BMP, TIFF or SVG · Up to 10 MB