Unicode Inspector
Inspect code points, grapheme clusters, normalization forms, and scripts.
- Recent results are kept in this browser's local storage until you clear them.
History kept on this device
Recent results are kept in this browser's local storage until you clear them. - Processing happens in this page. No application server receives your input.
Runs in your browser
Processing happens in this page. No application server receives your input.
Input
Normalization forms
Enter text in the input pane to compare NFC, NFD, NFKC, and NFKD normalizations.
Code point breakdown
| Row | Character | Code point | Grapheme | UTF-8 bytes | UTF-16 units | Escape forms | Properties |
|---|---|---|---|---|---|---|---|
| Enter text above to inspect code points and grapheme clusters. | |||||||
What this tool does
Breaks text into grapheme clusters and Unicode code points, shows each code point's hexadecimal scalar value (U+XXXX), UTF-8 byte sequence, UTF-16 code units, and JavaScript/HTML escape forms, flags invisible and bidirectional control characters, and compares the four standard normalization forms (NFC, NFD, NFKC, NFKD) side by side without modifying your input.
Grapheme clusters, code points, and UTF-16 code units
- JavaScript's
string.lengthcounts 16-bit UTF-16 code units, and[...string].lengthcounts Unicode scalar values (code points). Neither equals what a reader sees as a single user-perceived character when combining marks or Zero Width Joiner (U+200D) sequences are present. - This tool uses
Intl.Segmenterwithgranularity: 'grapheme'to report the true grapheme count. For example, a 4-person family ZWJ sequence (U+1F468 U+200D U+1F469 U+200D U+1F467 U+200D U+1F466) is 1 grapheme, 7 code points, 25 UTF-8 bytes, 11 UTF-16 code units.
Invisible and bidirectional control characters
The inspector scans every code point against the 15 invisible and direction-changing characters in the Trojan Source (CVE-2021-42574) and zero-width collision classes (U+200BโU+200F, U+202AโU+202E, U+2066โU+2069, and U+FEFF). When any are present, a warning banner names the exact 1-based row numbers and highlights those rows in the table.
Limits
No character names, blocks, or general categories: those need the Unicode Character Database, which is not shipped. Properties are limited to the fixed probe list below.
- Probed properties (17):
Letter, Number, Punctuation, Symbol, Mark, Whitespace, Emoji, Control, Format, Private use, Unassigned, Latin, Greek, Cyrillic, Han, Arabic, Hebrew. - Interactive code-point table inspection is capped at
10,000code points (inputs above that display a warning and show the first 10,000 characters), with a hard input ceiling of16.0 MB.
Related tools
- Hex / Text Converter (
/text/hex) for raw byte-stream hexadecimal encoding and multi-charsetTextDecoderdecoding. - String Escape / Unescape (
/text/escape) for JSON, JavaScript, C, POSIX shell, and SQL string literal escaping. - Punycode / IDN Converter (
/text/punycode) for IDNxn--domain label conversion and mixed-script detection.
Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.