Input

Mode:

Output

Formatted result will be displayed here

How do you decode Unicode escapes?

Unicode to text decoding walks the input and replaces any \uXXXX sequence with the character at that code point, combining surrogate pairs where they appear so supplementary characters like emoji come out intact. This tool tolerates a mix of escaped and literal content, so you can paste a JSON value or a JavaScript source fragment directly and get the readable form back, including proper handling of \n, \t, and other common control escapes.

Use Cases

Read ASCII-escaped log lines

Old logging pipelines emit non-ASCII as \u escapes; decode to see which language or user the event really came from.

Inspect minified bundles

Production JavaScript often escapes strings for safety. Decode a suspicious literal to understand what it actually contains.

Debug translation files

Resource bundles shipped as escaped text become reviewable once decoded, making typos and wrong characters easy to spot.

Identify lookalike characters

Decoding an escape confirms whether the character is a Latin A or a Cyrillic one, which matters for security reviews.

FAQ

What escape forms are supported?

Standard \uXXXX and ECMAScript \u{XXXXX} for codepoints above the BMP, plus common single-letter escapes like \n and \t.

Does it decode surrogate pairs?

Yes. Two consecutive \uXXXX that form a valid surrogate pair are combined into the astral-plane codepoint they represent.

What if an escape is malformed?

The bad sequence is left intact and a warning is shown so you can track down the source before shipping.

Is the round trip exact?

Yes. Decoding and re-encoding with the same settings reproduces the original input byte-for-byte.