Encoding/decoding

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/HEX/ROT13 encoding and decoding

# 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'	

Last updated