Favicon Generator
Generate every favicon and app icon size from one image, with the HTML to link them and a live preview at each size.
Loading tool…
Icons are generated from your image in your browser. Nothing is uploaded.
What the Favicon Generator does
This favicon generator will generate every favicon and app icon size from one image, with the HTML to link them and a live preview at each size. Everything runs inside this page, so the work happens on your own device rather than on a server. It is most often used for setting up favicons for a new site. The companion to this one is our AVIF to JPG converter.
How to use it
- Choose a square image — 512 × 512 pixels or larger works best.
- Every standard size is generated and previewed.
- Download each PNG you need.
- Copy the HTML into the head of your pages.
How it works
A modern site needs fewer icon files than it used to. The practical set is a 32 × 32 PNG for browser tabs, a 180 × 180 apple-touch-icon for iOS home screens, and 192 × 192 and 512 × 512 for the web app manifest used by Android. The old .ico file is only needed for versions of Internet Explorer that are no longer supported.
An SVG favicon is better still where you can use one. It scales to any size, costs a fraction of the bytes, and can respond to the user's colour scheme with a media query inside the SVG. Every current browser supports it, with the PNGs serving as the fallback.
Design for the small size rather than shrinking a complex logo. At 32 pixels square there is room for one letter or one simple shape; detail that reads well at 512 pixels becomes an unidentifiable smudge. Test at the real size using the previews rather than judging from the large version.
When to use it
- Setting up favicons for a new site.
- Adding home-screen icons for iOS and Android.
- Replacing an old single .ico file with modern sizes.
Common mistakes to avoid
- Using a detailed logo that becomes unreadable at 32 pixels.
- Supplying a non-square source image, which gets letterboxed or distorted.
- Forgetting the apple-touch-icon, which leaves iOS to screenshot your page instead.
Frequently asked questions
Which sizes do I actually need?
In practice: 32 × 32 for tabs, 180 × 180 for iOS home screens, and 192 × 192 plus 512 × 512 for the web app manifest. An SVG favicon can replace the first of those entirely.
Do I still need favicon.ico?
Only for very old Internet Explorer versions. Every browser in current use reads PNG and SVG favicons from link tags.