Our generator lets you easily convert standard raster images like PNG to favicon outputs by utilizing browser canvas processors. The conversion parses alpha transparency maps to render clean, unpixelated edge alignments on small grids. To embed smaller favicon files directly in your HTML code to minimize HTTP requests, you can convert your PNG output to an inline data URI using our secure
Base64 Encoder / Decoder. If you are developing React applications, you can embed your newly generated asset sizes securely inside a Next.js App Router metadata configuration block:
export const metadata = {
icons: {
icon: [
{ url: '/favicon-16x16.png', sizes: '16x16', type: 'image/png' },
{ url: '/favicon-32x32.png', sizes: '32x32', type: 'image/png' },
],
apple: '/apple-touch-icon.png',
},
};