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
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
| Name | Type | Required | What 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.
Related tools
- Identicon and avatar generatorTurn any name, email or ID into a unique avatar: a symmetric 5ร5 identicon or coloured initials, as SVG.
identicon - Social preview card generatorMake a 1200ร630 social preview (Open Graph) card as SVG with a wrapped title, subtitle and site name.
og-card - Placeholder image generatorMake an SVG placeholder image of any size with a centred label, for mock-ups and layouts.
placeholder-image - .gitignore generatorBuild a .gitignore for the languages, editors and operating systems you use, merged without duplicates.
gitignore-generate - ASCII banner text generatorTurn short text into large five-line banner letters for terminals, READMEs, logs and code comments.
ascii-banner - ASCII table generatorRender headers and rows as a box-drawing or plain ASCII table for terminals, logs and code comments.
ascii-table