Utility workspace

Unicode Text Encoder/Decoder - My Tools

Encode and decode Unicode text as escape sequences, HTML entities, UTF-8 bytes, or URI encoding.

Unicode Text Encoder/Decoder

Convert text into Unicode escape sequences in the \uXXXX format.

How to use

  • First choose a conversion method from the tabs.
  • Paste the text to convert into the input field.
  • To convert ordinary characters to the selected format, click Encode.
  • To restore an encoded value to its original characters, click Decode.

What is Unicode text encoding?

Unicode is an international standard for representing characters from around the world consistently. Each character has a unique code point, which can be encoded in various ways.

Unicode escape (\uXXXX): Represent characters in the \uXXXX format. For example, '한' is represented as \ud55c. It is commonly used to include special characters in string literals.

HTML entity (&#xHHHH;): This safely represents special and non-ASCII characters in HTML documents. &#xHHHH; They use this notation, which the HTML parser interprets correctly.

UTF-8 bytes: Represent the byte sequence produced by UTF-8 encoding a Unicode character in hexadecimal. UTF-8 is variable-length: ASCII uses one byte, while Korean and similar characters use three.

URI encoding (%XX): This is a percent-encoding method for safely transmitting special and non-ASCII characters in URLs. Each byte is represented in the %XX format.