Generate a favicon package
generate_faviconGenerates the complete modern favicon set (favicon.ico, icon.svg, apple-touch-icon.png, PWA icons, manifest.webmanifest, favicon-setup.md with the install snippet) from an SVG, an emoji, or short text. Returns a download URL for favicon.zip plus the HTML head snippet to paste. Files follow current best practice: ICO with 16, 32, and 48px layers, a 96px Google Search icon, opaque apple-touch-icon, and a maskable icon with safe-zone padding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pwa | No | Include PWA icons + manifest (default true). | |
| svg | No | Raw SVG markup to use as the icon. The best source when available. | |
| font | No | Typeface for text mode: any Google Fonts family name (e.g. "Bangers", "Bebas Neue", "Press Start 2P"), or a bundled id like inter-800, geist-700, silkscreen-400. | |
| text | No | 1–4 characters rendered as vector glyphs (e.g. a brand initial like "F"). | |
| emoji | No | A single emoji character, rendered with Twemoji vector artwork. | |
| radius | No | Corner rounding: 0 square, ~0.25 rounded, 1 circle. | |
| padding | No | Content inset as a fraction of icon size, -1–0.35. Negative zooms in: the mark scales past the frame and is cropped toward the center (-0.5 renders it at 2x). | |
| app_name | No | App name written into the web manifest. | |
| offset_x | No | Nudge content horizontally, -0.25 (left) to 0.25 (right). | |
| offset_y | No | Nudge content vertically, -0.25 (up) to 0.25 (down). | |
| framework | No | Tailors the setup guide: html, nextjs, vite, astro, rails, wordpress. Next.js App Router uses file conventions, not link tags. | |
| google_96 | No | Emit favicon-96x96.png for Google Search results (default true). | |
| background | No | Icon background: "none" (default), a hex color, or a linear gradient. | |
| monochrome | No | Add a monochrome manifest icon for tinted/badge surfaces. | |
| short_name | No | ||
| text_color | No | Hex glyph color for text mode, default #0a0a0b. | |
| theme_color | No | Hex theme color for the manifest. | |
| env_variants | No | Also emit dev/staging/preview favicon copies with a corner badge. | |
| dynamic_module | No | Add favicon-dynamic.js — badge/progress/spinner with the icon baked in. | |
| dark_background | No | Hex background for a dark-mode variant; icon.svg then adapts to the browser theme. | |
| dark_text_color | No | Hex glyph color for the dark-mode variant (text mode). |