Unicode inspector
List every character in a text with its code point, name, category and UTF-8 bytes, flagging invisible ones.
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/unicode-inspect \
-H 'Content-Type: application/json' \
-d '{"input":{"text":"aé"}}'
import json, urllib.request
body = {'input': {'text': 'a\u200bé'}}
request = urllib.request.Request("https://setget.net/v1/tools/unicode-inspect", 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/unicode-inspect", {
method: "POST",
headers: {"Content-Type": "application/json"},
body: JSON.stringify({"input":{"text":"aé"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
"slug": "unicode-inspect",
"input": {
"text": "aé"
}
}
{
"input": {
"text": "aé"
}
}
Endpoint: POST /v1/tools/unicode-inspect. Over MCP: run_tool with slug: "unicode-inspect".
Machine-readable: input schema, Markdown. Connect an agent.
Inputs
| Name | Type | Required | What it does |
|---|---|---|---|
text |
string | yes | The text to inspect. The first 200 characters are listed. |
Examples
Input
{
"text": "aé"
}Result
{
"count": 3,
"flagged": 1,
"truncated": false,
"characters": [
{
"char": "a",
"codepoint": "U+0061",
"name": "LATIN SMALL LETTER A",
"category": "Ll",
"utf8": "61",
"warning": null
},
{
"char": "",
"codepoint": "U+200B",
"name": "ZERO WIDTH SPACE",
"category": "Cf",
"utf8": "E2 80 8B",
"warning": "Invisible zero-width character."
},
{
"char": "é",
"codepoint": "U+00E9",
"name": "LATIN SMALL LETTER E WITH ACUTE",
"category": "Ll",
"utf8": "C3 A9",
"warning": null
}
]
}A Cyrillic letter that looks Latin
Input
{
"text": "рa"
}Result
{
"count": 2,
"flagged": 1,
"truncated": false,
"characters": [
{
"char": "р",
"codepoint": "U+0440",
"name": "CYRILLIC SMALL LETTER ER",
"category": "Ll",
"utf8": "D1 80",
"warning": "Looks like the Latin letter \"p\" but is a different character."
},
{
"char": "a",
"codepoint": "U+0061",
"name": "LATIN SMALL LETTER A",
"category": "Ll",
"utf8": "61",
"warning": null
}
]
}Questions
- What gets flagged?
- Zero-width and text-direction characters, non-breaking and other unusual spaces, control characters, curly quotes, dash look-alikes, full-width forms and common Cyrillic or Greek letters that look like Latin ones.
- What do the category codes mean?
- They are Unicode general categories: Lu and Ll are upper and lower case letters, Nd is a digit, Zs a space, Cc a control character, Cf an invisible formatting character, Mn a combining mark.
- Is the look-alike check complete?
- No. It covers the most common look-alike letters, not every confusable character in Unicode.
- How do I remove the flagged characters?
- Use the Unicode normaliser with strip_control switched on.
Related tools
- Unicode normaliserNormalise text to NFC, NFD, NFKC or NFKD, and optionally strip accents or invisible characters.
unicode-normalize - Escape and unescape textEscape or unescape text for HTML, URLs, JSON strings, shell commands, regular expressions and CSV fields.
escape-unescape - Word and character counterCount characters, words, lines, sentences, paragraphs and UTF-8 bytes in a text.
text-count - Apply a patchApply a unified diff to a text and get the patched result, with clear errors when a hunk does not fit.
patch-apply - Case converterConvert text between lower, UPPER, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case and more.
case-convert - Extract emails and URLsPull every email address and web link out of a text, and optionally IPv4 addresses and hashtags.
extract-emails-urls