URL encoding to UTF-16 conversion calculator

→

How URL encoding to UTF-16 conversion works

How URL encoding to UTF-16 conversion works

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

URL encoding: URL encoding (percent-encoding) replaces unsafe characters with a % sign followed by the hexadecimal value of each UTF-8 byte; a + sign is read as a plain plus sign.

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.

Example: Hi%20%C3%A9 in URL encoding is 0048 0069 0020 00E9 in UTF-16.

UTF-16 to URL encoding (Swap units)