Encoding/decoding
Last updated
Last updated
CyberChef can encode and decode a wide variety of languages. It's especially useful when the encoding technique is unknown, as it offers functionality to automatically detect and decode the encoding method used.
# base64 encode
echo hackthebox | base64
# base64 decode
echo ENCODED_B64 | base64 -d
# hex encode
echo hackthebox | xxd -p
# hex decode
echo ENCODED_HEX | xxd -p -r
# rot13 encode
echo hackthebox | tr 'A-Za-z' 'N-ZA-Mn-za-m'
# rot13 decode
echo ENCODED_ROT13 | tr 'A-Za-z' 'N-ZA-Mn-za-m'