Developer tools
Unicode scalar inspection and composition
Inspect up to sixteen Unicode code points with UTF-8 bytes, UTF-16 units and numeric HTML references, or compose text from hexadecimal scalar values.
The example values can be changed. Press Calculate to update the result; you can download it as TXT or CSV and collect scenarios in this tab. Nothing is saved or sent automatically.
Result
Method:
Input at most 400 UTF-16 units, no control characters or unpaired surrogate. Each output row at most 500 characters; larger expansions refuse. Processing stays in this page; no external request, automatic storage or rendering input as HTML. Up to sixteen scalar values. Compose with space-separated hex, optional U+ or 0x. Surrogates, overflow, NUL and control text refuse. Code points are not grapheme clusters; no character-name database or invisible-character description.
Decimal results are approximate. Inputs stay in this browser tab.
How it works
Own bounded text transformations: URL contexts, UTF-8 bytes, one-pass entity subset, scalar inspection/composition and basic Greek lookup. Input at most 400 UTF-16 units, no control characters or unpaired surrogate. Each output row at most 500 characters; larger expansions refuse. Processing stays in this page; no external request, automatic storage or rendering input as HTML. Up to sixteen scalar values. Compose with space-separated hex, optional U+ or 0x. Surrogates, overflow, NUL and control text refuse. Code points are not grapheme clusters; no character-name database or invisible-character description.
Worked example
With these example values the calculator gives the result below. You can change any value in the form above.
Inputs
- Operation
- Inspect text code points
- Text: at most sixteen code points
- Aä🚀
Result
- Code point count
- 3
- UTF-16 code units
- 4
- UTF-8 bytes
- 7
- Code point 1: hex / decimal / byte and unit values
- U+0041 | 65 | UTF-8 41 | UTF-16 0041 | A
- Code point 2: hex / decimal / byte and unit values
- U+00E4 | 228 | UTF-8 C3 A4 | UTF-16 00E4 | ä
- Code point 3: hex / decimal / byte and unit values
- U+1F680 | 128640 | UTF-8 F0 9F 9A 80 | UTF-16 D83D DE80 | 🚀
Frequently asked questions
How do I find the UTF-8 bytes of a character?
Enter the text in inspect mode. The Unicode scalar inspector lists up to sixteen code points with their UTF-8 bytes, UTF-16 units and numeric HTML references.
How do I turn hexadecimal code points into text?
Use compose mode and enter space-separated hex values, optionally with U+ or 0x, for example U+0041 0xE4 1F680. The tool composes the matching text.
How many characters can be inspected at once?
Up to sixteen Unicode scalar values. The input can have at most 400 UTF-16 units, and each output row at most 500 characters.
Which code points are refused?
Surrogates, values that overflow, NUL and control text are refused, as are unpaired surrogates in the input.
Does the Unicode inspector show character names?
No. It has no character-name database or description of invisible characters, and code points are not the same as grapheme clusters.
Is the inspected text sent anywhere?
No. Processing stays in the page with no external request or automatic storage, and the input is not rendered as HTML.