← Favicon generator
128px
64px
48px
32px
16px
My site
Design a logoMake a whole brandFavicon for React (Vite or Create React App)Favicon for Next.jsFavicon for Astro
Favicon generator for Gatsby
Gatsby makes the favicon and the manifest icons from one source picture through gatsby-plugin-manifest. Make your favicon below, download the zip, and follow the steps for Gatsby. Free, no sign-up, and nothing leaves your device.
Start from
Shape
Colours
Preview
In a browser tab
On a phone home screen, as My site
The zip has favicon.ico, favicon.svg, PNGs at 16, 32, 48, 180, 192, 512 px, the Apple touch icon, a web manifest and the lines to paste in your page.
Paste in your page's <head>
<link rel="icon" href="/favicon.ico" sizes="48x48"> <link rel="icon" href="/favicon.svg" type="image/svg+xml"> <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="apple-touch-icon" href="/apple-touch-icon.png"> <link rel="manifest" href="/site.webmanifest"> <meta name="theme-color" content="#2563EB">
How to add it to Gatsby
Use android-chrome-512x512.png (A square source picture of at least 512 × 512 px, used by gatsby-plugin-manifest).
- Make your favicon here and download the zip.
- Copy android-chrome-512x512.png into your project, for example src/images/icon.png.
- In gatsby-config, set the icon option of gatsby-plugin-manifest to that path (for example icon: "src/images/icon.png"), along with your site's name and theme colour.
- Restart gatsby develop; the plugin makes the sizes and adds the link tags for you.
- Build and deploy; check the live tab in a private window.
If it does not work
- The source picture must be square and large enough (512 px).
- A favicon.ico in the static folder is also served from the root, which helps older browsers.