Tested tool guide
Tested browser tools
Checked August 16, 2026
What Unicode Encoder / Decoder does, with a checked example
This tool runs the same transformation in both directions. Encode: each character's code point is looked up, and every non-ASCII character is rewritten as \uXXXX, a backslash-u followed by four hex digits, while ordinary letters, digits, and punctuation pass through unchanged. Decode: each \uXXXX found in the text is converted back to the character it names, and everything else is left alone. The surprise is that four hex digits can name nothing above U+FFFF, so emoji come out as surrogate pairs, two escapes for one character, and decoding a lone half of a pair gives the replacement character, not an error.
Worked example
A concrete input and expected output from the current implementation.
->
Expected output
na\u00efve caf\u00e9
ï is code point U+00EF and é is U+00E9, so both become four-digit escapes; every other character in the input is printable ASCII and is copied through unchanged.