How Convert UTF-16 to Unicode Works
Convert UTF-16 to Unicode decodes UTF-16BE and UTF-16LE code units, raw byte pairs, BOM-prefixed streams, and JavaScript `\uD83D\uDE80` surrogate pairs into complete Unicode text.
The Unicode Standard assigns unique scalar code points from U+0000 through U+10FFFF across 17 planes, encompassing over 150,000 characters spanning world scripts, mathematical operators, technical symbols, combining diacritics, and multi-codepoint emoji sequences. Every operation in this utility runs completely client-side inside your browser using native code-point and grapheme-cluster algorithms so surrogate pairs, ZWJ emoji, and combining marks stay intact with zero server latency.
UTF-16 Surrogate Pair Recombination
High Surrogate H in [0xD800..0xDBFF], Low Surrogate L in [0xDC00..0xDFFF] Scalar Code Point = 0x10000 + ((H - 0xD800) << 10) + (L - 0xDC00)
JavaScript, Java, Windows APIs, and .NET store strings internally as UTF-16 code units, so decoding surrogate pairs accurately is critical for emojis and historical scripts.
Worked Reference Examples
| Input | Output | Technical Note |
|---|---|---|
| 0048 0069 0020 D83D DE80 | Hi 🚀 | UTF-16BE + surrogate |
| 48 00 69 00 (LE) | Hi | Windows UTF-16LE |
| 65E5 672C 8A9E | 日本語 | BMP 16-bit CJK |
Practical Developer & Internationalization Workflows
Debugging Windows & Java Memory Dumps
Switch between UTF-16LE (Windows) and UTF-16BE (network/Java) in one click.
Decoding Escaped JSON Surrogates
Paste `\uD83C\uDF0D` pairs to see the exact emoji and scalar code point.
Compatibility, Edge Cases & Best Practices
If a Byte Order Mark (`FE FF` or `FF FE`) is present at the start, endianness is auto-detected and the BOM is stripped cleanly.
Copy verified outputs directly to your clipboard or export them as UTF-8 text files ready for web apps, REST APIs, database migrations, typography tests, and localization pipelines.