Unicode Escape
Convert text to Unicode escape sequences or decode them back. Supports \u, \u{}, \x, HTML entities, URL encoding, and U+ code points.
About Unicode Escaping
Unicode escape sequences represent characters using their code point numbers instead of the characters themselves. This is needed when source code, protocols, or file formats can't handle certain characters directly.
\uXXXX is the JavaScript/Java format for Basic Multilingual Plane characters (U+0000 to U+FFFF). Characters above U+FFFF (like emoji) require surrogate pairs or the ES6 \u{XXXXX} syntax. \xXX represents individual UTF-8 bytes. &#xHH; and &#DD; are HTML numeric character references. %XX is URL percent-encoding of UTF-8 bytes.
The character inspector shows the Unicode code point for each character in your text. Everything runs in your browser — no data is sent to any server.