Char Codes
Inspect every character in a string — codepoint (decimal and hex), UTF-16 unit count, escape sequence. Supports emoji and surrogate pairs.
100% in your browser. Files never uploaded.
7 characters · 8 UTF-16 units · 10 bytes UTF-8
| Char | Codepoint | Hex | UTF-16 | JS escape |
|---|---|---|---|---|
| H | 72 | U+48 | 1 | \u0048 |
| e | 101 | U+65 | 1 | \u0065 |
| l | 108 | U+6C | 1 | \u006c |
| l | 108 | U+6C | 1 | \u006c |
| o | 111 | U+6F | 1 | \u006f |
| ␣ | 32 | U+20 | 1 | \u0020 |
| 👋 | 128075 | U+1F44B | 2 | \u{1f44b} |
How to use
- 1Type or paste textEach character is broken down individually.
- 2Read codepoint and escapeDecimal codepoint, U+XXXX hex, JS escape sequence.