Unicode Escape Decoder
Decode four-digit Unicode escapes into text, including emoji surrogate pairs. Inspect one decoding pass and copy the result without running code.
Use this result well
- Inputs that matter
- Text or four-digit Unicode escape sequences, with Unicode Escape and the intended Encode/Decode direction selected.
- Output to expect
- Four-digit UTF-16 escapes or the decoded text, including surrogate pairs for characters such as emoji.
- How it works
- Encoding writes each UTF-16 unit as a four-digit escape. Decoding replaces those escapes once; ordinary text remains in place.
- Escape conventions vary between JSON, JavaScript and other formats. This view does not parse an entire source document.
- Keep the original text when exact emoji, combined characters or line endings matter.
- Text input is limited to 2,000,000 UTF-16 units and each result to 20,000,000. Large conversions can be cancelled or retried.
- Chains allow up to 12 steps. Intermediate previews are shortened; Copy retains the complete final result.
Related Tools
Tools you might need next
Convert every UTF-16 unit into a four-digit Unicode escape. Encode letters, line breaks and emoji, preview surrogate pairs, and copy the result.
Strictly decode standard or URL-safe Base64 into UTF-8 text, with explicit malformed-input errors and an untrusted-output security boundary.
Decode one percent-encoded URI or form field component with explicit plus handling, strict malformed-input errors, and inert output.
Reference & details
How it works
Updated September 2026
How it works
Updated September 2026Match four hexadecimal digits
Each matching escape is replaced with the corresponding UTF-16 unit. Other input text remains in its original order.
Keep surrogate pairs together
Two adjacent escapes can restore the pair used by a supplementary character. The view does not repair missing or reversed surrogates.
Decode once
New escape-looking text produced by replacement is left for inspection. The operation does not execute the output or recursively decode it.
Updated: September 2026
Example Scenarios
Decode a letter and a CJK character together.
→ A中
Keep the surrounding text while replacing a four-digit sequence.
→ Name: A
Recover a literal escape-looking sequence without automatically decoding it again.
→ \u0041
FAQ
About Unicode Escape Decoder
Replace four-digit Unicode escapes with their UTF-16 units and read the resulting text. The page opens with Unicode Escape and Decode selected. It performs one text replacement pass and does not parse a complete JSON or JavaScript string.