Convert ISO Latin 1, UTF-8, UTF-16, UTF-16LE or Base64 text to hex and vice versa |
Settings | Remark |
Text encoding |
If you select conversion "Text -> Hex", the text encoding must match the text you entered in the input box.
For example, if you enter a Chinese text in the input box and select text encoding is "ISO Latin 1", this tool will output a hexadecimal value which will be wrong! You should instead select UTF-8 or UTF-16. If you select conversion "Hex -> Text", the hexadecimal value will be converted to a text using the text encoding you selected. For example: If you convert the hexadecimal value "68656c6c6f20776f726c64" to a text using UTF-16 encoding you get some random Chinese characters. If you instead selected UTF-8, you get the text "hello world". |