# Favicon generator

> Make the ICO, the PNG sizes, the manifest, and the HTML snippet from a picture or letters.

Free favicon generator. Start from an image or up to three letters, then download a ZIP with favicon.ico, the PNG sizes, a web manifest, an HTML snippet, and a Next.js metadata snippet. The pack is built in this browser.

- Page: https://benchline.fabwaseem.com/t/favicon-generator
- Runs: in the browser. Input stays on the device.
- Price: free, no account
- Input: An image or up to three letters, two colors, and an app name.
- Output: A ZIP of icon files, plus the HTML and Next.js metadata snippets.
- Keywords: favicon generator, favicon ico, apple touch icon
- Updated: 2026-10-18
- Built by: Waseem Anjum (https://fabwaseem.com)

## How to use it

1. **Add an image or letters.** Drop a picture, or type a short mark and pick the colors.
2. **Name the app.** The name is written into the web manifest.
3. **Download the pack.** The ZIP includes the icons and the tags to paste into the page.

## Use it from an AI agent

MCP tool name: `generate_favicon`
MCP endpoint: https://benchline.fabwaseem.com/mcp (Streamable HTTP, no key)
HTTP: POST https://benchline.fabwaseem.com/api/v1/tools/favicon-generator with the input as the JSON body
This call fetches a public URL on the server. Private addresses are refused.

Build a favicon pack from an image or up to three letters. The ZIP contains favicon.ico, PNG sizes, a web manifest, an HTML snippet, and a Next.js metadata snippet. Letters are drawn with a built-in bitmap font so the result does not depend on a system font. Send base64 or a public URL. Private addresses are refused and the decoded file is capped at 10 MB.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "file": {
      "description": "A square-or-any image. Provide file or text.",
      "type": "object",
      "properties": {
        "url": {
          "description": "Public http or https URL. Private and local addresses are refused.",
          "type": "string"
        },
        "data": {
          "description": "Base64 bytes or a data URI. Decoded size is capped at 10 MB.",
          "type": "string"
        },
        "mimeType": {
          "description": "MIME type when you know it.",
          "type": "string"
        },
        "filename": {
          "description": "File name, including the extension when you have one.",
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "text": {
      "description": "Up to three letters drawn as the mark. Provide file or text.",
      "type": "string",
      "maxLength": 8
    },
    "background": {
      "default": "#111111",
      "type": "string"
    },
    "color": {
      "default": "#ffffff",
      "type": "string"
    },
    "name": {
      "default": "App",
      "type": "string",
      "maxLength": 40
    }
  },
  "required": [
    "background",
    "color",
    "name"
  ],
  "additionalProperties": false
}
```

### Example tools/call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "generate_favicon",
    "arguments": {
      "text": "example",
      "background": "#111111",
      "color": "#ffffff",
      "name": "App"
    }
  }
}
```

Setup for Claude, Cursor, and VS Code: https://benchline.fabwaseem.com/mcp/guide

## Questions

### What is in the ZIP?

favicon.ico, PNGs at 16, 32, 48, 180, 192, and 512, site.webmanifest, an HTML snippet, and a Next.js metadata snippet.

### Can I start from letters?

Yes. Type up to three letters. They are drawn on a colored tile. An uploaded image is cropped to a square cover.

### Does the image get uploaded?

No. The sizes are drawn in this browser.

## Related tools

- [Image resizer](https://benchline.fabwaseem.com/t/image-resize): Resize by pixels or percent, with the aspect ratio locked and a batch ZIP.
- [OG image generator](https://benchline.fabwaseem.com/t/og-image-generator): Pick a template, watch the card update, then download the PNG or copy the Next.js file.
- [Color converter](https://benchline.fabwaseem.com/t/color-converter): Turn any color into HEX, RGB, HSL, OKLCH, and CMYK, and check the contrast ratio.
- [SVG optimizer](https://benchline.fabwaseem.com/t/svg-optimizer): Minify an SVG, compare the size, and keep the viewBox unless you turn that off.
