Favico

One logo goes in —
38 icons come out.

Favico turns one logo into the complete favicon set your site needs — every icon size, both manifests and a copy-paste HTML snippet. One command, ready to integrate. Less time exporting the same logo, more time finishing the site.

That’s 37 PNGs and one ICO in a single run. Feed it an SVG and every icon starts from a high-resolution render; a 1200×1200 raster fills the full set, and smaller sources still produce every size they can supply — no upscaling, with proportions preserved by default.

Features and usage

Copyright © 2025-2026Igor Maric. All rights reserved.

v0.98.0 Themis • Light and Dark Artwork

  • Name your sources logo.light.svg and logo.dark.svg to generate separate artwork for light and dark backgrounds. The same convention works for raster images; pairs must use the same extension. Browser favicon links select by colour scheme, while other platform integrations keep the default set.
  • The head snippet now includes Open Graph and Twitter metadata for suitable generated images. Replace the clearly marked page text and URL placeholders before publishing.
  • --crop-anchor chooses which edge or corner a crop retains. PNG compression is optimised losslessly by default, keeping the smaller encoding.
  • The local preview includes source snapshots, dimension markers, light/dark checkerboards and mask simulations. Outputs are sorted by platform and size, with responsive samples and full-resolution links.

v0.97.1 Metis • Whole Logos in Wide Icons

Rectangular outputs now fit the whole source image instead of cropping its edges. Twitter cards, Open Graph images and wide Windows tiles keep the complete logo, centred inside the required canvas with the target background filling the margins.

  • The new default, --mode auto, fits rectangular outputs and keeps the centred crop for square icons.
  • Maskable icons retain their safe-zone fitting. Size checks follow the geometry used to render each target, without silently upscaling the artwork.
  • Use explicit --mode crop for the previous cropping behaviour, or --mode fit to preserve the whole image in square icons too.

v0.97.0 Ceres • Image Quality and Safer Generation

This release fixes colour fringes around transparent artwork and tightens input and output checks, without changing the default icon catalogue or CLI flags.

Cleaner image edges

  • Resizing no longer mixes invisible RGB values into visible edges.
  • Light and dark library variants keep opaque Windows and Android margins.
  • Custom target names cannot make the favicon.png alias exceed 32 pixels.

Safer, more predictable output

  • Embedded SVG resources share size and nesting limits. Oversized artwork is rejected before files are written; malformed SVGZ returns invalid-input status.
  • Custom library targets are checked for unsafe names, collisions and unsupported formats. Output directory checks reject user-controlled symlinks.
  • Library format selection, forced upscaling, shapes and padding eligibility now apply consistently. Self-update distinguishes an installed release from no update being needed and recognises Homebrew installations behind executable aliases.

v0.96.7 Psyche • Terminal Demos and Homebrew

Watch the workflow

Eight short terminal recordings take you from installation to generating icons, adjusting artwork, updating and uninstalling Favico. Browse the thumbnails beside the introduction, then select one to play it in an overlay.

  • Three thumbnails stay visible, with arrows to cycle through the recordings.
  • Hover or focus a thumbnail for its title. Each video has playback controls and a text alternative; close it with Escape, Close or the backdrop.

Homebrew through a local tap

Current Homebrew requires formulae to belong to a tap. The installation steps now use local/odd.fyi/favico, with a local tap on your Mac rather than a hosted repository.

  • Follow the Homebrew setup, then install with brew install local/odd.fyi/favico.
  • Download and inspect the current formula before copying it into the tap and running brew upgrade local/odd.fyi/favico. brew update alone does not refresh this local formula.
  • Help, upgrade and removal instructions use the same fully qualified name.

More room around terminal output

Every CLI response now starts and ends with one empty line, separating it from the shell prompt. This includes help, version, errors and plain output; the existing stdout/stderr destinations and exit codes are unchanged.

v0.96.6 Iris • Terminal Updates and Linux

Favico reaches Linux, and direct Mac installations gain a simpler way to stay up to date. This release also brings platform-specific installation guidance and a fuller project timeline.

Update from the terminal

Favico now includes --update: a shorter upgrade path for direct installations, without downloading and copying each new release by hand.

How to update

  • Run favico --update from a user-owned direct macOS Apple Silicon installation to install a newer stable release.
  • Install the first version with self-update support manually. Homebrew users continue to upgrade through Homebrew.
  • System-wide installations continue to use the manual upgrade steps.
  • --check-updates remains read-only. Favicon generation stays offline; updating is a separate, explicit action.

Favico on Linux

The same local favicon workflow is now available for 64-bit Intel and AMD Linux machines, alongside macOS Apple Silicon. Generate the icons, manifests and integration snippet without building Favico from source.

  • The Linux x64 ZIP includes the standalone executable. No particular glibc version is required, and this is not an ARM build.
  • SVG input, previews, background options and vector output work through the same commands as on Mac.
  • Download the Linux ZIP and its matching checksum below the Apple download. Follow the Linux installation steps to verify it and put Favico on your path.
  • Linux upgrades use a fresh download and manual replacement; --update remains Mac-only.

Clearer installation guidance

Installation and maintenance instructions now follow the same path, so you don't have to work out which upgrade or uninstall steps belong to your setup.

  • Guidance runs from download and verification through installation, first use, reference and maintenance.
  • Mac, Linux and Homebrew users get the steps relevant to their installation, including how to upgrade or remove it.
  • Separate Mac and Linux download rows each include a matching checksum link, making it easier to choose and check the right file.

A fuller release timeline

Earlier project milestones now sit below the latest updates, so you can follow how Favico developed without leaving the timeline.

  • Compact historical entries keep the newest release in focus.
  • Version titles pair an asteroid name with a short description of the update; dates stay beside the timeline.
  • Changes are grouped by feature, with a short explanation of what each improvement helps you do.

Improved update safety

Improved release checks help keep updates reliable. Favico checks the release before replacing your installed version and stops if those checks fail.

v0.96.5 Vesta • CLI Rewrite

One logo goes in — 38 icons come out. Browsers, iOS, Android, Windows and PWAs each want their own sizes, and hand-exporting them is a chore. Favico generates the whole set from one image — icons, manifests and an HTML snippet for your <head> — in a single local run.

Favico reads one source image and writes out the set your site needs: PNGs and ICO, Apple touch icons, Android icons, Windows tiles, the manifests, and an HTML snippet. Every icon is downscaled from your artwork, and sizes the source can't supply are skipped and listed in the run output — never silently upscaled.

Why Favico

Every platform wants favicons in its own sizes and shapes, and assembling that set by hand is tedious. Favico reads one image and generates the whole catalogue — each icon downscaled for crisp edges, maskable artwork kept inside the safe zone, and anything the source can't supply reported rather than faked. Predictable files with sensible names, ready to commit.

Who it’s for

  • Front‑end and full‑stack developers who just want their logo in the tab
  • Teams and agencies maintaining many sites with consistent branding
  • Platform engineers who need reproducible, committable assets in CI/CD
  • Anyone who has hand‑exported dozens of icon sizes

At a glance

  • The complete bundle from one source image — sizes the source can't supply are skipped and reported, never upscaled
  • PNG + ICO outputs; platform‑aware sizes across iOS/Android/Windows/Web
  • Vector or raster input: PNG, JPEG, GIF, WebP, BMP, TIFF, and static SVG rendered at the size the set needs
  • Square icons use a centred crop by default; rectangular outputs fit the whole image. Use --mode fit to preserve the whole image in square icons too, or --padding to add margins
  • Platform background defaults, including white Apple backgrounds; set a global, Apple or maskable colour with --background, --apple-background, --maskable-background
  • site.webmanifest, browserconfig.xml, and favicon-integration.html included
  • Offline generation; release-service access is explicit (--check-updates or --update)

Key features

Point it at one image: Favico generates every size the source can supply, resamples each to suit the target, keeps maskable artwork inside the safe zone, and tells you exactly what it wrote.

  • Generates the full size set per platform, limited by source resolution
  • Accepts static SVG logos and renders them at the resolution the catalogue needs
  • Size-appropriate resampling: Lanczos3 for large icons, lighter filters for small ones
  • Dedicated maskable/PWA icons that stay inside the safe circle
  • Choose centre‑crop, letterbox (--mode fit) or stretch, with optional transparent padding

Supported platforms

Favico ships as macOS Apple Silicon and Linux x64 binaries, downloaded directly from this page. Linux updates use the manual installation steps.

Note: Favico does not require design tools or Node.js. It's a standalone binary for your terminal.

Installation

Linux x64

Download the Linux ZIP and its SHA-256 checksum into the same directory. This build is for Intel/AMD 64-bit Linux, not ARM. It uses musl and does not require a particular glibc version.

In that directory, replace VERSION with the downloaded version number. You will need unzip. Inspect the download before replacing an existing installation.

sha256sum -c favico-Linux-x86_64-musl-VERSION.zip.sha256 &&
  unzip favico-Linux-x86_64-musl-VERSION.zip -d favico-VERSION &&
mkdir -p "$HOME/.local/bin" &&
install -m 755 favico-VERSION/favico "$HOME/.local/bin/favico" &&
export PATH="$HOME/.local/bin:$PATH" &&
favico --version

Keep the PATH setting in your shell configuration. To upgrade, repeat these steps with a new download in a fresh directory; --update is not supported on Linux. To uninstall, remove only ~/.local/bin/favico. SVG text uses installed fonts, so artwork containing text can vary between machines.

Choose a manual install below, or skip to Homebrew if you already use it. You only need one installation method.

Downloads are unsigned and not notarised. A checksum detects corruption, not publisher identity. If macOS blocks the executable, review the warning in System Settings → Privacy & Security and approve it only if you trust the download. These installation commands do not remove quarantine.

Download, verify and extract

Download the ZIP archive and its matching SHA-256 checksum. Save both files in the same directory. In Terminal, change to that directory. Replace VERSION in the commands below with the downloaded version number; do not rename the downloaded files.

Verify the checksum, then extract into a new directory. The && prevents extraction if verification fails:

shasum -a 256 -c favico-macOS-AppleSilicon-VERSION.zip.sha256 &&
  unzip favico-macOS-AppleSilicon-VERSION.zip -d favico-VERSION

Continue only if the checksum reports OK and extraction succeeds. Enter the extracted directory, which contains the favico executable:

cd favico-VERSION

Now choose a single-user or system-wide install. Both use this verified executable.

Local install (single user)

Install in your own account without administrator access:

mkdir -p "$HOME/.local/bin"
cp ./favico "$HOME/.local/bin/"
chmod +x "$HOME/.local/bin/favico"
export PATH="$HOME/.local/bin:$PATH"

For future terminals, add the export PATH line to ~/.zshrc once if you use macOS's default Zsh shell. Other shells use their own startup file.

System-wide install (all users)

Alternatively, install in /usr/local/bin for all users. This requires administrator access; make sure /usr/local/bin is on your PATH.

sudo mkdir -p /usr/local/bin
sudo cp ./favico /usr/local/bin/
sudo chmod +x /usr/local/bin/favico

Homebrew (site formula)

If you already use Homebrew, this is an alternative to the manual steps above. The formula downloads the archive and checks its checksum for you. Homebrew requires it to belong to a tap, so create the local local/odd.fyi tap directory once, then download the formula. No hosted repository is needed:

mkdir -p "$(brew --repository)/Library/Taps/local/homebrew-odd.fyi/Formula"
curl --fail --show-error --location https://favico.odd.fyi/homebrew/favico.rb -o favico.rb

Open favico.rb in a text editor and inspect it before running:

cp favico.rb "$(brew --repository local/odd.fyi)/Formula/favico.rb"
brew install local/odd.fyi/favico

The tap has no remote: brew update will not refresh its formula. Download and inspect the current formula again before upgrading.

Verify installation

After completing your chosen method, check that the installed command runs:

favico --version
favico --help

The version should match the release you downloaded. If the command is not found, check your PATH; if macOS blocks it, review the security warning described above.

Quick start

Generate the full set:

favico image.png

Output is written to image-favicons/ beside the source image. Use -o to choose another directory.

Generate from a vector logo into a project directory:

favico logo.svg -o www/public

Copy the generated files into your site's public asset directory if they are not already there, then copy the contents of favicon-integration.html into the page's <head>. By default, the HTML references assets at the site root. For a subdirectory or CDN, set --public-path when generating; -o alone only changes where files are written.

Regenerate an existing set

Inspect the destination first. Use --overwrite only when you intend to replace this run's targets:

favico image.png --overwrite

Other files are not deleted. Older assets not requested by this run are retained and reported; inspect them before deploying. Interrupted runs may leave completed files.

How it works

  • Input image: PNG, JPEG, GIF, WebP, BMP, TIFF, or static SVG. Raster images: min 16px, up to ~50MB.
  • Processing:
    • Mode: auto (default) centre-crops square icons and fits the whole image inside rectangular outputs
    • --mode fit letterboxes the whole image; --mode stretch ignores the aspect ratio
    • --padding <PERCENT> insets the artwork by up to 40 percent per side
    • Maskable icons scale into the safe zone instead of cropping
    • Background: platform defaults, including white Apple backgrounds; set an opaque colour globally or per platform
    • --public-path sets the served asset URL without changing the output directory
    • --preview writes a local contact sheet with light/dark and mask simulations
    • --svg-output adds a normalised favicon.svg (SVG input only) with optional --svg-dark-brightness
    • SVG sources are rendered at the resolution the catalogue needs, so a small coordinate system is not a limit
  • Outputs: the full icon, manifest and integration set — see Generated files below. Sizes the source cannot supply without upscaling are skipped and listed in the run output; an existing site.webmanifest or browserconfig.xml is kept and reported unless --overwrite is set.

Generated files

  • Core icons: favicon.ico, favicon.png, favicon-16x16.png, favicon-32x32.png
  • Additional sizes: favicon-64x64.png, favicon-128x128.png, favicon-192x192.png, favicon-256x256.png, favicon-512x512.png, favicon-1024x1024.png
  • Apple touch icons (various sizes)
  • Android: android-chrome-192x192.png, android-chrome-512x512.png, plus -maskable variants
  • Windows tiles: mstile-*.png
  • Manifests: site.webmanifest, browserconfig.xml
  • Integration: favicon-integration.html (copy‑paste into <head>)
  • Optional: favicon.svg (--svg-output, from SVG input) and favicon-preview.html (--preview)
  • Includes social previews (Open Graph / Twitter)

Examples

Letterbox a wide logo rather than cropping it:

favico banner.png --mode fit

Write into the project's asset directory with extra breathing room:

favico logo.svg -o www/public --padding 12

Generate into a served subdirectory and inspect the results locally:

favico logo.svg -o www/public/assets/icons --public-path /assets/icons/ --preview

Open www/public/assets/icons/favicon-preview.html to inspect this run's icons. The contact sheet is a local preview, not the HTML integration snippet.

CLI reference

Artwork and integration

Available from v0.98.0:

  • Paired artwork: logo.light.svg and logo.dark.svg, or logo.svg and logo.dark.svg, generate separate default and dark sets. Pairing requires the same directory and exact extension; supported rasters use the same convention. Browser favicon links select dark artwork by colour scheme. Apple, PWA, Windows and social integration keeps the default set.
  • --crop-anchor selects center, an edge (top, bottom, left, right) or a corner (top-left, top-right, bottom-left, bottom-right). Fitted and maskable targets remain centred.
  • The commented head snippet includes Open Graph and Twitter metadata for suitable generated images. Replace its page text and URL placeholders before publishing; absolute --public-path URLs are reused, otherwise social image URLs use the placeholder https://example.com.
  • The local preview compares decoded source snapshots with outputs, shows canvas boundaries and skipped/failed files, and links to full-resolution assets. Source snapshots are preview helpers, not extra favicon links.
  • PNG compression is optimised losslessly by default. Decoded pixels stay unchanged and the smaller encoding is retained. Savings depend on the artwork.

Paired artwork cannot be combined with --svg-dark-brightness; a separate dark source replaces brightness adjustment. Explicit background colours apply to both sets.

Source image

  • IMAGE Path to source image (PNG, JPEG, GIF, WebP, BMP, TIFF, SVG). Raster images: min 16px, max ~50MB.

Generation options

  • -o, --output-dir <DIR> Write into DIR instead of <name>-favicons beside the source. Relative explicit paths use the working directory.
  • --mode <auto|crop|fit|stretch> How the source aspect ratio reconciles with each icon shape. Default: auto (crop squares, fit rectangles). Explicit crop crops every ordinary target.
  • --padding <PERCENT> Padding per side, integer 0-40 percent. Selected/platform backgrounds fill the margins. Default: 0.
  • --public-path <PATH_OR_URL> Root-relative or HTTP(S) directory prefix for generated asset references.
  • --background '#RRGGBB' Global opaque icon background and HTML/XML theme/tile colour.
  • --apple-background '#RRGGBB' Apple touch icon background override.
  • --maskable-background '#RRGGBB' Maskable icon background override.
  • --preview Also write the local favicon-preview.html contact sheet.
  • --svg-output Also write favicon.svg from SVG/SVGZ input.
  • --svg-dark-brightness <FACTOR> Dark-theme SVG brightness, 0.1-4; requires --svg-output.
  • --overwrite Replace this run's targets without confirmation; do not delete other files.

Help, version and updates

  • -h, --help Print help. -V, --version Print version.
  • --check-updates Standalone read-only update check; no image or generation options, and nothing is installed.

CI

  • Use exit codes rather than parsing human summaries: 0 means completion (possibly with skips or retained files), 1 means a generation or update-check failure, and 2 means invalid usage or input.
  • Compare the generated file list with the files your site requires. A successful run can skip sizes the source cannot supply.
  • Human generation summaries go to stderr; help and version output go to stdout. Pipes and CI use plain output.

Limitations

  • The CLI generates a fixed catalogue, not a selectable size preset. Use a static SVG or a raster of at least 1200×1200 to supply the full default set; smaller rasters produce fewer sizes.
  • Static SVG is supported; scripts, animation and linked resources are not preserved in SVG export. Raster images are never vectorised.
  • SVG text depends on fonts installed on the machine. Convert text to outlines for consistent results across systems.
  • Background shapes and light/dark raster variants are library-only controls, not CLI options.

Troubleshooting

  • Command not found: check that your chosen installation directory is on PATH, then run favico --version again.
  • macOS blocks the executable: review System Settings → Privacy & Security. Only approve a download you trust; a matching checksum does not establish publisher identity.
  • Image file does not exist: check the path from your current directory. Absolute paths are useful in CI.
  • Artwork is cropped: square icons use a centred crop by default. Use --mode fit to preserve the whole image in every target, then inspect the output with --preview.
  • Sizes are skipped: the raster source is too small for those targets. Use a larger source or a suitable static SVG and generate into a new directory.
  • Icons do not appear on the site: check that the generated files are served at the URLs in favicon-integration.html. Use --public-path for a subdirectory or CDN, then regenerate the references.

Upgrade

Run favico --check-updates to check for a release; it does not install anything.

  • Manual install: download the new ZIP and checksum, then repeat download, verify and extract in a fresh directory. Repeat only the local or system-wide copy commands for your original installation method. This replaces the installed executable, not your generated icons.
  • Homebrew: download and inspect the current site formula again, copy it to "$(brew --repository local/odd.fyi)/Formula/favico.rb", then run brew upgrade local/odd.fyi/favico. brew update alone does not refresh this local tap. If you installed an older standalone formula, create the local tap first and use brew reinstall local/odd.fyi/favico to move the installation to it.

Run favico --version afterwards to confirm the installed version.

Uninstall

Remove only the installation you chose. These commands remove Favico itself, not the icons it generated.

  • Local install: rm "$HOME/.local/bin/favico". Keep the PATH entry if other tools use that directory.
  • System-wide install: sudo rm /usr/local/bin/favico.
  • Homebrew: brew uninstall local/odd.fyi/favico. Optionally run brew untap local/odd.fyi afterwards if no other tools use that tap.

Safety & privacy

Favicon generation runs on your machine, without telemetry or analytics. Release-service access is explicit: --check-updates checks for a release, and --update installs one. Generation writes to the chosen output directory and preserves the source image. SVG input is rendered in-process: linked images, fonts and scripts are never fetched.

This website uses PostHog, shared with odd.fyi, for page views, clicks, performance measurements, error reports and session replay. Inputs are masked; public page text remains visible in recordings. Website analytics do not access the images you process with the CLI.

Support & docs

Copyright © 2025-2026 Igor Maric. All rights reserved.

v0.95.6 Pallas • Simpler Commands

A more focused command line puts the everyday task first: give Favico an image and generate the icons, with fewer options to work through.

  • Simplifies the command-line options around image input, overwriting files and checking for updates.
  • Revises the product documentation to match the simpler workflow.

v0.95.5 Juno • CLI Cleanup

Less presentation machinery, more focus on generating favicons. This update trims the command-line interface and its documentation.

  • Removes JSON reporting and several output-presentation controls.
  • Updates the command reference and examples to reflect the remaining options.

v0.95.4 Hebe • Saved Configuration

Configuration-file support gives repeat runs a place to keep their settings, rather than starting from scratch each time.

  • Adds configuration-file support to the CLI.
  • Adds guidance for missing configuration so setup problems are easier to identify.

v0.95.3 Flora • Website Insights

The website gains usage analytics to help understand how visitors use it, with a follow-up correction to the tracking setup.

  • Adds website analytics and corrects its configuration.
  • This milestone concerns the website, not favicon generation.

v0.95.2 Astraea • First Recorded Build

One source image becomes a collection of website icons. The earliest recorded build already brings generation and integration files together in a Rust command-line tool.

  • Generates favicon images alongside manifests and HTML integration markup.
  • Includes the image-processing library and automated tests behind the CLI.