Unicode escape
Convert characters to \uXXXX escape sequences and decode them back to text.
Unicode escape
The Unicode escape tool turns any character into a \uXXXX escape sequence and decodes those sequences back into readable text. Paste an accented name, an emoji or a whole paragraph and every character becomes its four-digit hexadecimal Unicode escape — é becomes \u00e9, and a character above U+FFFF such as an emoji becomes a surrogate pair like \ud83d\ude00, exactly the form a string literal expects in JavaScript, Java or JSON. It is a reliable way to put accented text into source code, config files, HTTP headers or any channel that only survives plain ASCII.
By default the tool escapes only characters above U+007F, so ordinary letters, digits and punctuation stay readable and only accented or non-Latin characters are converted. Turn off "Only non-ASCII characters" and every single character is escaped, which is handy when you need a fully masked or transport-safe form. The output uses lowercase hexadecimal, the convention in most languages.
Decode mode does the reverse. It understands both the fixed \uXXXX form and the ES6 \u{...} form — so \u{1f600} decodes to a grinning emoji just like \ud83d\ude00 — and leaves the surrounding text untouched, so you can paste a whole line of code and only the escapes are converted. If nothing looks like an escape, the text simply comes back unchanged; there is nothing to fix.
Everything runs locally in your browser. Nothing you paste is uploaded, sent to a server or stored — the conversion happens entirely on your device, so even private strings and keys stay with you.