Unicode Escape Converter

Convert readable text into JavaScript-style Unicode escapes or decode escape sequences back into plain text with strict scalar validation.

Escape Direction
Mode
Encode
Input
41
Output
59
Status
Live
Plain Text Source

Paste text and escape non-ASCII characters automatically.

Converts live as you type
Converted Output

41 characters encoded

Unicode Escape59 chars
Workshelve: snowman \u2603, rocket \u{1F680}, and pi \u03C0

Notes

Text mode emits JavaScript-style \\uXXXX escapes for BMP characters and \u{...} for higher code points.

Decode mode accepts common escape forms such as \\n, \\t, \\uXXXX, \u{...}, and \\U.........

Malformed hex digits, missing braces, invalid ranges, and surrogate scalar values are still surfaced as validation errors.

Related Tools