All tools/Encoding

Unicode Escape Converter

Convert text to \uXXXX escapes and back. Runs entirely in your browser.

How this works & FAQ

Encode leaves plain ASCII characters untouched and converts everything else (accented letters, emoji, CJK text) into \uXXXX escape sequences, the format used in JS and JSON string literals. Decode reverses that.

Why do some emoji show as two escapes?

Characters outside the Basic Multilingual Plane (like many emoji) are represented in JavaScript as a surrogate pair — two \uXXXX units — which is standard UTF-16 behavior.