# Unicode inspector

List every character in a text with its code point, name, category and UTF-8 bytes, flagging invisible ones.

- Endpoint: `POST https://setget.net/v1/tools/unicode-inspect` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `unicode-inspect`
- Page: https://setget.net/tools/unicode-inspect

## Inputs

- `text` (required, string): The text to inspect. The first 200 characters are listed.

## Example 1

```json
{"input":{"text":"a​é"}}
```

Result:

```json
{"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}]}
```

## Example 2: A Cyrillic letter that looks Latin

```json
{"input":{"text":"рa"}}
```

Result:

```json
{"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}]}
```

**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.
