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
| # | Char | Code point | Category | Script | UTF-8 | UTF-16 | HTML | JS | CSS |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P | Lu Uppercase letter | Latin | 50 | 0050 | ||||
| 2 | a | Ll Lowercase letter | Latin | 61 | 0061 | ||||
| 3 | y | Ll Lowercase letter | Latin | 79 | 0079 | ||||
| 4 | ZWSP | ZERO WIDTH SPACE | Cf Format | Common | E2 80 8B | 200B | |||
| 5 | p | Ll Lowercase letter | Latin | 70 | 0070 | ||||
| 6 | a | Ll Lowercase letter | Latin | 61 | 0061 | ||||
| 7 | l | Ll Lowercase letter | Latin | 6C | 006C | ||||
| 8 | ␠ | Zs Space separator | Common | 20 | 0020 | ||||
| 9 | c | Ll Lowercase letter | Latin | 63 | 0063 | ||||
| 10 | a | Ll Lowercase letter | Latin | 61 | 0061 | ||||
| 11 | f | Ll Lowercase letter | Latin | 66 | 0066 | ||||
| 12 | é | Ll Lowercase letter | Latin | C3 A9 | 00E9 | ||||
| 13 | ␠ | Zs Space separator | Common | 20 | 0020 | ||||
| 14 | 🇪 | So Other symbol | Common | F0 9F 87 AA | D83C DDEA | ||||
| 14.2 | 🇸 | So Other symbol | Common | F0 9F 87 B8 | D83C DDF8 | ||||
| 15 | ␠ | Zs Space separator | Common | 20 | 0020 | ||||
| 16 | 👩 | So Other symbol | Common | F0 9F 91 A9 | D83D DC69 | ||||
| 16.2 | | Cf Format | Inherited | E2 80 8D | 200D | ||||
| 16.3 | 💻 | So Other symbol | Common | F0 9F 92 BB | D83D DCBB | ||||
| 17 | NBSP | NO-BREAK SPACE | Zs Space separator | Common | C2 A0 | 00A0 | |||
| 18 | t | Ll Lowercase letter | Latin | 74 | 0074 | ||||
| 19 | o | Ll Lowercase letter | Latin | 6F | 006F | ||||
| 20 | t | Ll Lowercase letter | Latin | 74 | 0074 | ||||
| 21 | a | Ll Lowercase letter | Latin | 61 | 0061 | ||||
| 22 | l | Ll Lowercase letter | Latin | 6C | 006C | ||||
| 23 | RLO | RIGHT-TO-LEFT OVERRIDE | Cf Format | Common | E2 80 AE | 202E | |||
| 24 | : | Po Other punctuation | Common | 3A | 003A | ||||
| 25 | ␠ | Zs Space separator | Common | 20 | 0020 | ||||
| 26 | 1 | Nd Decimal digit | Common | 31 | 0031 | ||||
| 27 | 0 | Nd Decimal digit | Common | 30 | 0030 | ||||
| 28 | 0 | Nd Decimal digit | Common | 30 | 0030 | ||||
| 29 | € | Sc Currency symbol | Common | E2 82 AC | 20AC | ||||
| 30 | ␠ | Zs Space separator | Common | 20 | 0020 | ||||
| 31 | – | Pd Dash punctuation | Common | E2 80 93 | 2013 | ||||
| 32 | ␠ | Zs Space separator | Common | 20 | 0020 | ||||
| 33 | р | Ll Lowercase letter | Cyrillic | D1 80 | 0440 | ||||
| 34 | а | Ll Lowercase letter | Cyrillic | D0 B0 | 0430 | ||||
| 35 | y | Ll Lowercase letter | Latin | 79 | 0079 | ||||
| 36 | p | Ll Lowercase letter | Latin | 70 | 0070 | ||||
| 37 | a | Ll Lowercase letter | Latin | 61 | 0061 | ||||
| 38 | l | Ll Lowercase letter | Latin | 6C | 006C |
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
- Paste your text into Text to inspect (or click Example, which contains several hidden characters).
- Read the four counters: graphemes, code points, UTF-16 units and UTF-8 bytes.
- Check the report box. Green means nothing suspicious; amber lists each hidden character type with its count and any mixed-script words.
- Click Copy cleaned text to copy a version with invisible characters removed and odd spaces turned into normal spaces.
- 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.2is 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 CSScontentvalues (\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 probablye+U+0301. Normalise withstr.normalize("NFC")before comparing. - A BOM (
U+FEFF) at the start of a CSV or JSON file often breaks the first column name orJSON.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.
Related tools
- Base64 Encoder/DecoderEncode and decode Base64 strings online
- JWT Decoder & ValidatorDecode JSON Web Tokens (JWT) and inspect their header, payload, claims, and expiry status.
- URL Encoder / DecoderEncode or decode URLs and query string parameters using percent-encoding (RFC 3986).
- Image to Base64Convert images to Base64 encoded strings
- Base64 to Image DecoderDecode Base64 strings back to images. Preview the image live and download it as PNG, JPEG, or WebP.
- HTML Entities EncoderEncode and decode HTML entities
Found a bug or a wrong result? Report it.