How to Create a Favicon for Your Website (All Sizes at Once)
Why One Image Isn't Enough
A favicon isn't a single file — different contexts need different pixel sizes: a browser tab typically shows a 16x16 or 32x32 icon, an Apple device home-screen shortcut needs 180x180, Android home screens and PWA install prompts need up to 512x512. Providing only one size means it gets stretched or shrunk awkwardly wherever a different size was actually expected, often looking blurry or oddly cropped.
Step-by-Step: Generating a Favicon
- Open the tool: Go to Favicon Generator (DCPixel PRO).
- Upload a source image: Ideally a simple, square logo or icon with enough contrast to stay legible at 16x16.
- Generate: The tool renders all required sizes (16, 32, 48, 64, 96, 128, 180, 192, 256, 512px) from the single source.
- Download and deploy: Get a ZIP with every PNG file, ready to upload to your site's root or reference in your HTML.
Designing a Source Image That Works at Every Size
- Keep it simple: intricate detail disappears entirely at 16x16 — a bold, simple shape or single letter reads far better than a detailed logo.
- Start square: a non-square source gets distorted or padded oddly across sizes — crop to 1:1 first if needed.
- Check contrast: make sure the icon is visible against both light and dark browser tab backgrounds.
Where Each Size Gets Used
- 16x16 / 32x32: browser tabs and bookmarks bar
- 180x180: Apple touch icon for iOS home screen shortcuts
- 192x192 / 512x512: Android home screen and Progressive Web App install icons
- 48x64x96x128x256: various OS-level shortcut and taskbar contexts
Conclusion
A proper favicon setup means generating every required size from one clean source image, not hoping a single file scales gracefully everywhere. DCPIXEL generates the full set locally in one click, packaged as a ready-to-deploy ZIP.
Written by Dalto
Dalto is the founder of DCOUTLIER and creator of DCPIXEL. He specializes in browser performance, WebAssembly, and privacy-first web development.
Try DCPIXEL's Tools
Experience client-side processing with DCPIXEL — no data collection. 3 tools free, 170+ more with PRO.