Decode Unicode escape sequences

Decode Unicode escape notation into the represented characters.

freeworks offlinenothing uploaded
ToolUnicode Unescape
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Unicode escape notation is converted into UTF-16 code units or a Unicode scalar value, depending on whether the source uses four-digit or brace code-point syntax. Valid surrogate pairs combine into one displayed character during rendering.

  • The two forms reflect JavaScript’s UTF-16 model and its code-point extension.

Worked example

Unescape Unicode
Convert Unicode escape sequences to readable characters
Input
											\u0048\u0065\u006C\u006C\u006F
										
Output
												Hello
											

When to use this

ASCII-only source, data fixtures, and surrogate-pair tests decode Unicode escapes.

Edge cases

  • A high surrogate without a matching low surrogate remains lone or invalid.
  • A code point above U+10FFFF must be rejected.
  • Decoding an escape does not normalize equivalent Unicode sequences.

References