favicon.ico · Multi-size · ICO format · No upload
favicon.ico Generator
Updated: May 2026
A proper favicon.ico embeds multiple sizes in a single file — 16×16, 32×32 and 48×48. This allows the browser and OS to pick the best size for each use case without a separate HTTP request per size.
Multi-size ICO · Free · No upload · Built in the browser
The ICO file format explained
A .ico file is a container format. It stores multiple images at different sizes and color depths. Modern ICO files use PNG images internally, which means they support full 32-bit RGBA color with alpha transparency.
The ICO container starts with a 6-byte header, followed by a directory entry for each embedded image (16 bytes per entry), then the raw image data. Our tool writes valid PNG-in-ICO files following the ICONDIR specification.
Why favicon.ico is still required in 2026
- Browsers request
/favicon.icoautomatically without a<link>tag — serving it avoids a 404 on every pageview. - Windows Explorer, taskbar and shortcut icons read the ICO format natively.
- RSS readers, feed aggregators and some bookmark managers rely on the root
favicon.ico. - Legacy browsers (IE 11 and older) do not support
<link rel="icon" type="image/png">.
Where to place favicon.ico
Place favicon.ico in the root of your domain: https://example.com/favicon.ico. No <link> tag is strictly needed, but adding one improves control:
<link rel="shortcut icon" href="/favicon.ico">
Combine with modern PNG favicons for full coverage:
<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="shortcut icon" href="/favicon.ico">
Frequently asked questions
How do I create a favicon.ico file?
Upload your PNG to this favicon generator, make sure sizes 16, 32 and 48 are selected, click Generate, then click "Download favicon.ico". The file embeds all three sizes as PNG data inside a single ICO container.
Should favicon.ico contain one size or multiple?
Multiple. A well-formed favicon.ico contains at minimum 16×16 and 32×32. Adding 48×48 covers Windows desktop shortcuts. The browser picks the best size automatically from the container.
Is favicon.ico still needed in 2026?
Yes. Browsers silently request /favicon.ico even if no <link> tag is present. Not serving it generates a 404 error in your server logs on every page load. It also ensures compatibility with legacy browsers and Windows shell integrations.
What is the maximum size for a favicon.ico?
ICO supports sizes up to 256×256. Modern ICO files use PNG compression for sizes above 48×48. However, for the tab favicon use case, 16, 32 and 48 are the practical maximum — larger sizes in an ICO are only used for Windows app icons.