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
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.
- 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
- 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
- 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
- é
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
- 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
- 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
- а
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
- 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
- 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
- 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
- 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
- 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
- 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
- 👨👩👧
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.
| Form | Result | Code points | UTF-8 bytes |
|---|---|---|---|
| NFC | Café pаypal⟦ZWSP⟧ 👨⟦ZWJ⟧👩⟦ZWJ⟧👧Differs from the input | 18 | 35 |
| NFD | Café pаypal⟦ZWSP⟧ 👨⟦ZWJ⟧👩⟦ZWJ⟧👧Same as the input | 19 | 36 |
| NFKC | Café pаypal⟦ZWSP⟧ 👨⟦ZWJ⟧👩⟦ZWJ⟧👧Differs from the input | 18 | 35 |
| NFKD | Café pаypal⟦ZWSP⟧ 👨⟦ZWJ⟧👩⟦ZWJ⟧👧Same as the input | 19 | 36 |
Cleaned text
Removed 1 invisible character.
The example, code point by code point
| Code point | Name | UTF-8 bytes | UTF-16 units | HTML | Category | Script |
|---|---|---|---|---|---|---|
| U+0043 | not in the curated set | 43 | 0043 | C | Lu (uppercase letter) | Latin |
| U+0061 | LATIN SMALL LETTER A | 61 | 0061 | a | Ll (lowercase letter) | Latin |
| U+0066 | not in the curated set | 66 | 0066 | f | Ll (lowercase letter) | Latin |
| U+0065 | not in the curated set | 65 | 0065 | e | Ll (lowercase letter) | Latin |
| U+0301 | COMBINING ACUTE ACCENT | CC 81 | 0301 | ́ | Mn (nonspacing mark) | Inherited |
| U+0020 | SPACE | 20 | 0020 |   | Zs (space separator) | Common |
| U+0070 | not in the curated set | 70 | 0070 | p | Ll (lowercase letter) | Latin |
| U+0430 | CYRILLIC SMALL LETTER A | D0 B0 | 0430 | а | Ll (lowercase letter) | Cyrillic |
| U+0079 | not in the curated set | 79 | 0079 | y | Ll (lowercase letter) | Latin |
| U+006C | not in the curated set | 6C | 006C | l | Ll (lowercase letter) | Latin |
| U+200B | ZERO WIDTH SPACE | E2 80 8B | 200B | ​ | Cf (format) | Common |
| U+1F468 | MAN | F0 9F 91 A8 | D83D DC68 | 👨 | So (other symbol) | Common |
| U+200D | ZERO WIDTH JOINER | E2 80 8D | 200D | ‍ | Cf (format) | Inherited |
| U+1F469 | WOMAN | F0 9F 91 A9 | D83D DC69 | 👩 | So (other symbol) | Common |
| U+1F467 | GIRL | F0 9F 91 A7 | D83D DC67 | 👧 | So (other symbol) | Common |
Invisible and direction-control characters it flags
| Code point | Short | Name | Kind | Category | Cleaned |
|---|---|---|---|---|---|
| U+00AD | SHY | SOFT HYPHEN | Invisible format character | Cf | Yes |
| U+061C | ALM | ARABIC LETTER MARK | Bidirectional control | Cf | Yes |
| U+180E | MVS | MONGOLIAN VOWEL SEPARATOR | Zero-width character | Cf | Yes |
| U+200B | ZWSP | ZERO WIDTH SPACE | Zero-width character | Cf | Yes |
| U+200C | ZWNJ | ZERO WIDTH NON-JOINER | Joiner (invisible, used inside emoji and some scripts) | Cf | Only if “also remove joiners” is on |
| U+200D | ZWJ | ZERO WIDTH JOINER | Joiner (invisible, used inside emoji and some scripts) | Cf | Only if “also remove joiners” is on |
| U+200E | LRM | LEFT-TO-RIGHT MARK | Bidirectional control | Cf | Yes |
| U+200F | RLM | RIGHT-TO-LEFT MARK | Bidirectional control | Cf | Yes |
| U+202A | LRE | LEFT-TO-RIGHT EMBEDDING | Bidirectional control | Cf | Yes |
| U+202B | RLE | RIGHT-TO-LEFT EMBEDDING | Bidirectional control | Cf | Yes |
| U+202C | POP DIRECTIONAL FORMATTING | Bidirectional control | Cf | Yes | |
| U+202D | LRO | LEFT-TO-RIGHT OVERRIDE | Bidirectional control | Cf | Yes |
| U+202E | RLO | RIGHT-TO-LEFT OVERRIDE | Bidirectional control | Cf | Yes |
| U+2060 | WJ | WORD JOINER | Zero-width character | Cf | Yes |
| U+2061 | — | FUNCTION APPLICATION | Invisible format character | Cf | Yes |
| U+2062 | — | INVISIBLE TIMES | Invisible format character | Cf | Yes |
| U+2063 | — | INVISIBLE SEPARATOR | Invisible format character | Cf | Yes |
| U+2064 | — | INVISIBLE PLUS | Invisible format character | Cf | Yes |
| U+2066 | LRI | LEFT-TO-RIGHT ISOLATE | Bidirectional control | Cf | Yes |
| U+2067 | RLI | RIGHT-TO-LEFT ISOLATE | Bidirectional control | Cf | Yes |
| U+2068 | FSI | FIRST STRONG ISOLATE | Bidirectional control | Cf | Yes |
| U+2069 | PDI | POP DIRECTIONAL ISOLATE | Bidirectional control | Cf | Yes |
| U+FEFF | BOM | ZERO WIDTH NO-BREAK SPACE (byte order mark) | Byte order mark / zero-width no-break space | Cf | Yes |
What the four normalization forms do
| Input | NFC | NFD | NFKC | NFKD |
|---|---|---|---|---|
| é written as e + combining acute (U+0065 U+0301) | U+00E9 | U+0065 U+0301 | U+00E9 | U+0065 U+0301 |
| é as one precomposed character (U+00E9) | U+00E9 | U+0065 U+0301 | U+00E9 | U+0065 U+0301 |
| fi ligature (U+FB01) | U+FB01 | U+FB01 | U+0066 U+0069 | U+0066 U+0069 |
| ² superscript two (U+00B2) | U+00B2 | U+00B2 | U+0032 | U+0032 |
| Å angstrom sign (U+212B) | U+00C5 | U+0041 U+030A | U+00C5 | U+0041 U+030A |
The normalization forms in one line each
| Form | What it does |
|---|---|
| NFC | Canonical composition: combines base letters and marks into single code points where it can. |
| NFD | Canonical decomposition: splits precomposed characters into a base letter plus combining marks. |
| NFKC | Compatibility composition: also folds look-alike variants (ligatures, superscripts, full-width forms), then composes. |
| NFKD | Compatibility decomposition: folds variants, then decomposes. |
How to inspect the characters in a piece of text
- Paste the text. Type or paste into the box. The example is selected when you click into it, so pasting replaces it.
- Read the warnings. Invisible and direction-control characters and mixed-script words are listed first, with their code points.
- 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.
- 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.
- 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
- Unicode Technical Report #39: Unicode Security Mechanisms (confusables, mixed-script detection)
- Unicode Standard Annex #15: Unicode Normalization Forms
- Unicode Standard Annex #29: Unicode Text Segmentation (grapheme clusters)
- Unicode Standard Annex #44: Unicode Character Database (general category, script)
- Unicode Standard Annex #9: Unicode Bidirectional Algorithm (embedding, override and isolate controls)
- ECMAScript: Unicode property escapes in regular expressions (MDN)
- ECMAScript Internationalization API: Intl.Segmenter (MDN)
More free tools
- Text to Binary ConverterConvert text to binary, hex, octal or decimal bytes and back. UTF-8 by default (é is 2 bytes, an emoji 4) or UTF-16, with a per-character breakdown.
- SMS Character CounterCount SMS segments: GSM-7 (160 / 153) or UCS-2 (70 / 67), characters left, and which characters force UCS-2, with a one-click GSM-friendly fix.
- JavaScript Key Code FinderPress any key to see event.key, event.code, the legacy keyCode and which, location and modifiers, plus a copy-ready JavaScript snippet. Common keys table.
- ASCII TableAll 128 ASCII codes with decimal, hex, octal, binary, character, HTML entity and control-character names. Look up a character, number or name like tab.
- Text CleanerClean pasted text: trim lines, collapse spaces, drop blank lines, join line breaks, straighten smart quotes, strip hidden characters and tags, with counts.
- Base32, Base58 & Base85Encode and decode Base32, Crockford Base32, Base58, Base58Check, Ascii85 and Z85 from text or hex bytes, with exact error positions. Runs in your browser.
More: Encoding and number systemsAll developer toolsAll toolsHome & DIY calculators