Unicode Escape & Unescape
Convert text to Unicode escape sequences like \u0041, or decode escape sequences back to characters.
Features
How to Use
1. Pick Escape or Unescape mode.
2. Paste your text into the input.
3. The result appears on the right — click Copy.
About this tool
Unicode escapes let you write any character using only ASCII, which is useful in source code, JSON, configuration files and HTML where the exact bytes matter. This tool converts text to four formats and back: \uXXXX as used in JavaScript, JSON and Java, where characters beyond U+FFFF such as emoji become surrogate pairs; \UXXXXXXXX with eight hex digits for the full code point, as in Python and C; and the HTML numeric references &#xHHHH; and &#DDDD;. Only non-ASCII characters are escaped, so ordinary letters and digits stay readable. Unescaping recognises the chosen format and turns sequences back into characters, and if you paste escaped text in escape mode, the tool switches direction automatically.