UTF-16 to ASCII codes conversion calculator

→

How UTF-16 to ASCII codes conversion works

How UTF-16 to ASCII codes conversion works

The input is first decoded from UTF-16 to plain text, and the text is then encoded as ASCII codes.

UTF-16: UTF-16 stores each character as one or two 16-bit code units, shown here in hexadecimal (big-endian), with surrogate pairs for characters above U+FFFF.

ASCII codes: ASCII codes are the decimal numbers 0 to 127 that stand for the basic English letters, digits, punctuation marks and control characters.

Example: 0048 0069 in UTF-16 is 72 105 in ASCII codes.

ASCII codes to UTF-16 (Swap units)