UNI

Unicode Escape Converter

Convert text and unicode escapes

Encoding
πŸ”’ 100% client-side β€” your data never leaves this page
Maintained by Evanβ€’Updated: September 29, 2026
Options
Unicode Input

Choose escape or unescape first to convert text and Unicode escapes; fine-grained options are available in Advanced mode.

Converted Output
Converted result will appear here
πŸ”’ Processed locally in your browser
Page reading mode

The full guide also includes pitfalls, worked examples, snippets, FAQs, and related tools for checking results or troubleshooting.

About this tool

Convert text to four-digit UTF-16 escape sequences and decode those sequences back into text. Supplementary characters such as emoji use a surrogate pair. Advanced options control escaping ASCII, hex letter case and rejection of incomplete escapes. This is not URL percent encoding or a complete JavaScript/JSON string parser.

Production Snippets

ASCII, a Chinese character and a surrogate pair

text

AδΈ­πŸ˜€
A\u4e2d\ud83d\ude00

Frequently Asked Questions

Why does one emoji produce two escapes?

The output format is \uXXXX per UTF-16 code unit. Both surrogate halves are emitted, so decoding the pair reconstructs the character. This format differs from code-point notation such as \u{1F600}.

What does strict unescape validate?

It rejects a \u prefix not followed by four hexadecimal digits. It does not validate an entire JSON string, combine escape grammars, or reject every unpaired surrogate. Other plain text is retained.

Is input saved?

Conversion stays in the browser. This page saves an input/settings draft in localStorage; Clear removes it. Avoid keeping a draft on a shared browser when the text is private.

Keep browsing