- Home
- Favicon Generators
- create-favicon
On the recordRead 9 Oct 202615 facts
create-favicon
On the record
- API input
- The API accepts a source file path, a URL, or an image buffer, and returns HTML for linking the generated files.github.com · read 9 Oct 2026
- API inputs
- The API can take a local file path, a URL, or an image buffer as input.github.com · read 9 Oct 2026
- CLI options
- The CLI supports choosing an output directory and base path, overwriting existing files, disabling warnings, and skipping the web manifest.github.com · read 9 Oct 2026
- Distribution
- The README documents installation through npm, npm create, and npx.github.com · read 9 Oct 2026
- Generated files
- Outputs a 32×32 favicon, 180×180 Apple icon, 192×192 and 512×512 Android icons, and web manifest files.github.com · read 9 Oct 2026
- HTML output
- On success, it outputs the HTML needed to link the generated files.github.com · read 9 Oct 2026
- Input requirement
- The source image must be at least 512×512 pixels; a square SVG is preferred.github.com · read 9 Oct 2026
- License
- The project is licensed under MIT.github.com · read 9 Oct 2026
- Maker
- The repository credits Espen Hovlandsdal as the author.github.com · read 9 Oct 2026
- Purpose
- Creates a minimal set of favicon variations from a source image for most environments.github.com · read 9 Oct 2026
- Runtime requirement
- Requires Node.js 22 or later.github.com · read 9 Oct 2026
- SVG output
- When the source is an SVG, it also generates an SVG icon for modern browsers that supports dark mode.github.com · read 9 Oct 2026
- SVG support
- When the source is SVG, it also generates an SVG icon for modern browsers that supports dark mode.github.com · read 9 Oct 2026
- Usage options
- The project is available as a command-line tool and as a JavaScript API.github.com · read 9 Oct 2026
- Ways to use
- It is available as a command-line tool and as a JavaScript API.github.com · read 9 Oct 2026