Unicode Encode / Decode
Convert text to unicode escape sequences and decode sequences back to readable text.
Input
Result
How to use
Working with unicode escapes
Encode turns each character into a backslash u escape. Decode converts those escapes back to characters.
- Paste text or escapes.
- Press Encode or Decode.
- Copy the result.
Frequently asked questions
How are characters above the basic plane handled?
Characters outside the basic multilingual plane use surrogate pairs, exactly as in JSON.
Is uppercase or lowercase used?
Encode produces lowercase hexadecimal digits for compact output.
Related tools
Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to text with full Unicode support.
HTML Escape & Unescape
Escape text for safe HTML output or decode HTML entities back to readable characters.
JSON Escape & Unescape
Escape text into a valid JSON string literal or unescape an escaped JSON string.
URL Encode / Decode
Percent encode text for safe URLs or decode a percent encoded URL back to text.
JWT Decoder
Decode the header and payload of a JSON Web Token without verifying its signature.
Hex to Text
Convert hexadecimal bytes into readable text using UTF-8 decoding.