UTF-16 to Base64 conversion calculator

→

How UTF-16 to Base64 conversion works

How UTF-16 to Base64 conversion works

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

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.

Base64: Base64 turns the UTF-8 bytes of the text into 64 safe printable characters, so that data can travel through text-only systems such as email.

Example: 0048 0069 0020 00E9 in UTF-16 is SGkgw6k= in Base64.

Base64 to UTF-16 (Swap units)