LIHA Tools

Unicode Escape Encoder & Decoder

Write text as UTF-16 \uXXXX escapes or decode strict Unicode escape sequences.

Code point notation represents emoji as one \u{...} value.

How to use Unicode escapes

Unicode escapes write UTF-16 code units as \uXXXX sequences, which is common in JavaScript strings. They are notation, not encryption.

Write UTF-16 escapes

Choose Encode to represent every UTF-16 code unit with four uppercase hexadecimal digits. Characters outside the BMP use surrogate-pair escapes.

Decode strict escapes

Choose Decode and enter consecutive \uXXXX sequences. The tool rejects malformed escapes rather than interpreting partial text.