Last updated ·Published ·By the WiserWork team
Unicode to Hex Converter
See the U+XXXX code point of every character in your text
Type or paste text and this tool splits it into individual characters and shows each one's Unicode code point in the standard U+XXXX form, correctly handling emoji and other characters stored as surrogate pairs.
What is the Unicode to Hex Converter?
Every character Unicode defines has exactly one code point — a number written U+ followed by four or more hex digits. This tool reads your text character by character with Array.from(), which understands surrogate pairs, and prints the code point of each one in a grid, so you can see at a glance which character is which number without opening a full code-point reference.
Key Features
- Splits text into real characters, not raw UTF-16 code units
- Displays each character next to its U+XXXX code point
- Correctly reads astral characters and emoji stored as surrogate pairs
- Copy button grabs the full list of code points as plain text
How It Works
- Type or paste text into the input panel.
- The tool splits it into an array of characters with Array.from(), which respects surrogate pairs.
- Each character's codePointAt(0) is converted to uppercase hex and padded to at least four digits.
- The grid shows the character above its U+XXXX code point; copy the list when you're done.
A Real-World Use Case
A localization file has a string that renders correctly in one font but shows a missing-glyph box in another. Pasting the string here lists every code point in it, making it easy to spot the one character — often a smart quote, an obscure symbol, or an emoji — that the second font doesn't cover.
Frequently Asked Questions
How is this different from Unicode to UTF-8?
This tool shows the code point — the single number Unicode assigns to a character, written as U+XXXX. Unicode to UTF-8 shows something else entirely: the sequence of storage bytes UTF-8 uses to represent that code point, which is usually a different number of digits and a different value.
Does it handle emoji and other characters above U+FFFF correctly?
Yes. The text is split with Array.from, which respects surrogate pairs, so an emoji stored as two UTF-16 code units is still read as a single character with one correct code point, rather than reporting two separate surrogate halves.
Where can I get more detail than just the code point?
Use the Unicode Analyzer, linked below. It takes one character at a time and adds the decimal value, UTF-8 bytes, HTML entity, character name, and JavaScript and CSS escape forms — useful once you've spotted the character you care about here.
Everything runs locally using JavaScript's built-in string and code point methods — nothing you type is sent anywhere.