Advertisement

Unicode Inspector

Look inside any text character by character. See code points, UTF-8 and UTF-16 encodings, HTML entities and sneaky invisible characters. Free, instant, private.

Inspect text

Paste text to inspect it character by character.

Characters (0)

Paste text to see its characters.

Advertisement

What you see per character

Every character is broken down into its code point (U+0041 style), its UTF-8 bytes in hex, its numeric HTML entity and its Unicode block. Invisible characters like zero-width spaces, soft hyphens and directional marks are flagged in red with their official names.

Characters are counted as code points, so emoji count as one, not two.

Catching invisible troublemakers

Zero-width and directional characters are invisible in editors but break string comparisons, URLs and code. If two strings look identical yet fail an equality check, paste them here: the culprit shows up flagged in red.

The escape button converts non-ASCII to \uXXXX form for safe pasting into source code, and unescape reverses it.

Unicode Inspector FAQs

What is a code point?
The unique number Unicode assigns to every character, written U+0041 for the letter A. Encodings like UTF-8 are just different ways of storing that number as bytes.
Why do two identical-looking strings not match?
Usually an invisible character: a zero-width space, a non-breaking space instead of a regular one, or a lookalike from another script. This inspector flags them in red.
What does U+FEFF at the start of a file mean?
That is a byte-order mark. It is invisible but counts as a character, and it famously breaks JSON parsing and CSV imports. Strip it before processing.
How do I write a Unicode character in code?
Use the escape button to get \uXXXX form for characters in the basic plane or \UXXXXXXXX for emoji and other supplementary characters, then paste into your source.
Is my text uploaded?
No. Inspection runs character by character in your browser with plain JavaScript. Nothing leaves your device.
Advertisement