Unicode Inspector
Text that looks identical can hide a zero-width space, a non-breaking space or a character that reverses the reading order. Paste it and see every character, its code, how many bytes it takes and which ones are invisible.
Code points
17
13 symbols · 20 UTF-16 units · 34 UTF-8 bytes
4 hidden or special character(s) found; they are marked in the table.
| Char | Code | UTF-8 | UTF-16 | Note |
|---|---|---|---|---|
| C | U+0043 | 43 | 0043 | |
| a | U+0061 | 61 | 0061 | |
| f | U+0066 | 66 | 0066 | |
| é | U+00E9 | C3 A9 | 00E9 | |
| U+0020 | 20 | 0020 | ||
| · | U+00A0 | C2 A0 | 00A0 | No-break space |
| · | U+200B | E2 80 8B | 200B | Zero-width space |
| m | U+006D | 6D | 006D | |
| e | U+0065 | 65 | 0065 | |
| n | U+006E | 6E | 006E | |
| u | U+0075 | 75 | 0075 | |
| U+0020 | 20 | 0020 | ||
| 👨 | U+1F468 | F0 9F 91 A8 | D83D DC68 | |
| · | U+200D | E2 80 8D | 200D | Zero-width joiner |
| 👩 | U+1F469 | F0 9F 91 A9 | D83D DC69 | |
| · | U+200D | E2 80 8D | 200D | Zero-width joiner |
| 👧 | U+1F467 | F0 9F 91 A7 | D83D DC67 |
How it works
- Paste or type the text you want to look at.
- Read the totals: characters, visible symbols, UTF-16 units and UTF-8 bytes.
- Check the table for flagged rows: invisible, space-like or direction-changing characters.
- Copy the code points if you need them for a bug report or a regular expression.
What people use it for
A value that “looks the same” but does not match
Find the non-breaking space or zero-width character that stops a copied word from matching.
Counting bytes
See how many bytes a text takes in UTF-8 before it goes into a field with a size limit.
Checking an emoji
See how one family emoji is five code points joined by invisible connectors.
Questions
- What is the difference between the counts?
- Code points are the characters of the Unicode standard (é is one). UTF-16 units are what JavaScript counts as length: an emoji takes two. UTF-8 bytes are what is stored in most files and sent over the web: é takes two, an emoji four. Symbols (graphemes) are what a reader sees as one character: a family emoji is one symbol made of five code points.
- Which characters are flagged?
- Zero-width spaces and joiners, the byte order mark, non-breaking and other special spaces, soft hyphens, direction marks and controls that can reorder text, variation selectors, control characters, private-use characters, lone surrogates and the replacement character. Line feeds and tabs are listed but not counted as problems. The list is a reading aid, not a security scanner.
- Why are there no character names?
- A table of names for every character is a large database and would slow the page down. The code, for example U+00E9, is enough to look a character up in any Unicode chart.
- How much text is read?
- The totals count the whole text, up to 300,000 characters. The table shows the first 2,000 characters. Nothing is sent or stored.