EditSafely

Convert UTF16 to Unicode

Quickly decode UTF16 encoding to Unicode.

Runs on your device, nothing uploaded

Try:

0 chars · 0 lines

Output

Quickly decode UTF16 encoding to Unicode.

Type or paste above to see the result here.

Example: Convert

What you paste never leaves this tab

Convert UTF16 to Unicode is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, the text you paste is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.

  • No upload
  • No length limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Convert UTF16 to Unicode

  1. 1. Paste the UTF-16 code units. Paste the UTF-16 code units you want decoded back to text, as space-separated hex values such as 0041 d83d de00, JavaScript or Java escapes such as \uD83D\uDE00, 0x values, or one unspaced run that splits every 4 digits.
  2. 2. See surrogate pairs reassembled. The tool reads each 16-bit code unit and reassembles surrogate pairs into their full code point. A surrogate without its partner is shown as � with a note naming its position, so broken strings from logs are easy to spot.
  3. 3. Copy the decoded text. Copy the decoded text and use it to confirm what a string of UTF-16 code units actually represents, whether it came from a memory dump, a log, or a spec example.

When to use Convert UTF16 to Unicode

Convert UTF16 to Unicode reverses a list of raw UTF-16 code units back into readable text, correctly reassembling surrogate pairs for characters outside the Basic Multilingual Plane. It is for whenever you have the internal representation and need the human-readable string it stands for.

  • Reading a memory dump or debugger output. A debugger shows a string variable as raw UTF-16 code units instead of the rendered text, and decoding it here confirms exactly what value the variable holds.
  • Verifying a surrogate pair reassembles correctly. You have two UTF-16 code units that should represent a single emoji, and decoding them here confirms whether they combine into the expected character rather than two separate ones.
  • Checking a spec or RFC example. A technical specification shows UTF-16 code units as an example, and decoding them verifies you understand the notation the same way the document's author intended.
  • Recovering text from a Windows API log. A log from a Windows application records a wide string as hexadecimal code units, and decoding them here reveals the actual text without writing a script.

Examples

Convert

Input

0041 0042

Output

AB

Escapes

Input

\uD83D\uDE00

Output

😀

About the Convert UTF16 to Unicode tool

Convert UTF16 to Unicode does its work locally, right in the browser. Quickly decode UTF16 encoding to Unicode. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the Unicode Tools collection on EditSafely, a set of 98 small, focused Unicode utilities that share the same instant, private workspace.

There is nothing to configure. Provide the input and the result appears on its own. 2 worked examples further down the page show exactly what the tool produces for real inputs.

Running locally also makes the tool fast and dependable: results appear as soon as your input does, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Is Convert UTF16 to Unicode free to use?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Is it safe to paste sensitive or confidential data?

Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.

How much text can I process at once?

There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.

Do I need to sign up or install anything?

No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.

How do I use the result?

The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.