Upload Your Image
Favicon Preview
HTML Integration Code
React Integration
Next.js Integration
Vue Integration
Integration Guide
HTML Integration Steps
- Upload the favicon files to your website's root directory or an images folder.
- Copy the generated HTML code from above and paste it in the
<head>
section of your website. - For best results, include both ICO and PNG versions as shown in the generated code.
- Test your favicon on different browsers and devices to ensure compatibility.
Sample HTML Code
<!-- Favicon for most browsers -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<!-- Favicon for modern browsers -->
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<!-- Apple Touch Icon -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<!-- Android Chrome Icon -->
<link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
<!-- Web App Manifest -->
<link rel="manifest" href="/site.webmanifest">
React Integration Steps
- Place the favicon files in your
public
folder. - Modify the
public/index.html
file to include the favicon links. - For Create React App, you may need to clear cache or use a production build to see changes.
Sample React Code
// In public/index.html
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/apple-touch-icon.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
Next.js Integration Steps
- Place the favicon files in your
public
folder. - Use the Next.js Head component to add favicon links to all pages.
- For best results, consider using the
next/head
component in your_app.js
file.
Sample Next.js Code
// In pages/_app.js
import Head from 'next/head';
function MyApp({ Component, pageProps }) {
return (
<>
<Head>
<link rel="icon" href="/favicon.ico" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.json" />
</Head>
<Component {...pageProps} />
</>
);
}
Vue Integration Steps
- Place the favicon files in your
public
folder. - Modify the
public/index.html
file to include the favicon links. - For Vue CLI projects, you may need to rebuild to see changes.
Sample Vue Code
<!-- In public/index.html -->
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="apple-touch-icon" href="<%= BASE_URL %>apple-touch-icon.png">
<link rel="manifest" href="<%= BASE_URL %>manifest.json">
Multi-Device Support
Generate icons optimized for all devices including desktops, iOS, Android, and Windows.
Automatic Code Generation
Get ready-to-use HTML code for easy integration with any website or framework.
High-Quality Output
Our algorithm ensures crisp, clear icons at any size with perfect anti-aliasing.