Skip to main content
ponderloop

Unicode Character Inspector

To inspect a Unicode character, paste it and read its code point (U+XXXX), its UTF-8 bytes and UTF-16 code units, its escapes and its category and script. The example below (“Café” written with a combining accent, “pаypal” with a Cyrillic а, a zero-width space and a family emoji joined with zero-width joiners) has 14 graphemes, 19 code points, 36 UTF-8 bytes and 22 UTF-16 code units: an accent and every person in the emoji are separate code points inside one grapheme. It also flags what you cannot see (the zero width space) and the Latin/Cyrillic mixed-script word “pаypal”, a typical homograph trick. The tool compares NFC, NFD, NFKC and NFKD and copies the text with invisible characters removed. Nothing leaves your browser.

Updated Runs in your browser: nothing you enter is uploadedHow this tool works

Stays in your browser

Your text is processed on this device and never uploaded. It is not saved either: reload the page and it is gone.

Summary and warnings

14 graphemes, 19 code points, 36 UTF-8 bytes and 22 UTF-16 code units.

  • 1 invisible or direction-control character: 1× ZWSP zero width space (U+200B). They do not show but still count as characters.
  • Mixed scripts in “pаypal”: Latin and Cyrillic. “а” (U+0430, Cyrillic) looks like Latin “a”.

Character by character

Each grapheme (what a reader sees as one character) with the code points inside it. Invisible characters show as markers such as ZWSP. Names are shown for a small curated set only.

  1. C

    Character 1: 1 code point

    U+0043

    Code point
    U+0043
    UTF-8 bytes
    43
    UTF-16 units
    0043
    HTML
    C
    CSS
    \0043
    JavaScript
    \u{43}
    Category
    Lu (uppercase letter)
    Script
    Latin
  2. a

    Character 2: 1 code point

    U+0061LATIN SMALL LETTER A

    Code point
    U+0061
    UTF-8 bytes
    61
    UTF-16 units
    0061
    HTML
    a
    CSS
    \0061
    JavaScript
    \u{61}
    Category
    Ll (lowercase letter)
    Script
    Latin
    Name
    LATIN SMALL LETTER A
  3. f

    Character 3: 1 code point

    U+0066

    Code point
    U+0066
    UTF-8 bytes
    66
    UTF-16 units
    0066
    HTML
    f
    CSS
    \0066
    JavaScript
    \u{66}
    Category
    Ll (lowercase letter)
    Script
    Latin
  4. é

    Character 4: 2 code points in one grapheme

    U+0065

    Code point
    U+0065
    UTF-8 bytes
    65
    UTF-16 units
    0065
    HTML
    e
    CSS
    \0065
    JavaScript
    \u{65}
    Category
    Ll (lowercase letter)
    Script
    Latin

    U+0301COMBINING ACUTE ACCENT

    Code point
    U+0301
    UTF-8 bytes
    CC 81
    UTF-16 units
    0301
    HTML
    ́
    CSS
    \0301
    JavaScript
    \u{301}
    Category
    Mn (nonspacing mark)
    Script
    Inherited
    Name
    COMBINING ACUTE ACCENT
  5. space

    Character 5: 1 code point

    U+0020SPACE

    Code point
    U+0020
    UTF-8 bytes
    20
    UTF-16 units
    0020
    HTML
     
    CSS
    \0020
    JavaScript
    \u{20}
    Category
    Zs (space separator)
    Script
    Common
    Name
    SPACE
  6. p

    Character 6: 1 code point

    U+0070

    Code point
    U+0070
    UTF-8 bytes
    70
    UTF-16 units
    0070
    HTML
    p
    CSS
    \0070
    JavaScript
    \u{70}
    Category
    Ll (lowercase letter)
    Script
    Latin
  7. а

    Character 7: 1 code point

    U+0430CYRILLIC SMALL LETTER A

    Code point
    U+0430
    UTF-8 bytes
    D0 B0
    UTF-16 units
    0430
    HTML
    а
    CSS
    \0430
    JavaScript
    \u{430}
    Category
    Ll (lowercase letter)
    Script
    Cyrillic
    Name
    CYRILLIC SMALL LETTER A
  8. y

    Character 8: 1 code point

    U+0079

    Code point
    U+0079
    UTF-8 bytes
    79
    UTF-16 units
    0079
    HTML
    y
    CSS
    \0079
    JavaScript
    \u{79}
    Category
    Ll (lowercase letter)
    Script
    Latin
  9. p

    Character 9: 1 code point

    U+0070

    Code point
    U+0070
    UTF-8 bytes
    70
    UTF-16 units
    0070
    HTML
    p
    CSS
    \0070
    JavaScript
    \u{70}
    Category
    Ll (lowercase letter)
    Script
    Latin
  10. a

    Character 10: 1 code point

    U+0061LATIN SMALL LETTER A

    Code point
    U+0061
    UTF-8 bytes
    61
    UTF-16 units
    0061
    HTML
    a
    CSS
    \0061
    JavaScript
    \u{61}
    Category
    Ll (lowercase letter)
    Script
    Latin
    Name
    LATIN SMALL LETTER A
  11. l

    Character 11: 1 code point

    U+006C

    Code point
    U+006C
    UTF-8 bytes
    6C
    UTF-16 units
    006C
    HTML
    l
    CSS
    \006C
    JavaScript
    \u{6C}
    Category
    Ll (lowercase letter)
    Script
    Latin
  12. ZWSP

    Character 12: 1 code point

    U+200BZERO WIDTH SPACEHidden: Zero-width character

    Code point
    U+200B
    UTF-8 bytes
    E2 80 8B
    UTF-16 units
    200B
    HTML
    ​
    CSS
    \200B
    JavaScript
    \u{200B}
    Category
    Cf (format)
    Script
    Common
    Name
    ZERO WIDTH SPACE
  13. space

    Character 13: 1 code point

    U+0020SPACE

    Code point
    U+0020
    UTF-8 bytes
    20
    UTF-16 units
    0020
    HTML
     
    CSS
    \0020
    JavaScript
    \u{20}
    Category
    Zs (space separator)
    Script
    Common
    Name
    SPACE
  14. 👨‍👩‍👧

    Character 14: 5 code points in one grapheme

    U+1F468MAN

    Code point
    U+1F468
    UTF-8 bytes
    F0 9F 91 A8
    UTF-16 units
    D83D DC68
    HTML
    👨
    CSS
    \1F468
    JavaScript
    \u{1F468}
    Category
    So (other symbol)
    Script
    Common
    Name
    MAN

    U+200DZERO WIDTH JOINERJoiner (invisible, used inside emoji and some scripts)

    Code point
    U+200D
    UTF-8 bytes
    E2 80 8D
    UTF-16 units
    200D
    HTML
    ‍
    CSS
    \200D
    JavaScript
    \u{200D}
    Category
    Cf (format)
    Script
    Inherited
    Name
    ZERO WIDTH JOINER

    U+1F469WOMAN

    Code point
    U+1F469
    UTF-8 bytes
    F0 9F 91 A9
    UTF-16 units
    D83D DC69
    HTML
    👩
    CSS
    \1F469
    JavaScript
    \u{1F469}
    Category
    So (other symbol)
    Script
    Common
    Name
    WOMAN

    U+200DZERO WIDTH JOINERJoiner (invisible, used inside emoji and some scripts)

    Code point
    U+200D
    UTF-8 bytes
    E2 80 8D
    UTF-16 units
    200D
    HTML
    ‍
    CSS
    \200D
    JavaScript
    \u{200D}
    Category
    Cf (format)
    Script
    Inherited
    Name
    ZERO WIDTH JOINER

    U+1F467GIRL

    Code point
    U+1F467
    UTF-8 bytes
    F0 9F 91 A7
    UTF-16 units
    D83D DC67
    HTML
    👧
    CSS
    \1F467
    JavaScript
    \u{1F467}
    Category
    So (other symbol)
    Script
    Common
    Name
    GIRL

Normalization forms

The same text in each Unicode normalization form (UAX #15), with its code point and UTF-8 byte counts.

FormResultCode pointsUTF-8 bytes
NFCCafé pаypal⟦ZWSP⟧ 👨⟦ZWJ⟧👩⟦ZWJ⟧👧Differs from the input1835
NFDCafé pаypal⟦ZWSP⟧ 👨⟦ZWJ⟧👩⟦ZWJ⟧👧Same as the input1936
NFKCCafé pаypal⟦ZWSP⟧ 👨⟦ZWJ⟧👩⟦ZWJ⟧👧Differs from the input1835
NFKDCafé pаypal⟦ZWSP⟧ 👨⟦ZWJ⟧👩⟦ZWJ⟧👧Same as the input1936

Cleaned text

Removed 1 invisible character.

The example, code point by code point

Each distinct code point of the example text with the same values the tool shows. Names appear only for the small curated set the tool knows.
Code pointNameUTF-8 bytesUTF-16 unitsHTMLCategoryScript
U+0043not in the curated set430043CLu (uppercase letter)Latin
U+0061LATIN SMALL LETTER A610061aLl (lowercase letter)Latin
U+0066not in the curated set660066fLl (lowercase letter)Latin
U+0065not in the curated set650065eLl (lowercase letter)Latin
U+0301COMBINING ACUTE ACCENTCC 810301́Mn (nonspacing mark)Inherited
U+0020SPACE200020 Zs (space separator)Common
U+0070not in the curated set700070pLl (lowercase letter)Latin
U+0430CYRILLIC SMALL LETTER AD0 B00430аLl (lowercase letter)Cyrillic
U+0079not in the curated set790079yLl (lowercase letter)Latin
U+006Cnot in the curated set6C006ClLl (lowercase letter)Latin
U+200BZERO WIDTH SPACEE2 80 8B200B​Cf (format)Common
U+1F468MANF0 9F 91 A8D83D DC68👨So (other symbol)Common
U+200DZERO WIDTH JOINERE2 80 8D200D‍Cf (format)Inherited
U+1F469WOMANF0 9F 91 A9D83D DC69👩So (other symbol)Common
U+1F467GIRLF0 9F 91 A7D83D DC67👧So (other symbol)Common

Invisible and direction-control characters it flags

Zero-width, bidirectional, soft-hyphen and byte order mark characters. The general category is computed with a RegExp property escape, and “Cleaned” says whether Copy cleaned text removes it.
Code pointShortNameKindCategoryCleaned
U+00ADSHYSOFT HYPHENInvisible format characterCfYes
U+061CALMARABIC LETTER MARKBidirectional controlCfYes
U+180EMVSMONGOLIAN VOWEL SEPARATORZero-width characterCfYes
U+200BZWSPZERO WIDTH SPACEZero-width characterCfYes
U+200CZWNJZERO WIDTH NON-JOINERJoiner (invisible, used inside emoji and some scripts)CfOnly if “also remove joiners” is on
U+200DZWJZERO WIDTH JOINERJoiner (invisible, used inside emoji and some scripts)CfOnly if “also remove joiners” is on
U+200ELRMLEFT-TO-RIGHT MARKBidirectional controlCfYes
U+200FRLMRIGHT-TO-LEFT MARKBidirectional controlCfYes
U+202ALRELEFT-TO-RIGHT EMBEDDINGBidirectional controlCfYes
U+202BRLERIGHT-TO-LEFT EMBEDDINGBidirectional controlCfYes
U+202CPDFPOP DIRECTIONAL FORMATTINGBidirectional controlCfYes
U+202DLROLEFT-TO-RIGHT OVERRIDEBidirectional controlCfYes
U+202ERLORIGHT-TO-LEFT OVERRIDEBidirectional controlCfYes
U+2060WJWORD JOINERZero-width characterCfYes
U+2061—FUNCTION APPLICATIONInvisible format characterCfYes
U+2062—INVISIBLE TIMESInvisible format characterCfYes
U+2063—INVISIBLE SEPARATORInvisible format characterCfYes
U+2064—INVISIBLE PLUSInvisible format characterCfYes
U+2066LRILEFT-TO-RIGHT ISOLATEBidirectional controlCfYes
U+2067RLIRIGHT-TO-LEFT ISOLATEBidirectional controlCfYes
U+2068FSIFIRST STRONG ISOLATEBidirectional controlCfYes
U+2069PDIPOP DIRECTIONAL ISOLATEBidirectional controlCfYes
U+FEFFBOMZERO WIDTH NO-BREAK SPACE (byte order mark)Byte order mark / zero-width no-break spaceCfYes

What the four normalization forms do

Computed with String.prototype.normalize. The compatibility forms (NFKC, NFKD) also fold look-alike variants, so they can change the meaning of text.
InputNFCNFDNFKCNFKD
é written as e + combining acute (U+0065 U+0301)U+00E9U+0065 U+0301U+00E9U+0065 U+0301
é as one precomposed character (U+00E9)U+00E9U+0065 U+0301U+00E9U+0065 U+0301
fi ligature (U+FB01)U+FB01U+FB01U+0066 U+0069U+0066 U+0069
² superscript two (U+00B2)U+00B2U+00B2U+0032U+0032
Å angstrom sign (U+212B)U+00C5U+0041 U+030AU+00C5U+0041 U+030A

The normalization forms in one line each

FormWhat it does
NFCCanonical composition: combines base letters and marks into single code points where it can.
NFDCanonical decomposition: splits precomposed characters into a base letter plus combining marks.
NFKCCompatibility composition: also folds look-alike variants (ligatures, superscripts, full-width forms), then composes.
NFKDCompatibility decomposition: folds variants, then decomposes.

How to inspect the characters in a piece of text

  1. Paste the text. Type or paste into the box. The example is selected when you click into it, so pasting replaces it.
  2. Read the warnings. Invisible and direction-control characters and mixed-script words are listed first, with their code points.
  3. Go through the characters. Each grapheme (what you see as one character) lists its code points with UTF-8 bytes, UTF-16 units, HTML, CSS and JavaScript escapes, category and script.
  4. Compare the normalization forms. See whether NFC, NFD, NFKC or NFKD would change the text, and how many code points and bytes each form needs.
  5. Copy the cleaned text. Copy cleaned text puts the text on the clipboard without zero-width, bidirectional, soft-hyphen and byte order mark characters. Tick the joiner option to remove ZWJ and ZWNJ too.

Frequently asked questions

What is the difference between a character, a code point and a grapheme?
A code point is one number in the Unicode code space, written U+XXXX. A grapheme cluster is what a reader sees as one character, and it can be several code points: “é” can be “e” plus U+0301 (a combining acute accent), and a family emoji is three people joined by two zero-width joiners. The tool splits text into graphemes with Intl.Segmenter (the rules of Unicode UAX #29) and then lists the code points inside each.
How do I find hidden or zero-width characters in text?
Paste the text and look at the warnings. Zero-width space (U+200B), the left-to-right and right-to-left marks (U+200E, U+200F), the embedding, override and isolate controls (U+202A to U+202E and U+2066 to U+2069), the word joiner and the byte order mark (U+FEFF) are all listed with how many times they occur, and each one appears in the character list as a marker such as ZWSP instead of blank space.
What is a homoglyph or confusable character?
A character that looks like another one. The Cyrillic “а” (U+0430) looks like the Latin “a” (U+0061), so “pаypal” with a Cyrillic а is a different string from “paypal”. Unicode Technical Report #39 (Security Mechanisms) describes mixed-script detection: a word whose letters come from more than one script is a warning sign. The tool checks every word for that and names the look-alike for a small curated set of Cyrillic and Greek letters. It does not use the full confusables data, and a word written entirely in one script (all Cyrillic look-alikes, say) is not flagged.
Why are some mixed-script words not flagged?
Some mixes are normal: Japanese text mixes Han, Hiragana and Katakana, Korean mixes Han and Hangul, and Chinese can mix Han and Bopomofo. The tool follows the idea in TR39 and leaves those combinations alone. Digits, punctuation and combining marks belong to no single script and are ignored.
What do NFC, NFD, NFKC and NFKD mean?
They are the four Unicode normalization forms from UAX #15. NFC and NFD are canonical: they treat “é” as one code point or as “e” plus an accent as the same text, composing or decomposing it. NFKC and NFKD also apply compatibility mappings, turning “fi” into “fi” and “²” into “2”. Two strings that look identical can differ in code points until they are normalized, which is why searches and comparisons often normalize first.
Which category and script does the tool report?
The Unicode general category (such as Lu for an uppercase letter, Nd for a decimal digit or Cf for an invisible format character) and the Script property (Latin, Cyrillic, Han and so on), both read with RegExp Unicode property escapes such as \p{L} and \p{Script=Cyrillic}. They come from your browser’s own Unicode data, so a very new character may be reported as unassigned in an older browser. A script outside the tool’s list of about 35 shows as Other.
Why does the tool show names for only some characters?
The full Unicode name list has about 40,000 entries, and bundling it would make the page far larger for little benefit. The tool shows names for a small curated set (59 characters): the invisible and direction-control characters it flags, a few look-alike letters, emoji building blocks and common examples. Every other character still gets its code point, bytes, escapes, category and script.
What does Copy cleaned text remove?
Zero-width space, the left-to-right and right-to-left marks and the other bidirectional controls, the word joiner and invisible math operators, the soft hyphen, the Mongolian vowel separator and the byte order mark. It keeps U+200D (zero-width joiner) and U+200C (zero-width non-joiner) unless you tick the option, because removing them splits emoji sequences and changes how Persian and several Indic scripts are written. Ordinary spaces, tabs, new lines and variation selectors stay.
Why do I see UTF-16 pairs like D83D DE00 for an emoji?
JavaScript strings are sequences of 16-bit code units. A code point above U+FFFF is stored as two of them, a surrogate pair: 😀 (U+1F600) is D83D DE00. In UTF-8 the same character takes four bytes, F0 9F 98 80. The table shows both, using the same encoders as the text to binary tool.
Is my text sent anywhere?
No. Everything runs in your browser and nothing is uploaded or stored; reload the page and the text is gone. The only thing the site records, if you allow analytics, is that a button was used, never any of the text.

How it works

The text is split into grapheme clusters with Intl.Segmenter, which implements the extended grapheme cluster rules of Unicode UAX #29; if a browser lacks it, each code point counts as one cluster. Each cluster is listed as its code points. UTF-8 bytes and UTF-16 code units use the same helpers as the text to binary converter, and the HTML escape (&#x…;) follows the HTML entity tool. CSS escapes are written as a backslash and four or more hex digits, JavaScript escapes as \u{…}. The general category and script are found by testing each code point against RegExp Unicode property escapes (\p{Lu}, \p{Script=Cyrillic} and so on), so no character database is bundled and the answers match the Unicode version of your browser. Names come from a small curated list, not from the full database. Invisible characters are matched against a fixed list (the zero-width, bidirectional, soft hyphen and byte order mark characters) plus any other format or control character; joiners, variation selectors and unusual spaces are noted but not counted as warnings. Mixed-script detection follows the idea in Unicode TR39 §5.1: for each word of letters, marks and digits, the scripts of its characters are compared (Common and Inherited are ignored, and the usual Japanese, Korean and Chinese mixes are allowed). A curated table of Cyrillic and Greek letters that resemble Latin ones adds the “looks like” hint. It is not the complete confusables list and does not catch a word made entirely of one script. The four normalization forms come from String.prototype.normalize (UAX #15), shown with their code point and UTF-8 byte counts. Text beyond the first 200 graphemes is still counted, checked, normalized and cleaned, but not listed.

Sources

More: Encoding and number systemsAll developer toolsAll toolsHome & DIY calculators