favicon-generator
A favicon generator is a tool that produces the small icon shown in browser tabs, bookmarks, and home-screen shortcuts in every size and format modern platforms expect. The ZTools Favicon Generator takes a single source image (PNG, JPG, or SVG) and emits a complete favicon package: 16Γ16, 32Γ32, 48Γ48, 64Γ64, 96Γ96, 128Γ128, 192Γ192, 512Γ512 PNGs, a multi-size ICO, an Apple Touch Icon (180Γ180), and the matching <link> tags ready to paste into your HTML <head>. Everything generated client-side; the source image is never uploaded.
Use casesβ
Adding a favicon to a brand-new websiteβ
Upload your logo, get a complete package in 5 seconds, drop the files in your public/ folder, and paste the generated <link> tags into your <head>. Saves an hour of resizing in Photoshop and figuring out which formats each browser wants.
Updating an existing favicon for a brand refreshβ
Re-run the generator with your new logo. Replace the old files in your repo and ship β every browser sees the new icon on the next cache miss.
Creating a high-resolution Apple Touch Icon for iOS home-screen pinningβ
iOS Safari's "Add to Home Screen" uses a 180Γ180 PNG with no transparency. The generator emits exactly this format alongside the standard favicon set, so iOS bookmarks show your full-resolution logo instead of a cropped screenshot.
Producing PWA icons for manifest.jsonβ
Progressive Web Apps need 192Γ192 and 512Γ512 icons referenced in the web app manifest. The generator outputs both at the right pixel densities; copy the file paths into your manifest.json icons array.
How it worksβ
- Upload your source image β PNG, JPG, or SVG. Square images work best (non-square images are letterboxed). Recommended source size: at least 512Γ512 to avoid upscaling artifacts on the largest output.
- Optional: choose background color and padding β For SVG sources, pick a background fill if your icon needs a filled rounded square (iOS style). Padding controls the safe area inside the canvas.
- Click Generate β The tool draws your image onto a series of canvases at every target resolution and encodes each as PNG. The ICO file is built by stitching the 16/32/48 PNGs together per the ICO spec.
- Download the ZIP package β Contains every PNG, the ICO file, and a
favicon-tags.htmlsnippet with the recommended<link>tags. - Drop files into your project β Place all files in your site root (or
/public/). Paste the<link>tags into your<head>. Hard-refresh (Ctrl+Shift+R) to see the new favicon.
Examplesβ
Input: 1024Γ1024 PNG logo
Output: favicon.ico, favicon-16x16.png, favicon-32x32.png, apple-touch-icon.png (180Γ180), android-chrome-192x192.png, android-chrome-512x512.png
Input: 512Γ512 SVG with transparent background
Output: Same as above plus an Apple Touch Icon with white background (iOS does not render transparency).
Frequently asked questionsβ
Why do I need so many favicon sizes?
Each platform picks the closest match: 16Γ16 for browser tabs, 32Γ32 for retina tabs, 192Γ192 for Android home screens, 512Γ512 for splash screens, 180Γ180 for iOS home screens. Providing every size avoids ugly browser-side scaling.
Is favicon.ico still necessary?
Yes β older browsers and many crawlers (including Google) still request /favicon.ico from the site root. The multi-size ICO contains 16Γ16, 32Γ32, and 48Γ48 in one file for backward compatibility.
What's the recommended source image size?
512Γ512 minimum. Larger sources (1024Γ1024 or vector SVG) produce sharper results across all output sizes because no upscaling is needed.
Will my source image be uploaded?
No. All resizing and encoding happen in your browser via the Canvas API. The source image stays on your device.
How do I update the favicon if browsers cached the old one?
Browsers cache favicons aggressively (often forever). Force a refresh by appending a query string to the link tag (href="/favicon.ico?v=2") or renaming the file.
Should I use a transparent or solid background?
Transparent for browser tabs (looks cleaner). Solid for iOS Apple Touch Icon (iOS adds its own rounded mask and ignores alpha). The generator handles both automatically.
Tipsβ
- Start with at least a 512Γ512 source image to avoid upscaling artifacts.
- Use a square logo without text β text becomes unreadable at 16Γ16.
- After deploying, validate with realfavicongenerator.net or https://your-site.com/favicon.ico in incognito.
- Hard-refresh after deploying a new favicon to clear browser cache.
Try it nowβ
The full favicon-generator runs in your browser at https://ztools.zaions.com/favicon-generator β no signup, no upload, no data leaves your device.
Last updated: 2026-05-05 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub