Favicon size: dimensions, formats and HTML tags
Start from a square image of at least 512 px, then produce an ICO (16, 32, 48 px), a 180 px PNG for Apple and 192 and 512 px PNGs for the manifest.
Google recommends an icon larger than 48 x 48 px.
Updated November 23, 2026
The basic rules
According to Google's documentation on favicons in search results, the favicon must be square (1:1 ratio) and at least 8 x 8 px, but Google recommends going above 48 x 48 px. The listed formats are BMP, GIF, ICO, PNG, JPEG, PPM and TIFF. SVG does not appear in this list: if the favicon must show in Google search, keep an ICO or a PNG.
Which sizes should you make?
| Size | Use |
|---|---|
| 16 x 16 and 32 x 32 px | Browser tab and bookmarks (usual sizes, to put in an ICO file) |
| 48 x 48 px | Threshold to exceed according to Google for search |
| 180 x 180 px | Home screen icon on Apple devices (apple-touch-icon) |
| 192 x 192 and 512 x 512 px | Web app manifest icons; web.dev says these two sizes are enough in most cases |
Start from a square image of 512 px or more, simple and readable even when very small: avoid small text and fine details.
ICO, PNG or SVG?
- ICO: a single file that can hold several sizes. To create yours from an image, use PNG to ICO.
- PNG: suited to Apple icons and the manifest. If you start from a vector drawing, SVG to PNG produces it at the size you want; resizing gives you the other dimensions.
- SVG: sharp at every size. web.dev notes that Chromium-based browsers accept it for app icons, with a raster version as a fallback. Do not rely on it alone.
The HTML tags
Place them in the head section of your home page. Example with a classic ICO: <link rel="icon" href="/favicon.ico" sizes="48x48">. For an Apple icon: <link rel="apple-touch-icon" href="/apple-touch-icon.png">. If you add an SVG: <link rel="icon" href="/icon.svg" type="image/svg+xml">. Google accepts the values icon (recommended), shortcut icon, apple-touch-icon and apple-touch-icon-precomposed.
Pitfalls
- The favicon must stay accessible: do not block it in
robots.txt, and keep a stable URL. - Google states that display is never guaranteed, and that a change can take several days to several weeks to be picked up.
- Your browser often keeps the old favicon in its cache: do a hard refresh to check.
Official sources: favicons in Google Search and manifest icons on web.dev.
Frequently asked questions
What is the minimum size of a favicon?
Google gives 8 x 8 px as the minimum, but recommends a size larger than 48 x 48 px.
Does a favicon have to be square?
Yes, Google asks for a 1:1 ratio.
Can I use an SVG as a favicon?
Recent browsers handle it, but Google's favicon page does not list it among the supported formats. Provide an ICO or a PNG.
Why doesn't my new favicon show up?
The browser cache often keeps the old one, and Google can take several days to several weeks to refresh its own.
Related tools
- PNG to ICOCreate an .ico file that holds several icon sizes, for a website favicon or a Windows icon.
- SVG to PNGTurn an SVG logo or icon into a sharp PNG image, at the size you choose, with transparent background kept.
- Resize ImageChange the size of your images in pixels or by percentage, one or several at a time.
More guides
- How to Convert a Photo to PDFTurn one or several photos into a single PDF on iPhone, Android, Windows or Mac, with our free tool or your device's built-in features.
- How to convert iPhone photos from HEIC to JPGYour iPhone saves photos as HEIC and your PC or a website rejects them? Convert them to JPG in seconds, or switch the iPhone camera to JPG.
- What is HEIC, and how to open it on Windows?What is a HEIC file? Learn about the iPhone photo format, open it on Windows with the Microsoft Store extensions, or convert it to JPG.
- What is WebP, and how to open .webp images?Why are your saved images .webp? Learn about Google's lightweight image format, how to open it and how to convert it to JPG or PNG in one click.
- JPG vs PNG vs WebP: which image format to choose?JPG, PNG, WebP, HEIC, SVG or GIF: which image format should you choose for each use? A clear comparison table and tips so you never hesitate again.