What This Tool Does

This favicon generator takes any square PNG and produces every favicon size modern browsers and devices need: 16×16, 32×32, 48×48 (browser tabs), 180×180 (Apple touch icon), 192×192 and 512×512 (Android / PWA), plus a site.webmanifest and the HTML tags ready to paste into your site's .

Inputs Explained

How It Works

The source image is drawn to Canvas elements at each target size using high-quality interpolation, then exported as PNG Blobs. The HTML snippet and web app manifest are generated with references to each size. All output files are bundled for download or individual save.

Formula / Logic Used

For each size S in [16,32,48,180,192,512]: canvas(S×S).drawImage(source).toBlob('image/png')

Favicon Generator

Upload one square PNG and get every favicon size plus the HTML snippet.

Step-by-Step Example

Generated files for any favicon:

Drop all files in your site root, paste the HTML snippet into every page's <head>.

Use Cases

Assumptions and Limitations

Disclaimer: All image processing happens in your browser using Canvas. Your source image is never uploaded. For best results, supply a crisp square PNG at 512×512 or larger.

Frequently Asked Questions

Do I still need a .ico file?

No. Every modern browser (Chrome, Firefox, Safari, Edge) accepts PNG favicons via the tag. The old favicon.ico format is no longer necessary unless you need IE8 or older support.

What size should my source image be?

At least 512×512 pixels, square, PNG format. The tool downscales from your source, so higher resolution inputs produce sharper icons at every size. Avoid JPG sources for favicons — compression artifacts show at small sizes.

What is site.webmanifest for?

The web manifest is a JSON file that lets browsers install your site as a Progressive Web App (PWA). It includes icon references, theme color, and display mode. Even if you don't need PWA, including it helps mobile browsers show proper icons.

What's an Apple Touch Icon?

When iOS users 'Add to Home Screen,' Safari looks for apple-touch-icon.png (180×180). Without it, iOS generates a blurry screenshot thumbnail. Including this file makes your site look app-like on iPhones and iPads.

Where do I place the generated files?

Upload all PNG files and site.webmanifest to your site's root directory (same level as index.html). Then paste the HTML snippet into every page's section, ideally from a shared layout template.

Why are there different sizes for the same purpose?

Different contexts need different sizes: 16×16 for browser tabs, 32×32 for Retina tabs, 48×48 for Windows shortcuts, 180×180 for iOS, 192×192 and 512×512 for Android/PWA. Using one large icon would waste bandwidth on every page load.

Should my icon have a transparent background?

Generally yes for the light/dark theme compatibility. But iOS always shows icons on a rounded-rectangle white background — a fully transparent icon will look odd on iOS home screens. Test on multiple devices.

Is my image uploaded to a server?

No. Favicon generation happens entirely in your browser using Canvas. Your source image stays on your device throughout the process.

Sources and References

Related Calculators

Image ResizerImage Format ConverterImage CompressorImage to Base64QR Code GeneratorPlaceholder Image