Unicode Character Inspector

Paste any text to see each character's code point, category, UTF-8 and UTF-16 bytes and escapes — and spot invisible or look-alike characters.

Graphemes (visible chars)
38
Code points
41
UTF-16 units (JS length)
45
UTF-8 bytes
67

3 hidden or special characters found:

  • U+200B ZERO WIDTH SPACE — Invisible ×1
  • U+00A0 NO-BREAK SPACE — Unusual space ×1
  • U+202E RIGHT-TO-LEFT OVERRIDE — Text direction control ×1

Mixed-script words (Latin letters combined with Cyrillic or Greek look-alikes): раypal

#CharCode pointCategoryScriptUTF-8UTF-16HTMLJSCSS
1PLu Uppercase letterLatin500050
2aLl Lowercase letterLatin610061
3yLl Lowercase letterLatin790079
4ZWSP
ZERO WIDTH SPACE
Cf FormatCommonE2 80 8B200B
5pLl Lowercase letterLatin700070
6aLl Lowercase letterLatin610061
7lLl Lowercase letterLatin6C006C
8␠Zs Space separatorCommon200020
9cLl Lowercase letterLatin630063
10aLl Lowercase letterLatin610061
11fLl Lowercase letterLatin660066
12éLl Lowercase letterLatinC3 A900E9
13␠Zs Space separatorCommon200020
14🇪So Other symbolCommonF0 9F 87 AAD83C DDEA
14.2🇸So Other symbolCommonF0 9F 87 B8D83C DDF8
15␠Zs Space separatorCommon200020
16👩So Other symbolCommonF0 9F 91 A9D83D DC69
16.2‍Cf FormatInheritedE2 80 8D200D
16.3💻So Other symbolCommonF0 9F 92 BBD83D DCBB
17NBSP
NO-BREAK SPACE
Zs Space separatorCommonC2 A000A0
18tLl Lowercase letterLatin740074
19oLl Lowercase letterLatin6F006F
20tLl Lowercase letterLatin740074
21aLl Lowercase letterLatin610061
22lLl Lowercase letterLatin6C006C
23RLO
RIGHT-TO-LEFT OVERRIDE
Cf FormatCommonE2 80 AE202E
24:Po Other punctuationCommon3A003A
25␠Zs Space separatorCommon200020
261Nd Decimal digitCommon310031
270Nd Decimal digitCommon300030
280Nd Decimal digitCommon300030
29€Sc Currency symbolCommonE2 82 AC20AC
30␠Zs Space separatorCommon200020
31–Pd Dash punctuationCommonE2 80 932013
32␠Zs Space separatorCommon200020
33рLl Lowercase letterCyrillicD1 800440
34аLl Lowercase letterCyrillicD0 B00430
35yLl Lowercase letterLatin790079
36pLl Lowercase letterLatin700070
37aLl Lowercase letterLatin610061
38lLl Lowercase letterLatin6C006C

What the Unicode inspector is for

Two strings that look identical on screen can be completely different underneath. A password that "should" match, a CSV column that will not join, a config key that is "not found", or a link that points to a fake domain are often caused by a character you cannot see: a zero-width space copied from a web page, a byte order mark at the start of a file, a non-breaking space from a word processor, or a Cyrillic а standing in for a Latin a.

This tool breaks text down to individual Unicode code points and tells you exactly what each one is and how it is stored. It is aimed at developers debugging string bugs, content editors cleaning pasted text, and anyone checking a suspicious message or URL.

How to use it

  1. Paste your text into Text to inspect (or click Example, which contains several hidden characters).
  2. Read the four counters: graphemes, code points, UTF-16 units and UTF-8 bytes.
  3. Check the report box. Green means nothing suspicious; amber lists each hidden character type with its count and any mixed-script words.
  4. Click Copy cleaned text to copy a version with invisible characters removed and odd spaces turned into normal spaces.
  5. Use the table for details. Tick Show only flagged characters to focus on problems, and click any code point or escape to copy it.

Worked example

Take the string Hi + zero-width space + café 👍🏽. It looks like eight letters and an emoji, but the inspector reports 10 graphemes, 11 code points, 13 UTF-16 units and 20 UTF-8 bytes, and flags one ZERO WIDTH SPACE. Some of the rows:

#     Char  Code point  Category                 UTF-8        UTF-16
3     ZWSP  U+200B      Cf Format                E2 80 8B     200B
8     é     U+00E9      Ll Lowercase letter      C3 A9        00E9
10    👍    U+1F44D     So Other symbol          F0 9F 91 8D  D83D DC4D
10.2  🏽    U+1F3FD     Sk Modifier symbol       F0 9F 8F BD  D83C DFFD

The thumbs-up and its skin-tone modifier share grapheme number 10, which is why the user sees one emoji while JavaScript'slength reports 4 units for it. Copy cleaned text returns Hi café 👍🏽.

What each column means

  • # — the grapheme (user-perceived character) number; 10.2 is the second code point of grapheme 10.
  • Code point — the character's number in Unicode, written U+ plus hex.
  • Category — the official Unicode General Category, computed with the browser's Unicode property support: letters (L*), marks (M*), numbers (N*), punctuation (P*), symbols (S*), separators (Z*) and other (C*: control, format, surrogate, private use, unassigned).
  • Script — the writing system for common scripts (Latin, Greek, Cyrillic, Han, Arabic…). Common covers digits, punctuation and emoji shared by all scripts; Inherited covers combining marks.
  • UTF-8 / UTF-16 — the exact bytes in a UTF-8 file and the 16-bit units used by JavaScript, Java and Windows strings.
  • HTML / JS / CSS — escapes you can paste into markup (é), JavaScript strings (\u00E9, \u{1F44D}) or CSS content values (\E9).

Flagged groups: invisible (ZWSP, ZWNJ, ZWJ, word joiner, BOM, soft hyphen), text direction controls (LRM, RLM, U+202A–U+202E, U+2066–U+2069 — the characters behind "Trojan Source" attacks), unusual spaces (NBSP, thin, em, ideographic), control characters, tag characters (U+E0000 block, which can smuggle invisible text) and the replacement character � that signals an earlier decoding error.

Limitations

The tool does not include the full Unicode name database, so it names only the special characters it flags; for other characters it shows the code point and category. Category and script data come from your browser, so a very new emoji may show as Cn (unassigned) in an older browser. Confusable detection covers Latin mixed with Cyrillic or Greek inside a word, not every possible look-alike. The table lists the first 3,000 code points and input is capped at 200,000 UTF-16 units.

Tips

  • If "é" === "é" is false, one is probably e + U+0301. Normalise with str.normalize("NFC") before comparing.
  • A BOM (U+FEFF) at the start of a CSV or JSON file often breaks the first column name or JSON.parse.
  • Review code and pull requests containing bidi controls carefully: they can make source code display differently from how it compiles.
  • To turn characters into entities for a web page, use the HTML entity encoder; for URLs, the URL encoder shows the same UTF-8 bytes as %XX.

Frequently Asked Questions

How do I find hidden characters in text?

Paste the text into the inspector. Zero-width spaces, byte order marks, bidirectional controls, soft hyphens, unusual spaces, tag characters and control codes are listed in a warning box and highlighted in the table, and "Copy cleaned text" gives you the text without them.

What information is shown for each character?

For every code point you get its U+XXXX value, Unicode General Category (for example Ll lowercase letter or Cf format), script, UTF-8 bytes, UTF-16 code units and ready-to-copy HTML, JavaScript and CSS escapes. Character names are only shown for invisible and special characters.

Why is the JavaScript length different from the number of characters?

JavaScript's string length counts UTF-16 code units. Emoji and other characters above U+FFFF take two units, and one visible character (a grapheme) can be several code points, such as 👍🏽 or a flag. The summary shows all three counts plus the UTF-8 byte size.

What is a mixed-script word?

A word that combines Latin letters with Cyrillic or Greek letters, such as "раypal" written with a Cyrillic р and а. These look identical to the Latin word and are used in phishing domains and to evade filters, so the tool lists them.

Does it support emoji?

Yes. Text is split into grapheme clusters with Intl.Segmenter, so an emoji with a skin tone or a ZWJ sequence like 👩‍💻 is shown as one numbered character with its component code points underneath. A zero width joiner inside an emoji sequence is not reported as hidden.

Is my text sent to a server?

No. The analysis runs entirely in your browser using its built-in Unicode support. Nothing you paste is uploaded or stored.