Emoji favicon generator

Make an SVG favicon from an emoji or one or two letters, with the ready-to-paste link tag for your page head.

Input

One emoji, or one or two letters or digits.
Colour of the square behind it: hex, a basic colour name, or "transparent".
Letter colour. Chosen for contrast when left out. Emoji keep their own colours.
Outline of the icon.
Width and height of the SVG in pixels. Browsers scale it as needed.

Result

Fill in the input and press Run.

Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.

Use it from code or an agent

curl -s https://setget.net/v1/tools/emoji-favicon \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"S","background":"#2a78d6","shape":"square"}}'
import json, urllib.request

body = {'input': {'text': 'S', 'background': '#2a78d6', 'shape': 'square'}}
request = urllib.request.Request("https://setget.net/v1/tools/emoji-favicon", json.dumps(body).encode(),
                                 {"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/emoji-favicon", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"input":{"text":"S","background":"#2a78d6","shape":"square"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
  "slug": "emoji-favicon",
  "input": {
    "text": "S",
    "background": "#2a78d6",
    "shape": "square"
  }
}
{
  "input": {
    "text": "S",
    "background": "#2a78d6",
    "shape": "square"
  }
}

Endpoint: POST /v1/tools/emoji-favicon. Over MCP: run_tool with slug: "emoji-favicon". Machine-readable: input schema, Markdown. Connect an agent.

Inputs

NameTypeRequiredWhat it does
text string yes One emoji, or one or two letters or digits.
background string no Colour of the square behind it: hex, a basic colour name, or "transparent". Default: "#1e293b".
text_colour string no Letter colour. Chosen for contrast when left out. Emoji keep their own colours.
shape string no Outline of the icon. One of: square, rounded, circle. Default: "rounded".
size integer no Width and height of the SVG in pixels. Browsers scale it as needed. Default: 64. From 16 to 512.

Examples

Input
{
  "text": "S",
  "background": "#2a78d6",
  "shape": "square"
}
Result
{
  "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"64\" height=\"64\" viewBox=\"0 0 100 100\"><rect width=\"100\" height=\"100\" fill=\"#2a78d6\"/><text x=\"50\" y=\"72.4\" font-family=\"Helvetica,Arial,sans-serif\" font-size=\"64\" font-weight=\"bold\" text-anchor=\"middle\" fill=\"#ffffff\">S</text></svg>",
  "width": 64,
  "height": 64,
  "html": "<link rel=\"icon\" href=\"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%20100%20100%22%3E%3Crect%20width%3D%22100%22%20height%3D%22100%22%20fill%3D%22%232a78d6%22%2F%3E%3Ctext%20x%3D%2250%22%20y%3D%2272.4%22%20font-family%3D%22Helvetica%2CArial%2Csans-serif%22%20font-size%3D%2264%22%20font-weight%3D%22bold%22%20text-anchor%3D%22middle%22%20fill%3D%22%23ffffff%22%3ES%3C%2Ftext%3E%3C%2Fsvg%3E\">"
}

An emoji on a dark rounded square

Input
{
  "text": "๐Ÿš€"
}
Result

Different every time. Press the example button above to see one.

Questions

Where do I paste the tag?
Inside the <head> of your page. No image file is needed: the icon lives in the tag itself.
Does every browser show it?
Current Chrome, Edge, Firefox and Opera show SVG favicons. Safari support is partial, so keep a favicon.ico as a fallback if that matters.