Skip to content
hateitall

Unicode Character Inspector

Find the invisible character breaking your code, the look-alike letter in a domain name, or why a string's length is not what you expect.

Processed locallyIn: TextOut: Report, CSV

Loading tool…

How to use unicode character inspector

  1. Paste the text.

  2. Read the counts: visible characters, code points, UTF-16 units and UTF-8 bytes.

  3. Scroll the list; hidden and bidi characters are highlighted.

  4. Copy the text with hidden characters removed, or download the report as CSV.

What this tool does

  • Groups code points into the characters you see, so a family emoji shows its five parts.
  • Gives category, script, UTF-8 bytes, UTF-16 units and escape forms for every code point.
  • Flags zero-width characters, unusual spaces and bidirectional controls used in Trojan Source attacks.
  • Warns when Latin letters are mixed with Cyrillic or Greek look-alikes.

How the result is verified

The listed code points are joined back together and must rebuild your text exactly, and their UTF-8 sizes must add up to the total byte count.

Frequently asked questions

Why does JavaScript say my one emoji has length 2 or more?

.length counts UTF-16 units. Emoji above U+FFFF take two, and combined emoji such as flags, skin tones or families join several code points with zero width joiners. The counts here show all three measures side by side.

How do I find a zero width space in my code?

Paste the line here. Hidden characters are highlighted with their name, for example U+200B Zero width space, and Copy cleaned text removes them and turns unusual spaces into normal ones.

Is my data uploaded to a server?

No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.

Text to \u escapes, U+ code points and HTML references, and back

Text · Escaped text→ Escaped textLight on device

Text to hex bytes and hex back to text, in five output styles

Text · Hex→ HexLight on device