What files belong in a modern favicon package?
A complete modern favicon package ships seven core files inside favicons.zip: a multi-resolution favicon.ico, an optional vector icon.svg, favicon-32x32.png, apple-touch-icon.png, two Android Chrome PNGs, site.webmanifest, and head-tags.html. Generating all assets from one master source inside your browser keeps brand proportions consistent across desktop tabs and mobile home screens.
Multi-size favicon.ico binary and vector icon.svg
Many online tools rename a single 32 px PNG to .ico, which breaks legacy crawlers and desktop bookmark managers. Here, encodeIco constructs a genuine ICONDIR binary containing 16×16, 32×32, and 48×48 frames encoded as 32-bit PNG payloads.
When your source is an SVG file or a generated text badge, the bundler also optimizes icon.svg at 2-decimal precision. If you want to inspect or further minify custom SVG logos before bundling, run your master vector through that tool first.
Apple touch icon, Android PWA Chrome icons, and site.webmanifest
Mobile operating systems read dedicated high-resolution PNGs instead of favicon.ico. The packager renders apple-touch-icon.png at 180×180 px for iOS Safari, plus android-chrome-192x192.png and android-chrome-512x512.png for Chrome and Progressive Web Apps.
| Output file | Dimensions | Purpose | Notes |
|---|---|---|---|
favicon.ico |
16, 32, 48 px | Legacy browsers & RSS/bookmark crawlers | Real 32-bit PNG ICONDIR binary |
icon.svg |
Scalable vector | Modern desktop & mobile tabs | Included for SVG uploads & badges |
favicon-32x32.png |
32×32 px | Standard raster tab fallback | Crisp high-color PNG |
apple-touch-icon.png |
180×180 px | iOS & iPadOS home screen | Opaque backdrop enabled by default |
android-chrome-192x192.png |
192×192 px | Android home screen shortcut | Referenced in site.webmanifest |
android-chrome-512x512.png |
512×512 px | Android splash & maskable icon | Tagged "purpose": "any maskable" |
Both Android icons are wired into site.webmanifest following the W3C Web App Manifest Specification, using your Site or app name (with short_name capped at 24 characters) and Browser theme color.
Converting PNG or SVG logos and designing text badges
You can generate a full icon suite either from an existing logo file or from scratch without opening a vector editor. Switching between From image or SVG and From text or initials updates the live tab and home-screen previews immediately.
PNG to ICO and SVG to ICO rasterization pipeline
In From image or SVG mode, drop any PNG, JPG, WebP, or SVG logo (square 512×512 px or larger is ideal for sharp downscaling). Uploaded SVGs are sanitized before rendering onto high-quality HTML5 Canvases at 16 px, 32 px, 48 px, 180 px, 192 px, and 512 px, handling both PNG to ICO and SVG to ICO workflows in one pass.
Designing 1-to-3 character badges with shape and contrast controls
Switching to From text or initials opens a clean SVG badge generator with a 512×512 viewBox aligned to the W3C Scalable Vector Graphics (SVG) 2 Specification. Enter 1 to 3 initials or an emoji, pick Rounded, Circle, or Square under Badge shape, and customize Background and Letter color.
Before finalizing your badge palette, check WCAG contrast between badge background and letter colors so small 16 px browser tab icons stay crisp and legible.
Why do Apple touch icons and dark tabs need special handling?
A logo that looks sharp on a white desktop tab can vanish in dark mode or render with black corners on an iPhone home screen. Inspecting both Light browser tab and Dark browser tab previews catches visibility issues before you publish.
Opaque background matte for iOS home screen icons
Apple’s home screen strips alpha transparency from apple-touch-icon.png and fills transparent pixels with black. Keeping Opaque background on iOS apple-touch-icon checked composites your logo onto your chosen backdrop color (or #ffffff for non-square badges) at 180×180 px while leaving desktop favicon.ico and icon.svg transparent.
Testing dark mode tab contrast and 0 to 25 percent safe-zone margins
Dark-colored monograms often disappear against dark browser chrome (#18181a). Enabling Solid background on all icons places a consistent matte behind every size, while the Safe-zone margin slider adds 0% to 25% padding (default 8%) so Android adaptive masks never clip logo edges. If your source image needs circular framing before generating icons, prepare it with the circle crop image tool.
Tip: Keep important badge initials or logo marks inside the center 80% of the canvas so Android
"any maskable"icons never trim corners when cropped into circles or squircles.
Adding the five modern favicon HTML tags to your public folder
Modern browsers no longer require twenty separate <link> tags for obsolete Windows Tiles or legacy iPad resolutions. Clicking Build favicon package (.zip) packs all icons alongside site.webmanifest and head-tags.html using a background Web Worker so your browser stays responsive.
Unzip favicons.zip into your site’s public/ directory so each file serves from the domain root, then click Copy snippet to paste the <head> tags into your HTML template. Following the MDN Web App Manifests Guide, the <link rel="manifest" href="/site.webmanifest"> tag and <meta name="theme-color"> tag wire up mobile address-bar tinting and home-screen installation automatically.
If you host your site under a subpath rather than the domain root, update each href attribute in head-tags.html and the src paths inside site.webmanifest to match your base URL. Every image, ICO binary, and manifest file is built locally in your browser without uploading brand assets.
If you are launching a new web app or landing page and want printable links to match your freshly branded site, pair your icon package with our QR code generator to export matching SVG or PNG codes locally.