Text X-Ray

Two strings can look identical on screen and be completely different to a computer. Paste text below to see exactly what it is made of — and what is hiding in it.

Try an example:

Four different answers to “how long is this string?” — this is why len() disagrees between languages.

Rendered, with the invisible made visible

Hidden and non-standard characters are shown as labelled chips. Hover any chip for its name.

Grapheme clusters

What a human calls “one character”. Segmented with Intl.Segmenter; a cluster spanning several code points is marked.

Code points

#CharCode pointNameCategoryScriptUTF-8

Normalization

Unicode gives you several ways to spell the same text. Compare or hash strings only after normalizing, usually to NFC.

Encodings & escapes

Cleaned output

Every invisible and bidi-control character removed, everything else untouched.