Home
Tom Utilities

Unicode Encode / Decode

Encoding & Decoding

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.

  1. Paste text or escapes.
  2. Press Encode or Decode.
  3. 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.