Text to Unicode Escape Converter

Turn text into Java/JS-style \uXXXX escapes or codepoint lists, and decode escapes back to readable text.

Escape formats

BMP characters become \uXXXX; characters above U+FFFF use the ES6 \u{1F600} brace form. Decode accepts \uXXXX, \u{…} and \xNN — ASCII input stays untouched.

Frequently asked questions

Emoji?

Yes — surrogate-pair characters use the \u{codepoint} syntax.

Round trip?

Encode then Decode restores the original text.

Codepoints list?

The U+ notation matches Unicode charts like unicode-table.com.