← back to flaviocopes.com

Favicon checklist & generator

← All tools

Check what you want to support — legacy browsers, iOS, PWA, dark mode — and get the exact files to create plus the <link> tags to drop in your HTML.

~~~

What to support

SVG favicon is always included — it is the modern baseline. Everything else is optional depending on your audience.

~~~

Files to create

FileSizeNotes
~~~

HTML snippet

Put favicon files in your site's public root (or adjust paths). For dark mode, serve a second SVG and use media="(prefers-color-scheme: dark)" on the alternate <link>.

~~~

About this tool

You do not need twenty favicon sizes anymore. A single SVG plus an ICO fallback covers most desktop browsers. Add apple-touch-icon if people save your site to their iPhone home screen, and a web manifest if you want installable PWA icons.

Dark mode favicons use two SVGs and a prefers-color-scheme media query on the second <link> — no JavaScript required.

~~~

Read more