Favicon Generator
The Favicon Generator builds a complete favicon package from a letter, an emoji, or your logo — ICO plus PNG sizes, Apple touch icon, manifest, and the exact link tags — rendered on a canvas in your browser and delivered as one ZIP.
How to Use
- 1
Pick a source: a letter or two (your brand initial), an emoji, or upload your logo as a PNG, JPG, or WebP. Nothing is uploaded — everything renders in your browser.
- 2
Style it: background and letter colours for text/emoji, rounded corners on or off, and the site name and short name that go into the manifest.
- 3
Check the live preview: the icon at 16px in a mock browser tab — the size it will actually be seen at — on both a light and a dark tab bar, plus the 16/32/48px ladder.
- 4
Download the whole package as a ZIP: favicon.ico (16 + 32), PNG 16/32/48, Apple touch icon (180), Android icons (192/512), an SVG favicon for text/emoji sources, and site.webmanifest — or download single files.
- 5
Copy the <link> tags from step 4 and paste them into the <head> of every page; save site.webmanifest next to the icons and reference it with the manifest link tag.
- 6
Upload the files to your site root, then hard-refresh — browsers cache favicons aggressively, so a changed favicon often only appears after clearing the site data.
Frequently Asked Questions
What is a favicon?
What sizes do I need in 2026?
Do I still need favicon.ico?
SVG vs ICO vs PNG — which should I use?
How do I add a favicon to my site?
Is my logo uploaded anywhere?
Why does my new favicon not show up?
Text, emoji, or logo — which source should I use?
What is site.webmanifest for?
How do I make a favicon that works in dark mode?
Generative Answer & AI Documentation
What is the Favicon Generator?
A favicon is the small icon browsers show for a site in the tab, in bookmarks, in history, and on mobile home screens — usually 16×16 or 32×32 pixels. This tool generates the whole package from one source. A letter or emoji is drawn on a 512×512 canvas with your colours; a logo is cover-cropped into the same square. That master image is downscaled to 16, 32, 48, 180, 192, and 512 pixels as PNGs, and the 16 and 32 PNGs are packed into a favicon.ico by a hand-written encoder — modern browsers accept ICO files whose entries are PNG data, so no dependency or server is needed. The package also includes an SVG favicon for text and emoji sources, a site.webmanifest for install prompts, and the exact <link> tags to paste into your pages. Everything is generated live as you change a setting, and the preview shows the icon at 16px in a mock browser tab — the size it will actually be seen at — on both a light and a dark tab bar.
Why use Favicon Generator offline?
A missing favicon is the small unprofessional detail everyone notices: a blank or broken icon in the tab bar, a generic globe in bookmarks, a screenshot instead of your mark on a phone home screen. The established generators solve this by asking you to upload your logo to their server — for a brand asset, that is an unnecessary handoff — or by handing you a 20-file package with no explanation of what any of it does. A client-side generator keeps the logo in your tab, and a package that explains itself (three files are enough for a plain website; the rest is there because some platforms ask for it) saves you from shipping files you do not need. The live 16px preview is the part most generators skip: a logo that looks great at 512px can be an unreadable smudge at 16px, and you want to discover that before you ship, not after.
When should you use this tool?
Use it when a site launches or rebrands and needs its first favicon, when a side project has no logo yet and a bold letter on a strong colour will do, or when an existing favicon looks wrong — blurry, invisible on dark tabs, or missing on phones. Also use it when you add a web manifest for install prompts: the 192 and 512 icons the manifest needs are part of the package, so one generation covers both jobs. Revisit it whenever the brand colour or the letter changes — regenerating takes a minute, and browsers cache favicons aggressively, so shipping the new files promptly matters.
Key Benefits
- Three sources in one page: a letter, an emoji, or your own logo — the combination other generators split across two tools.
- The complete 2026 package in one ZIP: ICO (16 + 32), PNG 16/32/48, Apple touch icon, Android icons, SVG favicon, and site.webmanifest.
- Live preview at the real size: the icon at 16px in a mock tab on light and dark tab bars, so dark-mode invisibility is caught before shipping.
- Copy-ready output: the exact <link> tags and the manifest JSON are shown on the page, ready to paste — no guessing at paths or syntax.
- Nothing ever uploads: rendering, ICO encoding, and the ZIP all run in your browser, so your logo never touches a server.
Common Use Cases
- Launching a personal site or side project with a letter favicon — one bold initial on a brand colour, no logo needed.
- Making a favicon from an emoji for a playful or personal site, with an SVG version that stays sharp at any size.
- Converting a company logo into the full favicon package for a production site, including the Apple touch icon and manifest icons.
- Fixing a favicon that disappears on dark browser tabs, by checking the dark-tab preview and picking a stronger background.
- Adding a web manifest for install prompts: the 192/512 icons and the manifest JSON come out of the same generation.
Developer Notes & Best Practices
The render pipeline is Canvas throughout: the chosen source is drawn once at 512×512, then downscaled with imageSmoothingQuality 'high' to each PNG size. Text uses a bold system font (Arial/Helvetica) because web fonts cannot be relied on inside a canvas without a fetch; emoji render with the system emoji font. A logo is cover-cropped — scaled so the shorter side fills the square and centred — which is why the page recommends square logos: a wide logo loses its edges. The ICO encoder is hand-written in icoUtils.ts: a 6-byte header (reserved, type 1, image count) plus 16-byte directory entries pointing at the PNG payloads — the Vista PNG-in-ICO format every current browser accepts. The encoder is a pure function, so it is unit-tested in Node (header magic, entry count, sizes, offsets, and a parse-back round-trip). The manifest is standard JSON with the 192/512 icons, theme and background colours taken from the chosen background, and display standalone; the link tags list the ICO first (the universal fallback), then the PNGs, the optional SVG, the Apple touch icon, and the manifest. The ZIP is a stored (uncompressed) ZIP written inline with CRC32, the same zero-dependency writer the EXIF Remover and Image Compressor use. Verification tip: after installing, open /favicon.ico directly in the browser — if it shows your icon, the file is served; if it 404s, the path in your link tag is wrong.
What each file in the package is for
| File | Size | Used by | Can you skip it? |
|---|---|---|---|
| favicon.ico | 16 + 32 | Every browser — requested by default | No — always ship it |
| favicon-16x16.png | 16×16 | Tabs and bookmarks | No for a complete package; yes if you only ship the ICO + 32px |
| favicon-32x32.png | 32×32 | Tabs on high-DPI screens, shortcuts | No — the main PNG |
| favicon-48x48.png | 48×48 | Windows shortcuts and some browsers | Yes, for a minimal setup |
| apple-touch-icon.png | 180×180 | iOS home-screen shortcuts | Yes, if you do not care about iOS home screens |
| android-chrome-192x192.png | 192×192 | Android install prompts (via manifest) | Yes, unless you ship a manifest |
| android-chrome-512x512.png | 512×512 | Android install prompts, splash screens | Yes, unless you ship a manifest |
| favicon.svg | Vector | Modern browsers that prefer SVG | Yes — only generated for text/emoji sources |
| site.webmanifest | JSON | Install prompts and home-screen metadata | Yes, unless you want install prompts |
- Check the 16px preview before anything else: if the letter or logo is unreadable at 16px, simplify it — one initial, or a bolder mark — before shipping.
- Use a solid background colour with strong contrast: a dark icon on a transparent background vanishes on dark tab bars, and the dark preview shows this immediately.
- Keep favicon.ico in the package even though modern browsers accept PNGs — browsers still request /favicon.ico by default, and older clients only look for it.
- Upload the files, then clear the site data: browsers cache favicons aggressively, and a changed favicon often only appears after clearing storage, not after a normal refresh.
Common Mistakes
- Shipping a favicon and expecting it to appear instantly — browsers cache favicons for days, so clear the site data or open /favicon.ico directly and hard-refresh it.
- Using a detailed logo that is unreadable at 16px — simplify to one letter or a bold mark, and check the 16px preview.
- Putting the files in a subfolder but keeping the link tags pointed at the root — a 404 on /favicon.ico is the second most common cause of a missing favicon.
- Making a dark icon on a transparent background — it vanishes on dark tab bars; use a solid background colour with contrast.
Limitations
A raster logo cannot become a real vector, so the SVG favicon is only generated for text and emoji sources — logo uploads ship PNG + ICO only. A wide logo is cover-cropped into the square, so its edges are cut off; square logos work best, and the page says so. Emoji rendering depends on the system emoji font, so the same emoji can look slightly different on different operating systems. The manifest's theme and background colours are taken from the favicon background colour — if your site's theme colour differs, edit the manifest after downloading. Very old browsers ignore the PNG link tags and the manifest and use only favicon.ico, which is why the ICO is always included. HEIC logos are refused (browsers have no HEIC codec) and SVG logos are refused as a source image, because an SVG without intrinsic dimensions cannot be rasterised reliably — convert to PNG first.
Structured Input/Output Example
Source: text — letter "T" Background: #4f46e5 (indigo), letter colour: #ffffff, rounded corners on Site name: My Site, short name: Site
favicon-package.zip (7 files + site.webmanifest): favicon.ico (16 + 32) — a few KB, hand-encoded in the browser favicon-16x16.png, favicon-32x32.png, favicon-48x48.png apple-touch-icon.png (180), android-chrome-192x192.png, android-chrome-512x512.png favicon.svg, site.webmanifest Plus the <link> tags to paste into <head>.
Related Tools
Image Compressor
Compress JPG, PNG, WebP images in your browser — quality slider, target-size mode, resize and format choice. Batch of 20, ZIP download, nothing uploaded.
EXIF Remover
Remove EXIF, XMP and IPTC metadata from JPG, PNG and WebP photos — GPS, camera and date gone, 100% offline. (Rotated photos are re-encoded at 95%.)
CSS Gradient Generator
CSS gradient generator with linear, radial, conic and mesh/aurora gradients — live preview, presets, Tailwind output and PNG export. 100% offline.
Color Converter
Color converter: translate colors between HEX, RGB, HSL and OKLCH with a live preview swatch. Type a hex code or pick visually, then copy clean CSS.