Hexdump

Linux tool that can be used to convert normal text to Hexadecimal.

cat filename.txt | hexdump -e '27/1 "%02x" "\n"'